Need to include bsd.port.pre.mk before using ${OSVERSION}.
This commit is contained in:
parent
270a2f6617
commit
16a2d27036
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15645
3 changed files with 12 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
# Date created: Tue Aug 04, 1998
|
||||
# Whom: David O'Brien (obrien@NUXI.com)
|
||||
#
|
||||
# $Id: Makefile,v 1.5 1998/12/15 11:18:30 obrien Exp $
|
||||
# $Id: Makefile,v 1.6 1998/12/17 13:26:17 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nmap-2.01
|
||||
|
@ -15,6 +15,8 @@ EXTRACT_SUFX= .tgz
|
|||
|
||||
MAINTAINER= obrien@FreeBSD.org
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc
|
||||
OSVERSION!= sysctl -n kern.osreldate
|
||||
|
@ -29,4 +31,4 @@ post-extract:
|
|||
post-install:
|
||||
@strip ${PREFIX}/bin/nmap
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Date created: Tue Aug 04, 1998
|
||||
# Whom: David O'Brien (obrien@NUXI.com)
|
||||
#
|
||||
# $Id: Makefile,v 1.5 1998/12/15 11:18:30 obrien Exp $
|
||||
# $Id: Makefile,v 1.6 1998/12/17 13:26:17 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nmap-2.01
|
||||
|
@ -15,6 +15,8 @@ EXTRACT_SUFX= .tgz
|
|||
|
||||
MAINTAINER= obrien@FreeBSD.org
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc
|
||||
OSVERSION!= sysctl -n kern.osreldate
|
||||
|
@ -29,4 +31,4 @@ post-extract:
|
|||
post-install:
|
||||
@strip ${PREFIX}/bin/nmap
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# Date created: Tue Aug 04, 1998
|
||||
# Whom: David O'Brien (obrien@NUXI.com)
|
||||
#
|
||||
# $Id: Makefile,v 1.5 1998/12/15 11:18:30 obrien Exp $
|
||||
# $Id: Makefile,v 1.6 1998/12/17 13:26:17 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= nmap-2.01
|
||||
|
@ -15,6 +15,8 @@ EXTRACT_SUFX= .tgz
|
|||
|
||||
MAINTAINER= obrien@FreeBSD.org
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc
|
||||
OSVERSION!= sysctl -n kern.osreldate
|
||||
|
@ -29,4 +31,4 @@ post-extract:
|
|||
post-install:
|
||||
@strip ${PREFIX}/bin/nmap
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Reference in a new issue