diff options
author | obache <obache> | 2012-01-14 07:44:33 +0000 |
---|---|---|
committer | obache <obache> | 2012-01-14 07:44:33 +0000 |
commit | e3395832ee1110aa8587107c1b15fd0fa86bcbb2 (patch) | |
tree | f1a7084386256d1f181a787d53c0639fc9d2d317 /textproc | |
parent | a93753ae7db2655bf29d672db5968a6ed8afaa65 (diff) | |
download | pkgsrc-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 'textproc')
-rw-r--r-- | textproc/dict-mueller7/Makefile | 9 | ||||
-rw-r--r-- | textproc/source-highlight/Makefile | 9 |
2 files changed, 8 insertions, 10 deletions
diff --git a/textproc/dict-mueller7/Makefile b/textproc/dict-mueller7/Makefile index b05418c1332..0c8fbf0cf82 100644 --- a/textproc/dict-mueller7/Makefile +++ b/textproc/dict-mueller7/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/10/09 10:02:44 cheusov Exp $ +# $NetBSD: Makefile,v 1.3 2012/01/14 07:44:35 obache Exp $ DISTNAME= Mueller7GPL PKGNAME= dict-mueller7-1.2 @@ -22,7 +22,12 @@ WRKSRC= ${WRKDIR}/usr/local/share/dict PKG_DESTDIR_SUPPORT= user-destdir -USE_TOOLS+= gsed perl tar gzip +.include "../../mk/bsd.prefs.mk" + +USE_TOOLS+= perl tar gzip +.if ${OPSYS} != "NetBSD" +USE_TOOLS+= gsed +.endif INSTALLATION_DIRS+= share/dictd diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile index 42fb72049a2..76b04b63b0e 100644 --- a/textproc/source-highlight/Makefile +++ b/textproc/source-highlight/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2012/01/09 02:54:29 obache Exp $ +# $NetBSD: Makefile,v 1.33 2012/01/14 07:44:35 obache Exp $ DISTNAME= source-highlight-3.1.4 PKGREVISION= 2 @@ -30,12 +30,5 @@ INFO_FILES= YES USE_TOOLS+= gmake gsed TEST_TARGET= check -.include "../../mk/bsd.prefs.mk" - -.if ${OPSYS} == "NetBSD" -# We really need GNU sed not NetBSD's GNUish sed -TOOLS_PLATFORM.gsed= # empty -.endif - .include "../../devel/boost-libs/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |