1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Unbreak build on -stable while keep it buildable on -current.

Noticed by: quite a lot of people.
This commit is contained in:
Edwin Groothuis 2003-11-11 22:58:01 +00:00
parent 79c3ffa8c3
commit 1c525aed4c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93758
3 changed files with 8 additions and 2 deletions

View File

@ -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>