From 893b96b99ec5a70a6fd0e7adb4f809b849432801 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 25 Nov 2005 10:06:36 +0000 Subject: [PATCH] Unbreak powerdns Change the Makefile so compiling against the LDAP library works again PR: ports/89477 Submitted by: Ralf van der Enden --- dns/powerdns-devel/Makefile | 3 ++- dns/powerdns/Makefile | 3 ++- 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