summaryrefslogtreecommitdiffstats
path: root/net/trafshow/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-08-13 12:21:09 +0000
committertg <tg@FreeBSD.org>1997-08-13 12:21:09 +0000
commit87d145512a0f78af49c628bc69029aee95b94a23 (patch)
treeb1f94afb4978df3f0790b9b407a6c089e16c5fa3 /net/trafshow/Makefile
parentf05bd17f18dd6dce5f0633d8af8f6d81788f1b54 (diff)
downloadFreeBSD-ports-87d145512a0f78af49c628bc69029aee95b94a23.zip
FreeBSD-ports-87d145512a0f78af49c628bc69029aee95b94a23.tar.gz
Make trafshow compile again on -current.
PR: 4211 Submitted by: Igor Vinokurov <igor@zynaps.ru>
Diffstat (limited to 'net/trafshow/Makefile')
-rw-r--r--net/trafshow/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index 5c19a2d..98dc539 100644
--- a/net/trafshow/Makefile
+++ b/net/trafshow/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>
OpenPOWER on IntegriCloud