diff options
-rw-r--r-- | net/rwhois/Makefile | 11 | ||||
-rw-r--r-- | net/rwhois/pkg-plist | 2 | ||||
-rw-r--r-- | net/rwhoisd/Makefile | 11 | ||||
-rw-r--r-- | net/rwhoisd/pkg-plist | 2 |
4 files changed, 22 insertions, 4 deletions
diff --git a/net/rwhois/Makefile b/net/rwhois/Makefile index b4f5d7beff6e..b1803f1f594b 100644 --- a/net/rwhois/Makefile +++ b/net/rwhois/Makefile @@ -23,6 +23,15 @@ INSTALL_TARGET= install install-sample-data install-chroot MAN8= rmkdbindex.8 rwhoisd.8 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400011 +PLIST= ${WRKDIR}/PLIST +pre-install: + @${SED} -e "/libc.so.4/d" \ + ${PKGDIR}/PLIST > ${PLIST} +.endif + post-install: ${MKDIR} -p ${PREFIX}/share/doc/rwhois ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois @@ -38,4 +47,4 @@ post-install: @ ${ECHO} "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && ${ECHO} -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh ${CHMOD} 751 ${PREFIX}/etc/rc.d/rwhoisd.sh -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/rwhois/pkg-plist b/net/rwhois/pkg-plist index c2503e472f34..cc660b5dbec6 100644 --- a/net/rwhois/pkg-plist +++ b/net/rwhois/pkg-plist @@ -88,7 +88,7 @@ lib/rwhois/rwhois.objects lib/rwhois/rwhois.root lib/rwhois/sbin/rwhoisd lib/rwhois/usr/lib/libc.so.3.1 -lib/rwhois/usr/lib/libwrap.so.7.6 +lib/rwhois/usr/lib/libc.so.4 lib/rwhois/usr/libexec/ld.so share/doc/rwhois/EXAMPLES share/doc/rwhois/INSTALLATION diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile index b4f5d7beff6e..b1803f1f594b 100644 --- a/net/rwhoisd/Makefile +++ b/net/rwhoisd/Makefile @@ -23,6 +23,15 @@ INSTALL_TARGET= install install-sample-data install-chroot MAN8= rmkdbindex.8 rwhoisd.8 +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 400011 +PLIST= ${WRKDIR}/PLIST +pre-install: + @${SED} -e "/libc.so.4/d" \ + ${PKGDIR}/PLIST > ${PLIST} +.endif + post-install: ${MKDIR} -p ${PREFIX}/share/doc/rwhois ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/rwhois @@ -38,4 +47,4 @@ post-install: @ ${ECHO} "#[ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ] && ${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhois.conf & && ${ECHO} -n ' rwhoisd'" >> ${PREFIX}/etc/rc.d/rwhoisd.sh ${CHMOD} 751 ${PREFIX}/etc/rc.d/rwhoisd.sh -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/rwhoisd/pkg-plist b/net/rwhoisd/pkg-plist index c2503e472f34..cc660b5dbec6 100644 --- a/net/rwhoisd/pkg-plist +++ b/net/rwhoisd/pkg-plist @@ -88,7 +88,7 @@ lib/rwhois/rwhois.objects lib/rwhois/rwhois.root lib/rwhois/sbin/rwhoisd lib/rwhois/usr/lib/libc.so.3.1 -lib/rwhois/usr/lib/libwrap.so.7.6 +lib/rwhois/usr/lib/libc.so.4 lib/rwhois/usr/libexec/ld.so share/doc/rwhois/EXAMPLES share/doc/rwhois/INSTALLATION |