summaryrefslogtreecommitdiff
path: root/print
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 /print
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 'print')
-rw-r--r--print/evince/Makefile4
-rw-r--r--print/pdf2djvu/Makefile12
2 files changed, 5 insertions, 11 deletions
diff --git a/print/evince/Makefile b/print/evince/Makefile
index 8adb4074c57..c990caa54c5 100644
--- a/print/evince/Makefile
+++ b/print/evince/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.74 2011/11/01 06:02:24 sbd Exp $
+# $NetBSD: Makefile,v 1.75 2012/01/14 07:44:34 obache Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
@@ -17,7 +17,7 @@ CONFIGURE_ARGS+= --enable-comics
CONFIGURE_ARGS+= --disable-nautilus
GCONF_SCHEMAS+= evince-thumbnailer-comics.schemas
-BUILD_DEPENDS+= gsed-[0-9]*:../../textproc/gsed
+USE_TOOLS+= gsed
.include "../../devel/GConf/schemas.mk"
.include "../../devel/glib2/schemas.mk"
diff --git a/print/pdf2djvu/Makefile b/print/pdf2djvu/Makefile
index e376e88dec7..d5b16ad0964 100644
--- a/print/pdf2djvu/Makefile
+++ b/print/pdf2djvu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/01/14 03:43:36 hans Exp $
+# $NetBSD: Makefile,v 1.4 2012/01/14 07:44:34 obache Exp $
#
DISTNAME= pdf2djvu_0.7.7
@@ -15,19 +15,13 @@ LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= djvulibre-tools-[0-9]*:../../graphics/djvulibre-tools
-DEPENDS+= gsed>=4.2:../../textproc/gsed
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_LANGUAGES= c++ c
-USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext gsed
-
-# We really need GNU sed not NetBSD's GNUish sed
-.include "../../mk/bsd.prefs.mk"
-.if ${OPSYS} == "NetBSD"
-TOOLS_PLATFORM.gsed= # empty
-.endif
+USE_TOOLS+= pkg-config gmake intltool msgfmt xgettext gsed:run
+TOOLS_DEPENDS.gsed= gsed>=4.2:../../textproc/gsed
.include "../../graphics/djvulibre-lib/buildlink3.mk"
.include "../../print/poppler/buildlink3.mk"