diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-03-29 04:44:06 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-03-29 04:44:06 +0800 |
commit | 847507e3d97662491781ef834cbdb0ee38f8b2d1 (patch) | |
tree | dc76114e15271f896dd9f99dc08d81e4e5763f22 /dns/powerdns-devel | |
parent | 18ea6b4cec81a45f52e6ec5780c42264d86d5be8 (diff) | |
download | freebsd-ports-gnome-847507e3d97662491781ef834cbdb0ee38f8b2d1.tar.gz freebsd-ports-gnome-847507e3d97662491781ef834cbdb0ee38f8b2d1.tar.zst freebsd-ports-gnome-847507e3d97662491781ef834cbdb0ee38f8b2d1.zip |
- move post-patch into conditional
Diffstat (limited to 'dns/powerdns-devel')
-rw-r--r-- | dns/powerdns-devel/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile index 7f0e688d97b6..a6fbc05ad610 100644 --- a/dns/powerdns-devel/Makefile +++ b/dns/powerdns-devel/Makefile @@ -61,14 +61,6 @@ MAN8= pdns_control.8 pdns_server.8 zone2sql.8 pre-everything:: @ ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/configure.powerdns -post-patch: - ${REINPLACE_CMD} -e 's;-I. ;-I. -I${LOCALBASE}/include ;' \ - -e 's;la_LDFLAGS =;la_LDFLAGS = -L${LOCALBASE}/lib;' \ - ${WRKSRC}/modules/ldapbackend/Makefile.in - ${REINPLACE_CMD} -e 's;@LIBDL@;@LIBDL@ -L${LOCALBASE}/lib;' \ - -e 's;@modulelibs@;@modulelibs@ -llber;' \ - ${WRKSRC}/pdns/Makefile.in - post-install: .if !exists(${PREFIX}/etc/pdns.conf) ${INSTALL_DATA} ${PREFIX}/etc/pdns.conf-dist ${PREFIX}/etc/pdns.conf @@ -101,6 +93,14 @@ PLIST_SUB+= RECURSOR="" LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap20 LIB_DEPENDS+= lber.2:${PORTSDIR}/net/openldap20 CONFIGURE_MODULES+= "ldap" + +post-patch: + ${REINPLACE_CMD} -e 's;-I. ;-I. -I${LOCALBASE}/include ;' \ + -e 's;la_LDFLAGS =;la_LDFLAGS = -L${LOCALBASE}/lib;' \ + ${WRKSRC}/modules/ldapbackend/Makefile.in + ${REINPLACE_CMD} -e 's;@LIBDL@;@LIBDL@ -L${LOCALBASE}/lib;' \ + -e 's;@modulelibs@;@modulelibs@ -llber;' \ + ${WRKSRC}/pdns/Makefile.in .endif .else |