aboutsummaryrefslogtreecommitdiffstats
path: root/net/rwhois/Makefile
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-03-01 15:01:37 +0800
committerbillf <billf@FreeBSD.org>2000-03-01 15:01:37 +0800
commitf04c5887c37f0700e2a41f94f563d7e2535b8175 (patch)
treed0a27ef7eb4f4e560491a912afbb32c49da1f389 /net/rwhois/Makefile
parent1c49b33a7b242edd54e1005c2a91842740cc0761 (diff)
downloadfreebsd-ports-graphics-f04c5887c37f0700e2a41f94f563d7e2535b8175.tar.gz
freebsd-ports-graphics-f04c5887c37f0700e2a41f94f563d7e2535b8175.tar.zst
freebsd-ports-graphics-f04c5887c37f0700e2a41f94f563d7e2535b8175.zip
bentoize the PLIST creation for people with libc.4
Diffstat (limited to 'net/rwhois/Makefile')
-rw-r--r--net/rwhois/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/rwhois/Makefile b/net/rwhois/Makefile
index b1803f1f594..990819fda3d 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: