summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>2000-03-01 07:01:37 +0000
committerBill Fumerola <billf@FreeBSD.org>2000-03-01 07:01:37 +0000
commite37872e03019a4371f756f82e4872391e520df1a (patch)
tree07d5b6792bdf216cce9f953bb0c0c5a4376718dd
parentUpgrade to the latest and greatest apache/frontpage combo. (diff)
bentoize the PLIST creation for people with libc.4
Notes
Notes: svn path=/head/; revision=26465
-rw-r--r--net/rwhois/Makefile6
-rw-r--r--net/rwhoisd/Makefile6
2 files changed, 10 insertions, 2 deletions
diff --git a/net/rwhois/Makefile b/net/rwhois/Makefile
index b1803f1f594b..990819fda3d8 100644
--- a/net/rwhois/Makefile
+++ b/net/rwhois/Makefile
@@ -25,11 +25,15 @@ MAN8= rmkdbindex.8 rwhoisd.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 400011
PLIST= ${WRKDIR}/PLIST
+.if ${OSVERSION} < 400011
pre-install:
@${SED} -e "/libc.so.4/d" \
${PKGDIR}/PLIST > ${PLIST}
+.else
+pre-install:
+ @${SED} -e "/libc.so.3/d" \
+ ${PKGDIR}/PLIST > ${PLIST}
.endif
post-install:
diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile
index b1803f1f594b..990819fda3d8 100644
--- a/net/rwhoisd/Makefile
+++ b/net/rwhoisd/Makefile
@@ -25,11 +25,15 @@ MAN8= rmkdbindex.8 rwhoisd.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 400011
PLIST= ${WRKDIR}/PLIST
+.if ${OSVERSION} < 400011
pre-install:
@${SED} -e "/libc.so.4/d" \
${PKGDIR}/PLIST > ${PLIST}
+.else
+pre-install:
+ @${SED} -e "/libc.so.3/d" \
+ ${PKGDIR}/PLIST > ${PLIST}
.endif
post-install: