summaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-02-05 17:29:06 +0000
committerjmmv <jmmv>2004-02-05 17:29:06 +0000
commit7cbb8ff3d238a2eb0d473d4061db9f930e7aa0c5 (patch)
tree818547e8b6698840f6666ec8c6428214345f51a4 /www/mozilla
parentedded644236579293d1caf377ccbcf3c6fa338d2 (diff)
downloadpkgsrc-7cbb8ff3d238a2eb0d473d4061db9f930e7aa0c5.tar.gz
Enable installation of pkgconfig files in mozilla-gtk2. This requires a
new patch to fix paths to includes and libs. Bump PKGREVISION of mozilla-gtk2 to 1.
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/Makefile.common4
-rw-r--r--www/mozilla/distinfo3
-rw-r--r--www/mozilla/patches/patch-aa21
3 files changed, 26 insertions, 2 deletions
diff --git a/www/mozilla/Makefile.common b/www/mozilla/Makefile.common
index a5bab55ba16..cf597dc1822 100644
--- a/www/mozilla/Makefile.common
+++ b/www/mozilla/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.30 2004/02/04 22:23:46 abs Exp $
+# $NetBSD: Makefile.common,v 1.31 2004/02/05 17:29:06 jmmv Exp $
MOZ_DIST_VER?= ${MOZ_VER}
DISTNAME?= mozilla-source-${MOZ_DIST_VER}
@@ -58,6 +58,8 @@ CONFIGURE_ARGS+= --enable-default-toolkit=gtk
# NetBSD-*-m68k builds, but "regchrome" dumps core.
NOT_FOR_PLATFORM= NetBSD-1.4.*-* NetBSD-*-m68k
+MAKE_ENV+= MOZILLA_PKG_NAME=${MOZILLA}
+
MOZ_LIBDIR= ${PREFIX}/lib/${MOZILLA}
MAKE_ENV+= LIBRUNPATH=${MOZ_LIBDIR}
CONFIGURE_ENV+= LIBRUNPATH=${MOZ_LIBDIR}
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo
index e8d40960426..315464a22c3 100644
--- a/www/mozilla/distinfo
+++ b/www/mozilla/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.48 2004/02/01 13:04:17 taya Exp $
+$NetBSD: distinfo,v 1.49 2004/02/05 17:29:06 jmmv Exp $
SHA1 (mozilla-source-1.6.tar.bz2) = baecca0ecec35704049ab6debaec6c96adbade35
Size (mozilla-source-1.6.tar.bz2) = 31037452 bytes
+SHA1 (patch-aa) = 03f158fe673a54b8060d541c80f9ebda2977afc5
SHA1 (patch-ab) = 3abad84d0768de60f845f26c61cc2629a6e25ce3
SHA1 (patch-ac) = 4cddfd0bfc8acd97db3b974289a79c9ae41c9edf
SHA1 (patch-ad) = 5408db4b7585dcf5855f64a342cc721a23aec449
diff --git a/www/mozilla/patches/patch-aa b/www/mozilla/patches/patch-aa
new file mode 100644
index 00000000000..eda14614031
--- /dev/null
+++ b/www/mozilla/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.25 2004/02/05 17:29:06 jmmv Exp $
+
+--- config/autoconf.mk.in.orig 2003-10-30 22:11:05.000000000 +0100
++++ config/autoconf.mk.in
+@@ -29,13 +29,13 @@ MOZILLA_VERSION = @MOZILLA_VERSION@
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ bindir = @bindir@
+-includedir = @includedir@/mozilla-$(MOZILLA_VERSION)
++includedir = @includedir@/$(MOZILLA_PKG_NAME)
+ libdir = @libdir@
+ datadir = @datadir@
+ mandir = @mandir@
+-idldir = @datadir@/idl/mozilla-$(MOZILLA_VERSION)
++idldir = @datadir@/idl/$(MOZILLA_PKG_NAME)
+
+-mozappdir = $(libdir)/mozilla-$(MOZILLA_VERSION)
++mozappdir = $(libdir)/$(MOZILLA_PKG_NAME)
+ mredir = $(libdir)/mre/mre-$(MOZILLA_VERSION)
+ mrelibdir = $(mredir)/lib
+