summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-01-02 05:41:56 +0000
committergrant <grant@pkgsrc.org>2003-01-02 05:41:56 +0000
commitd80920f0b24e2df809f974d57f3d6542a1e0f106 (patch)
treef8f5b281049a403f2142c6853957eb94e64d39c4
parentf447c0703feb6ade24db21160b02c67dff920421 (diff)
downloadpkgsrc-d80920f0b24e2df809f974d57f3d6542a1e0f106.tar.gz
include pkgconfig/buildlink2.mk rather than using BUILD_DEPENDS,
since this achieves the same outcome in a more consistent way. Noted by Eric Gillespie on tech-pkg.
-rw-r--r--www/mozilla/Makefile.common5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 35e183dc03c..e6b1a7ab797 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2002/12/31 04:33:21 grant Exp $
+# $NetBSD: Makefile.common,v 1.9 2003/01/02 05:41:56 grant Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -116,7 +116,8 @@ CONFIGURE_ARGS+= --with-pthreads
.if ${MOZILLA_USE_XFT} == "YES"
CONFIGURE_ARGS+= --enable-xft
-BUILD_DEPENDS+= pkgconfig>=0.10.0:../../devel/pkgconfig
+# pkgconfig defaults to a "build" dependancy, which is what we want.
+.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../fonts/Xft2/buildlink2.mk"
.endif