summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/powerdns-devel/Makefile3
-rw-r--r--dns/powerdns/Makefile3
2 files changed, 4 insertions, 2 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile
index 14aa741862d4..d7bcf28e2882 100644
--- a/dns/powerdns-devel/Makefile
+++ b/dns/powerdns-devel/Makefile
@@ -21,7 +21,7 @@ USE_SUBMAKE= YES
USE_REINPLACE= YES
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= YES
-CXXFLAGS+= -I${LOCALBASE}/include
+CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-modules="${CONFIGURE_MODULES} pipe" \
@@ -86,6 +86,7 @@ PLIST_SUB+= WITHMYSQL="@comment "
USE_OPENLDAP?= YES
CONFIGURE_MODULES+= "ldap"
PLIST_SUB+= WITHLDAP=""
+CXXFLAGS+= -L${LOCALBASE}/lib
.else
PLIST_SUB+= WITHLDAP="@comment "
.endif
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 14aa741862d4..d7bcf28e2882 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -21,7 +21,7 @@ USE_SUBMAKE= YES
USE_REINPLACE= YES
USE_AUTOTOOLS= libtool:15
INSTALLS_SHLIB= YES
-CXXFLAGS+= -I${LOCALBASE}/include
+CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-modules="${CONFIGURE_MODULES} pipe" \
@@ -86,6 +86,7 @@ PLIST_SUB+= WITHMYSQL="@comment "
USE_OPENLDAP?= YES
CONFIGURE_MODULES+= "ldap"
PLIST_SUB+= WITHLDAP=""
+CXXFLAGS+= -L${LOCALBASE}/lib
.else
PLIST_SUB+= WITHLDAP="@comment "
.endif