diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-11-11 22:58:01 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-11-11 22:58:01 +0000 |
commit | 1c525aed4cca62dc099dac21c7820f1636adc310 (patch) | |
tree | 9ecf584eee2e7f87211d6a8518061b5901e92176 /net/ngrep | |
parent | 79c3ffa8c332e18a3288d3ba07909bc9a89e54dc (diff) |
Unbreak build on -stable while keep it buildable on -current.
Noticed by: quite a lot of people.
Notes
Notes:
svn path=/head/; revision=93758
Diffstat (limited to 'net/ngrep')
-rw-r--r-- | net/ngrep/Makefile | 10 | ||||
-rw-r--r-- | net/ngrep/files/patch5-configure (renamed from net/ngrep/files/patch-configure) | 0 | ||||
-rw-r--r-- | net/ngrep/files/patch5-ngrep (renamed from net/ngrep/files/patch-ngrep.c) | 0 |
3 files changed, 8 insertions, 2 deletions
diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile index 76dce8229a2c..110c346b55d2 100644 --- a/net/ngrep/Makefile +++ b/net/ngrep/Makefile @@ -8,7 +8,7 @@ PORTNAME= ngrep PORTVERSION= 1.40.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -24,6 +24,12 @@ MAN8= ngrep.8 PORTDOCS= BUGS CHANGES README README.pcre USAGE +.include <bsd.port.pre.mk> + +.if ${OSVERSION} > 500000 +EXTRA_PATCHES= ${PATCHDIR}/patch5-configure ${PATCHDIR}/patch5-ngrep +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -32,4 +38,4 @@ post-install: .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/net/ngrep/files/patch-configure b/net/ngrep/files/patch5-configure index 7e1d18edb8ec..7e1d18edb8ec 100644 --- a/net/ngrep/files/patch-configure +++ b/net/ngrep/files/patch5-configure diff --git a/net/ngrep/files/patch-ngrep.c b/net/ngrep/files/patch5-ngrep index 44c4a094ee01..44c4a094ee01 100644 --- a/net/ngrep/files/patch-ngrep.c +++ b/net/ngrep/files/patch5-ngrep |