summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: