aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-08-13 20:21:09 +0800
committertg <tg@FreeBSD.org>1997-08-13 20:21:09 +0800
commit87d145512a0f78af49c628bc69029aee95b94a23 (patch)
treeb1f94afb4978df3f0790b9b407a6c089e16c5fa3 /net
parentf05bd17f18dd6dce5f0633d8af8f6d81788f1b54 (diff)
downloadfreebsd-ports-gnome-87d145512a0f78af49c628bc69029aee95b94a23.tar.gz
freebsd-ports-gnome-87d145512a0f78af49c628bc69029aee95b94a23.tar.zst
freebsd-ports-gnome-87d145512a0f78af49c628bc69029aee95b94a23.zip
Make trafshow compile again on -current.
PR: 4211 Submitted by: Igor Vinokurov <igor@zynaps.ru>
Diffstat (limited to 'net')
-rw-r--r--net/trafshow/Makefile10
-rw-r--r--net/trafshow3/Makefile10
-rw-r--r--net/trafshow4/Makefile10
3 files changed, 27 insertions, 3 deletions
diff --git a/net/trafshow/Makefile b/net/trafshow/Makefile
index 5c19a2de8a90..98dc539b8f3b 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>
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>
diff --git a/net/trafshow4/Makefile b/net/trafshow4/Makefile
index 5c19a2de8a90..98dc539b8f3b 100644
--- a/net/trafshow4/Makefile
+++ b/net/trafshow4/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>