diff options
author | sbd <sbd> | 2010-04-30 06:53:06 +0000 |
---|---|---|
committer | sbd <sbd> | 2010-04-30 06:53:06 +0000 |
commit | 1d3aaddd92ca27c55d363b4cd5474a5a962f5142 (patch) | |
tree | efafb0fd5a9167d213be06aea8c60b2248d3b657 /sysutils/lsof/Makefile | |
parent | ea67ba90e4e597338746be036cf35e5093f21bd8 (diff) | |
download | pkgsrc-1d3aaddd92ca27c55d363b4cd5474a5a962f5142.tar.gz |
Move lsof from using the LSOF_MORE_SECURE and LSOF_LESS_SECURE_SOCKETS to
using pkg options lsof-more-secure and lsof-less-secure-sockets.
Also change the way the option are applied, the same way that the Customize
script does and it works on all supported dialects.
Diffstat (limited to 'sysutils/lsof/Makefile')
-rw-r--r-- | sysutils/lsof/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile index b09fe1e18a2..83dbf00efff 100644 --- a/sysutils/lsof/Makefile +++ b/sysutils/lsof/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.103 2010/03/21 16:29:43 wiz Exp $ +# $NetBSD: Makefile,v 1.104 2010/04/30 06:53:06 sbd Exp $ DISTNAME= lsof_4.78 PKGNAME= ${DISTNAME:S/_/-/}.${OS_VERSION} @@ -23,8 +23,6 @@ CONFIGURE_SCRIPT= ./Configure CONFIGURE_ARGS+= -n ${LOWER_OPSYS} CONFIGURE_ENV+= LSOF_CC="${CC} ${CFLAGS}" MAKE_FLAGS+= LSOF_BLDCMT="NetBSD pkgsrc rocks!" -CPPFLAGS+= -DLSOF_MORE_SECURE=${LSOF_MORE_SECURE} \ - -DLSOF_LESS_SECURE_SOCKETS=${LSOF_LESS_SECURE_SOCKETS} OSVERSION_SPECIFIC= yes TMPWRK= ${WRKDIR}/${DISTNAME} @@ -41,6 +39,7 @@ USE_TOOLS+= gtar pax perl:run PKG_INSTALLATION_TYPES= overwrite pkgviews .include "../../mk/bsd.prefs.mk" +.include "options.mk" REAL_GROUP= ${REAL_ROOT_GROUP} .if ${OPSYS} == "NetBSD" @@ -51,8 +50,6 @@ MAKE_ENV+= CPPFLAGS= .endif INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin -LSOF_MORE_SECURE?= 0 - post-extract: @(cd ${TMPWRK} ; \ EXPMD5=`${GREP} 'MD5 (' README.${DISTNAME} | ${SED} 's/^[ ]*//'` ; \ |