aboutsummaryrefslogtreecommitdiff
path: root/net/haproxy
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2013-10-09 08:24:40 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2013-10-09 08:24:40 +0000
commit34232c71a3dfd4058fad27eb7e1d84f117436a53 (patch)
treeebf2e8018e00b90706de8ed609f33a7272850155 /net/haproxy
parentcc1292b873f6f77fb574cdefff7a4c225208adf9 (diff)
downloadports-34232c71a3dfd4058fad27eb7e1d84f117436a53.tar.gz
ports-34232c71a3dfd4058fad27eb7e1d84f117436a53.zip
Notes
Diffstat (limited to 'net/haproxy')
-rw-r--r--net/haproxy/Makefile8
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/