Changes between Initial Version and Version 1 of Ticket #55577, comment 5
- Timestamp:
- Jan 25, 2018, 2:49:44 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #55577, comment 5
initial v1 4 4 5 5 {{{ 6 if {[variant_isset pcre] && ${prefix} ne ""} {6 if {[variant_isset pcre]} { 7 7 depends_build-append \ 8 8 port:pkgconfig 9 # fetch the flags required for building with the local pcre2 install 10 set CFLAGS "${CFLAGS} [exec ${prefix}/bin/pkg-config --cflags libpcre2-8]" 9 if {[file exists ${prefix}/bin/pkg-config]} { 10 # fetch the flags required for building with the local pcre2 install 11 set CFLAGS "${CFLAGS} [exec ${prefix}/bin/pkg-config --cflags libpcre2-8]" 12 } 11 13 } 12 14 }}} 13 14 (checking $prefix against "" is for portindex but probably redundant, I just make it a habit nowadays.)