aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-02-27 09:00:35 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-02-27 09:00:35 +0000
commiteacacfcab7c524213710e7bdeca22c64172868cf (patch)
tree7c68b9797d0db0d25c20b361eaea420b6a43df13 /net
parente531baf8c1ed5ec4054de6524dcd3eea7176679f (diff)
downloadports-eacacfcab7c524213710e7bdeca22c64172868cf.tar.gz
ports-eacacfcab7c524213710e7bdeca22c64172868cf.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/rwhois/Makefile11
-rw-r--r--net/rwhois/pkg-plist2
-rw-r--r--net/rwhoisd/Makefile11
-rw-r--r--net/rwhoisd/pkg-plist2
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