aboutsummaryrefslogtreecommitdiffstats
path: root/net/rwhoisd
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2000-02-27 17:00:35 +0800
committerreg <reg@FreeBSD.org>2000-02-27 17:00:35 +0800
commite5f1840c2d687ac400cfec8a8e045687c634ae93 (patch)
tree35546439075fbcd021b6ee9cdba73ca260d78102 /net/rwhoisd
parent07f3659573fbac9b4730cba406fde2905d498aeb (diff)
downloadfreebsd-ports-gnome-e5f1840c2d687ac400cfec8a8e045687c634ae93.tar.gz
freebsd-ports-gnome-e5f1840c2d687ac400cfec8a8e045687c634ae93.tar.zst
freebsd-ports-gnome-e5f1840c2d687ac400cfec8a8e045687c634ae93.zip
PLIST fixes.
Found by: bento
Diffstat (limited to 'net/rwhoisd')
-rw-r--r--net/rwhoisd/Makefile11
-rw-r--r--net/rwhoisd/pkg-plist2
2 files changed, 11 insertions, 2 deletions
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