aboutsummaryrefslogtreecommitdiff
path: root/net/haproxy-devel
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-devel
parentcc1292b873f6f77fb574cdefff7a4c225208adf9 (diff)
downloadports-34232c71a3dfd4058fad27eb7e1d84f117436a53.tar.gz
ports-34232c71a3dfd4058fad27eb7e1d84f117436a53.zip
Notes
Diffstat (limited to 'net/haproxy-devel')
-rw-r--r--net/haproxy-devel/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/net/haproxy-devel/Makefile b/net/haproxy-devel/Makefile
index 9b8a58ae874f..261f0456656f 100644
--- a/net/haproxy-devel/Makefile
+++ b/net/haproxy-devel/Makefile
@@ -13,9 +13,9 @@ COMMENT= The Reliable, High Performance TCP/HTTP Load Balancer
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
+USES= gmake
CONFLICTS= haproxy-[1234567890]\*
USE_RC_SUBR= haproxy
-USE_GMAKE= yes
SUB_FILES= pkg-message
MAN1= haproxy.1
@@ -32,16 +32,14 @@ NO_STAGE= yes
MAKE_ARGS= TARGET=freebsd DEFINE=-DFREEBSD_PORTS USE_GETADDRINFO=1 \
USE_ZLIB=1 CC="${CC}" CFLAGS="${CFLAGS}"
-.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
.if ${PORT_OPTIONS:MOPENSSL}
USE_OPENSSL= yes