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
commitebacb328d64ce5affb86d730a6b6f6c4b7d2c223 (patch)
treef1a7084386256d1f181a787d53c0639fc9d2d317 /security/avcheck
parentb219bbdb4b672a2c4675303f8255a5371bd1582d (diff)
downloadpkgsrc-ebacb328d64ce5affb86d730a6b6f6c4b7d2c223.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