aboutsummaryrefslogtreecommitdiff
path: root/net/isc-dhcp43-server/Makefile
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-06-11 14:49:59 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-06-11 14:49:59 +0000
commit9f8b4bcde30c0ca3bf6cead5f48aa102536e0e92 (patch)
treec4f78cbaf45ab044db3e157be708afd711a4e841 /net/isc-dhcp43-server/Makefile
parent0533abe3e7aae5c19e0a0ce9c1e82ed5e94f63e8 (diff)
Notes
Diffstat (limited to 'net/isc-dhcp43-server/Makefile')
-rw-r--r--net/isc-dhcp43-server/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/isc-dhcp43-server/Makefile b/net/isc-dhcp43-server/Makefile
index bf1c558bac2a..40ea27a4b2a4 100644
--- a/net/isc-dhcp43-server/Makefile
+++ b/net/isc-dhcp43-server/Makefile
@@ -102,7 +102,8 @@ USE_OPENLDAP= yes
LDAP_SCRIPT= ${WRKSRC}/contrib/ldap/dhcpd-conf-to-ldap
LDAP_SCHEMA= ${WRKSRC}/contrib/ldap/dhcp.schema
LDAP_README= ${WRKSRC}/contrib/ldap/README.ldap
-CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
PORTDOCS+= README.ldap
PLIST_SUB+= SCHEMA_DIR="${SCHEMA_DIR:S,^${PREFIX}/,,}" LDAP=""
USES+= shebangfix
@@ -114,7 +115,7 @@ PLIST_SUB+= LDAP="@comment "
.if ${PORT_OPTIONS:MLDAP_SSL} && ${PORT_OPTIONS:MLDAP}
USE_OPENSSL= yes
CONFIGURE_ARGS+=--with-ldapcrypto
-CONFIGURE_ENV+= LIBS="-lssl"
+LIBS+= -lssl
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
.endif