From 4e7772f4e8360819bcb0fc5437e50f319d8e3e72 Mon Sep 17 00:00:00 2001 From: Thomas Gellekum Date: Wed, 13 Aug 1997 12:21:09 +0000 Subject: Make trafshow compile again on -current. PR: 4211 Submitted by: Igor Vinokurov --- net/trafshow/Makefile | 10 +++++++++- net/trafshow3/Makefile | 10 +++++++++- net/trafshow4/Makefile | 10 +++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) (limited to 'net') 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 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 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 -- cgit v1.2.3