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