diff options
author | jlam <jlam> | 2005-07-16 19:10:37 +0000 |
---|---|---|
committer | jlam <jlam> | 2005-07-16 19:10:37 +0000 |
commit | dd5e994e0c9890df081d82e9855ba2047d0189e0 (patch) | |
tree | 5e673c0121797154e662e294d0aa49ba7abfcf99 /graphics | |
parent | a8e777f5a6696496c093dab707c1e1a5b713fe8b (diff) | |
download | pkgsrc-dd5e994e0c9890df081d82e9855ba2047d0189e0.tar.gz |
Remove some unnecessarily strong dependencies on perl that resulted
from including perl5/buildlink3.mk. These packages just need the Perl
interpreter, and can just add "perl" to USE_TOOLS instead.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/claraocr/Makefile | 6 | ||||
-rw-r--r-- | graphics/gnome-icon-theme/buildlink3.mk | 8 |
2 files changed, 9 insertions, 5 deletions
diff --git a/graphics/claraocr/Makefile b/graphics/claraocr/Makefile index 1f1c8c6e2fb..c6dcf486cf6 100644 --- a/graphics/claraocr/Makefile +++ b/graphics/claraocr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/06/01 18:02:54 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2005/07/16 19:10:39 jlam Exp $ # DISTNAME= clara-0.9.9 @@ -15,12 +15,12 @@ COMMENT= Optical Character Recognition (OCR) program for books DEPENDS+= netpbm-[0-9]*:../../graphics/netpbm -REPLACE_PERL= clara.pl mkdoc.pl selthresh.pl +USE_TOOLS+= perl:run +REPLACE_PERL= clara.pl mkdoc.pl selthresh.pl # install a example input file post-install: ${INSTALL_DATA} ${WRKSRC}/imre.pbm ${PREFIX}/share/doc/clara -.include "../../lang/perl5/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/gnome-icon-theme/buildlink3.mk b/graphics/gnome-icon-theme/buildlink3.mk index 546a76f49eb..d20f3a4a69c 100644 --- a/graphics/gnome-icon-theme/buildlink3.mk +++ b/graphics/gnome-icon-theme/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/09/21 16:48:38 jmmv Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2005/07/16 19:10:39 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GNOME_ICON_THEME_BUILDLINK3_MK:= ${GNOME_ICON_THEME_BUILDLINK3_MK}+ @@ -14,6 +14,11 @@ BUILDLINK_PACKAGES+= gnome-icon-theme BUILDLINK_DEPENDS.gnome-icon-theme+= gnome-icon-theme>=2.8.0 BUILDLINK_PKGSRCDIR.gnome-icon-theme?= ../../graphics/gnome-icon-theme +# intltool-{extract,merge,update} are Perl scripts included in the sources +# of packages that use gnome-icon-theme and are executed during build. +# +USE_TOOLS+= perl + . include "../../mk/bsd.prefs.mk" dirs!= ${GREP} "^@dirrm" ${.CURDIR}/../../graphics/gnome-icon-theme/PLIST | \ @@ -28,6 +33,5 @@ PRINT_PLIST_AWK+= /^@dirrm ${d:S/\//\\\//g}$$/ \ .include "../../devel/gettext-lib/buildlink3.mk" .include "../../graphics/hicolor-icon-theme/buildlink3.mk" -.include "../../lang/perl5/buildlink3.mk" BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |