diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2013-10-09 08:24:40 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2013-10-09 08:24:40 +0000 |
commit | 34232c71a3dfd4058fad27eb7e1d84f117436a53 (patch) | |
tree | ebf2e8018e00b90706de8ed609f33a7272850155 /net/haproxy | |
parent | cc1292b873f6f77fb574cdefff7a4c225208adf9 (diff) | |
download | ports-34232c71a3dfd4058fad27eb7e1d84f117436a53.tar.gz ports-34232c71a3dfd4058fad27eb7e1d84f117436a53.zip |
Notes
Diffstat (limited to 'net/haproxy')
-rw-r--r-- | net/haproxy/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index 0f94b0cd3af0..8ab2db2c0569 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -14,8 +14,8 @@ LICENSE_COMB= multi CONFLICTS= haproxy-devel-[0-9]* +USES= gmake USE_RC_SUBR= haproxy -USE_GMAKE= yes SUB_FILES= pkg-message MAN1= haproxy.1 @@ -31,16 +31,14 @@ NO_STAGE= yes MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS CC=${CC} -.if ${PORT_OPTIONS:MPCRE} -LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre - .if ${PORT_OPTIONS:MDPCRE} +LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre MAKE_ARGS+= "USE_PCRE=1" .endif .if ${PORT_OPTIONS:MSPCRE} +BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre MAKE_ARGS+= "USE_STATIC_PCRE=1" .endif -.endif do-install: @${INSTALL_PROGRAM} ${WRKSRC}/haproxy ${PREFIX}/sbin/ |