diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-25 22:05:35 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-04-25 22:05:35 +0000 |
commit | c67511bd57de7580e7fc4742758b26df8ce939d0 (patch) | |
tree | f09b114d807fca928e26a7d440ab9c68f7f30949 /dns | |
parent | e772d3fd134b695cbe58d130ce1ba129b0f8dde2 (diff) | |
download | ports-c67511bd57de7580e7fc4742758b26df8ce939d0.tar.gz ports-c67511bd57de7580e7fc4742758b26df8ce939d0.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/samba-nsupdate/Makefile | 50 |
1 files changed, 20 insertions, 30 deletions
diff --git a/dns/samba-nsupdate/Makefile b/dns/samba-nsupdate/Makefile index a385c9db6dd5..767456bf0cfc 100644 --- a/dns/samba-nsupdate/Makefile +++ b/dns/samba-nsupdate/Makefile @@ -37,11 +37,13 @@ CONFIGURE_ARGS+= \ --without-idn \ --with-randomdev=/dev/random -NO_STAGE= yes - OPTIONS_DEFINE= IPV6 -.include <bsd.port.options.mk> +SIGCHASE_CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1" +IPV6_CONFIGURE_ON= --enable-ipv6 + +PLIST_FILES= bin/${UNIQUENAME} \ + man/man1/${UNIQUENAME}.1.gz .include <bsd.port.pre.mk> @@ -49,14 +51,6 @@ OPTIONS_DEFINE= IPV6 ARCH= x86_64 .endif -.if ${PORT_OPTIONS:MSIGCHASE} -CONFIGURE_ARGS+= STD_CDEFINES="-DDIG_SIGCHASE=1" -.endif - -.if ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+= --enable-ipv6 -.endif - # Enable OpenSSL API CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} # Try to find appropriate GSSAPI libs @@ -71,27 +65,23 @@ LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal CONFIGURE_ARGS+= --with-gssapi="${LOCALBASE}" .endif -MAN1= ${UNIQUENAME}.1 - -PLIST_FILES= bin/${UNIQUENAME} - post-patch: - @${REINPLACE_CMD} \ - -e 's|^SUBDIRS.*|SUBDIRS = lib bin|' \ - -e 's|isc-config.sh installdirs|installdirs|' \ - -e 's|.*INSTALL.*isc-config.*||' \ - -e 's|.*INSTALL.*bind.keys.*||' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} \ - -e 's|^SUBDIRS.*|SUBDIRS = ${PORTNAME}|' \ - -e 's|^.*check confgen ||' \ - ${WRKSRC}/bin/Makefile.in - @${REINPLACE_CMD} \ - -e 's|${PORTNAME}|${UNIQUENAME}|g' \ - ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 + @${REINPLACE_CMD} \ + -e 's|^SUBDIRS.*|SUBDIRS = lib bin|' \ + -e 's|isc-config.sh installdirs|installdirs|' \ + -e 's|.*INSTALL.*isc-config.*||' \ + -e 's|.*INSTALL.*bind.keys.*||' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} \ + -e 's|^SUBDIRS.*|SUBDIRS = ${PORTNAME}|' \ + -e 's|^.*check confgen ||' \ + ${WRKSRC}/bin/Makefile.in + @${REINPLACE_CMD} \ + -e 's|${PORTNAME}|${UNIQUENAME}|g' \ + ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 do-install: - ${INSTALL_MAN} ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 ${MANPREFIX}/man/man1/${UNIQUENAME}.1 - ${INSTALL_PROGRAM} ${WRKSRC}/bin/nsupdate/${PORTNAME} ${PREFIX}/bin/${UNIQUENAME} + ${INSTALL_MAN} ${WRKSRC}/bin/nsupdate/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${UNIQUENAME}.1 + ${INSTALL_PROGRAM} ${WRKSRC}/bin/nsupdate/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${UNIQUENAME} .include <bsd.port.post.mk> |