summaryrefslogtreecommitdiff
path: root/security/avcheck
diff options
context:
space:
mode:
authorobache <obache>2012-01-14 07:44:33 +0000
committerobache <obache>2012-01-14 07:44:33 +0000
commite3395832ee1110aa8587107c1b15fd0fa86bcbb2 (patch)
treef1a7084386256d1f181a787d53c0639fc9d2d317 /security/avcheck
parenta93753ae7db2655bf29d672db5968a6ed8afaa65 (diff)
downloadpkgsrc-e3395832ee1110aa8587107c1b15fd0fa86bcbb2.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/avcheck')
-rw-r--r--security/avcheck/Makefile6
1 files changed, 5 insertions, 1 deletions
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