summaryrefslogtreecommitdiff
path: root/mail/freepops
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-01-14 07:44:33 +0000
committerobache <obache@pkgsrc.org>2012-01-14 07:44:33 +0000
commit2f97717bdbf803fbb33c20db682f140f2ff0bfa6 (patch)
treef1a7084386256d1f181a787d53c0639fc9d2d317 /mail/freepops
parent65a21db0887988ab6a8423979721752ccaf7e634 (diff)
downloadpkgsrc-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 'mail/freepops')
-rw-r--r--mail/freepops/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/mail/freepops/Makefile b/mail/freepops/Makefile
index cbb66a11e00..ea6957179a3 100644
--- a/mail/freepops/Makefile
+++ b/mail/freepops/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2011/12/17 12:49:27 marino Exp $
+# $NetBSD: Makefile,v 1.16 2012/01/14 07:44:34 obache Exp $
#
DISTNAME= freepops-0.2.8
@@ -14,8 +14,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
+.include "../../mk/bsd.prefs.mk"
+
USE_LANGUAGES= c c++
-USE_TOOLS+= bash:run bison gmake gsed patch tar
+USE_TOOLS+= bash:run bison gmake patch tar
+.if ${OPSYS} != "NetBSD"
+USE_TOOLS+= gsed
+.endif
USE_LIBTOOL= yes
REPLACE_BASH= configure.sh
HAS_CONFIGURE= yes
@@ -43,8 +48,6 @@ SUBST_MESSAGE.paths= Adjusting paths.
BUILD_DEFS+= VARBASE
-.include "../../mk/bsd.prefs.mk"
-
RCD_SCRIPTS= freepopsd
FREEPOPSD_USER?= freepops
FREEPOPSD_GROUP?= freepops