aboutsummaryrefslogtreecommitdiff
path: root/net/trafshow3
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1997-08-13 12:21:09 +0000
committerThomas Gellekum <tg@FreeBSD.org>1997-08-13 12:21:09 +0000
commit4e7772f4e8360819bcb0fc5437e50f319d8e3e72 (patch)
tree6c6bbd0ad21500d62b71d268576ed3b75e053c0c /net/trafshow3
parent163a95eb9597e0bad2f14d8b6faaf133e88ad0e9 (diff)
downloadports-4e7772f4e8360819bcb0fc5437e50f319d8e3e72.tar.gz
ports-4e7772f4e8360819bcb0fc5437e50f319d8e3e72.zip
Make trafshow compile again on -current.
PR: 4211 Submitted by: Igor Vinokurov <igor@zynaps.ru>
Notes
Notes: svn path=/head/; revision=7567
Diffstat (limited to 'net/trafshow3')
-rw-r--r--net/trafshow3/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/trafshow3/Makefile b/net/trafshow3/Makefile
index 5c19a2de8a90..98dc539b8f3b 100644
--- a/net/trafshow3/Makefile
+++ b/net/trafshow3/Makefile
@@ -3,7 +3,7 @@
# Date created: 25 September 1996
# Whom: igor@zynaps.ru
#
-# $Id: Makefile,v 1.6 1997/07/21 00:14:06 fenner Exp $
+# $Id: Makefile,v 1.7 1997/08/10 22:31:31 fenner Exp $
#
DISTNAME= trafshow-2.0
@@ -15,4 +15,12 @@ MAINTAINER= igor@zynaps.ru
MAN1= trafshow.1
+EXTRA_PATCH= patch-ae
+
+OSVERSION!= sysctl -n kern.osreldate
+.if ${OSVERSION} >= 300000
+post-patch:
+ @${PATCH} ${PATCH_ARGS} < ${FILESDIR}/${EXTRA_PATCH}
+.endif
+
.include <bsd.port.mk>