diff options
author | obache <obache@pkgsrc.org> | 2012-01-14 07:44:33 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-01-14 07:44:33 +0000 |
commit | 2f97717bdbf803fbb33c20db682f140f2ff0bfa6 (patch) | |
tree | f1a7084386256d1f181a787d53c0639fc9d2d317 /print/pdf2djvu | |
parent | 65a21db0887988ab6a8423979721752ccaf7e634 (diff) | |
download | pkgsrc-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/pdf2djvu')
-rw-r--r-- | print/pdf2djvu/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
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" |