diff options
author | obache <obache@pkgsrc.org> | 2012-01-14 07:44:33 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-01-14 07:44:33 +0000 |
commit | 2f97717bdbf803fbb33c20db682f140f2ff0bfa6 (patch) | |
tree | f1a7084386256d1f181a787d53c0639fc9d2d317 /security | |
parent | 65a21db0887988ab6a8423979721752ccaf7e634 (diff) | |
download | pkgsrc-2f97717bdbf803fbb33c20db682f140f2ff0bfa6.tar.gz |
gsed related clean up.
* Stop to treat NetBSD's sed as GNU sed, not full compatible.
* Then, no need to reset TOOLS_PLATFORM.gsed for NetBSD if USE_TOOLS+=gsed and
real GNU sed is required.
* In addition, convert simple USE_TOOLS+=gsed to conditionally, without NetBSD.
* convert {BUILD_,}DEPENDS+=gsed to USE_TOOLS, all tools from gsed are real gsed.
Diffstat (limited to 'security')
-rw-r--r-- | security/CoolKey/Makefile | 6 | ||||
-rw-r--r-- | security/avcheck/Makefile | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/security/CoolKey/Makefile b/security/CoolKey/Makefile index 76ec34b2815..dee2d9d8a7e 100644 --- a/security/CoolKey/Makefile +++ b/security/CoolKey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2008/06/12 02:14:44 joerg Exp $ +# $NetBSD: Makefile,v 1.3 2012/01/14 07:44:35 obache Exp $ # DISTNAME= coolkey-1.1.0 @@ -15,13 +15,17 @@ PKG_DESTDIR_SUPPORT= user-destdir NOT_FOR_PLATFORM= NetBSD-[0-3].*-* NetBSD-4.[0-9].*-* NOT_FOR_PLATFORM+= NetBSD-4.[0-8]*.*-* NetBSD-4.9[0-8].*-* +.include "../../mk/bsd.prefs.mk" + GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config USE_TOOLS+= autoconf USE_TOOLS+= gmake USE_TOOLS+= grep +.if ${OPSYS} != "NetBSD" USE_TOOLS+= gsed +.endif USE_LANGUAGES= c c++ AUTOCONF_REQD= 2.59 diff --git a/security/avcheck/Makefile b/security/avcheck/Makefile index eaf9f0d5ae0..4096fe19578 100644 --- a/security/avcheck/Makefile +++ b/security/avcheck/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2008/07/14 12:56:11 joerg Exp $ +# $NetBSD: Makefile,v 1.13 2012/01/14 07:44:35 obache Exp $ DISTNAME= avcheck-0.9 CATEGORIES= security mail @@ -10,7 +10,11 @@ COMMENT= Mail content filter for SMTP servers PKG_DESTDIR_SUPPORT= user-destdir +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} != "NetBSD" USE_TOOLS+= gsed +.endif INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/avcheck \ share/examples/avcheck |