diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-11-25 12:50:43 +0000 |
commit | eb0d9210513f1325d396a498a0c27484eecc1621 (patch) | |
tree | 86eb059496354ccd274b3fd95c2821669fe397fd /graphics/GraphicsMagick | |
parent | 97e2497bc973c9086358bb102fd0f1ed8dcd08bd (diff) | |
download | pkgsrc-eb0d9210513f1325d396a498a0c27484eecc1621.tar.gz |
Remove mk/find-prefix.mk usage from the graphics category.
The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.
Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.
Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.
Diffstat (limited to 'graphics/GraphicsMagick')
-rw-r--r-- | graphics/GraphicsMagick/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index 2448c2921e9..d85aac752e2 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.71 2015/10/06 16:50:31 adam Exp $ +# $NetBSD: Makefile,v 1.72 2015/11/25 12:50:43 jperkin Exp $ .include "Makefile.common" @@ -16,7 +16,7 @@ USE_FEATURES= vsnprintf # optional but recommended for security GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= --with-modules=yes -CONFIGURE_ARGS+= --with-gs-font-dir=${URW_FONTS_DIR}/share/fonts/urw +CONFIGURE_ARGS+= --with-gs-font-dir=${LOCALBASE}/share/fonts/urw CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib CONFIGURE_ARGS+= --without-perl @@ -27,9 +27,6 @@ PKGCONFIG_OVERRIDE+= Magick++/lib/GraphicsMagick++.pc.in TEST_TARGET= check -FIND_PREFIX:= URW_FONTS_DIR=urw-fonts -.include "../../mk/find-prefix.mk" - .include "options.mk" .include "../../devel/libltdl/buildlink3.mk" |