summaryrefslogtreecommitdiff
path: root/www/mozilla/Makefile.common
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-10-25 18:06:25 +0000
committerjmmv <jmmv>2004-10-25 18:06:25 +0000
commitc72f1cdb441cdf8f55df1b80bd9580689fa4d446 (patch)
treed604e3ebc30f5036eaf27d14d437a8bcb4db5ca0 /www/mozilla/Makefile.common
parent336222b628549a43d4352cc97fcbb1a92021aa22 (diff)
downloadpkgsrc-c72f1cdb441cdf8f55df1b80bd9580689fa4d446.tar.gz
Modify mozilla and mozilla-gtk2 to install several additional headers.
More specifically, this lets Mozilla NSS be used by other programs. Also make the pkgconfig substitutions happen at post-build time, so that the right rpaths are added to the mozilla-nspr.pc file (which is filled in during the build). Bump PKGREVISION to 1 for both packages. Ok'ed by taya@, the maintainer.
Diffstat (limited to 'www/mozilla/Makefile.common')
-rw-r--r--www/mozilla/Makefile.common19
1 files changed, 12 insertions, 7 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index 6b9ec214bd2..8eb30f49b14 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.45 2004/10/25 13:02:15 sekiya Exp $
+# $NetBSD: Makefile.common,v 1.46 2004/10/25 18:06:26 jmmv Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -21,12 +21,17 @@ USE_PERL5= build
USE_GNU_TOOLS+= make
USE_X11= yes
GNU_CONFIGURE= yes
-PKGCONFIG_OVERRIDE+= build/unix/mozilla-gtkmozembed.pc.in
-PKGCONFIG_OVERRIDE+= build/unix/mozilla-js.pc.in
-PKGCONFIG_OVERRIDE+= build/unix/mozilla-nspr.pc.in
-PKGCONFIG_OVERRIDE+= build/unix/mozilla-nss.pc.in
-PKGCONFIG_OVERRIDE+= build/unix/mozilla-plugin.pc.in
-PKGCONFIG_OVERRIDE+= build/unix/mozilla-xpcom.pc.in
+
+PKGCONFIG_OVERRIDE+= build/unix/mozilla-gtkmozembed.pc
+PKGCONFIG_OVERRIDE+= build/unix/mozilla-js.pc
+PKGCONFIG_OVERRIDE+= build/unix/mozilla-nspr.pc
+PKGCONFIG_OVERRIDE+= build/unix/mozilla-nss.pc
+PKGCONFIG_OVERRIDE+= build/unix/mozilla-plugin.pc
+PKGCONFIG_OVERRIDE+= build/unix/mozilla-xpcom.pc
+# Some .pc files are filled in by the build process, so we can't fix the
+# rpaths until this has happened.
+PKGCONFIG_OVERRIDE_STAGE= post-build
+
CONFIGURE_ARGS+= --disable-tests \
--disable-debug \
--disable-pedantic \