summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-19 08:47:42 +0000
committergrant <grant@pkgsrc.org>2003-10-19 08:47:42 +0000
commit787a70322caf6ec1c09022ce2c6e9574d55dbe97 (patch)
tree6a2551ec8bb7ef4f845f174dc958015a6028da21 /www
parent6c044fbc8b2453f5f7d117607fd5e88d0dfe8b3d (diff)
downloadpkgsrc-787a70322caf6ec1c09022ce2c6e9574d55dbe97.tar.gz
fix installation on Linux:
- s/LOCALBASE/PREFIX/ - s/X11BASE/X11PREFIX/ - install symlink for libgmodule - depend on gtk
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-bin-nightly/Makefile17
-rw-r--r--www/mozilla-bin-nightly/Makefile.Linux.i3864
-rw-r--r--www/mozilla-bin-nightly/Makefile.NetBSD.i3869
3 files changed, 18 insertions, 12 deletions
diff --git a/www/mozilla-bin-nightly/Makefile b/www/mozilla-bin-nightly/Makefile
index cd90ce95484..a53df7a9e39 100644
--- a/www/mozilla-bin-nightly/Makefile
+++ b/www/mozilla-bin-nightly/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2003/09/05 05:59:48 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2003/10/19 08:47:42 grant Exp $
#
DISTNAME= # see Makefile.${OPSYS}.${ARCH}
@@ -44,16 +44,17 @@ do-install:
| ${XARGS} ${CHMOD} a+rx
post-install:
-# this build for Solaris wants exactly 'libgtk-1.2.so.0', etc.
-.if ${OPSYS} == "SunOS"
+# this build wants exactly 'libgtk-1.2.so.0', etc.
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "Linux"
@cd ${MOZILLA_LIB} && \
- ${LN} -s ${LOCALBASE}/lib/libglib.*so* .; \
- ${LN} -s ${LOCALBASE}/lib/libgmodule.*so* .; \
- ${LN} -s ${X11BASE}/lib/libgdk.*so* .; \
- ${LN} -s ${X11BASE}/lib/libgtk.*so* .; \
+ ${LN} -s ${PREFIX}/lib/libglib.*so* .; \
+ ${LN} -s ${PREFIX}/lib/libgmodule.*so* .; \
+ ${LN} -s ${X11PREFIX}/lib/libgdk.*so* .; \
+ ${LN} -s ${X11PREFIX}/lib/libgtk.*so* .; \
${LN} -s libgtk.so libgtk-1.2.so.0; \
${LN} -s libgdk.so libgdk-1.2.so.0; \
- ${LN} -s libglib.so libglib-1.2.so.0
+ ${LN} -s libglib.so libglib-1.2.so.0; \
+ ${LN} -s libgmodule.so libgmodule-1.2.so.0
.endif
@${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
@${ECHO} bin/mozilla-${PLATFORM} >> ${PLIST_SRC}
diff --git a/www/mozilla-bin-nightly/Makefile.Linux.i386 b/www/mozilla-bin-nightly/Makefile.Linux.i386
index 22004cfa98b..35258afbe5b 100644
--- a/www/mozilla-bin-nightly/Makefile.Linux.i386
+++ b/www/mozilla-bin-nightly/Makefile.Linux.i386
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile.Linux.i386,v 1.2 2003/06/11 17:20:56 grant Exp $
+# $NetBSD: Makefile.Linux.i386,v 1.3 2003/10/19 08:47:42 grant Exp $
#
DISTNAME= mozilla-i686-pc-linux-gnu
+DEPENDS+= gtk+>=1.2:../../x11/gtk
+
PLATFORM= linux
MOZILLA_LIB= ${PREFIX}/lib/mozilla-${PLATFORM}
diff --git a/www/mozilla-bin-nightly/Makefile.NetBSD.i386 b/www/mozilla-bin-nightly/Makefile.NetBSD.i386
index b0992a49d9e..da84a875438 100644
--- a/www/mozilla-bin-nightly/Makefile.NetBSD.i386
+++ b/www/mozilla-bin-nightly/Makefile.NetBSD.i386
@@ -1,10 +1,13 @@
-# $NetBSD: Makefile.NetBSD.i386,v 1.1.1.1 2003/05/20 14:25:14 grant Exp $
+# $NetBSD: Makefile.NetBSD.i386,v 1.2 2003/10/19 08:47:42 grant Exp $
#
+DISTNAME= mozilla-i686-pc-linux-gnu
+
+PLATFORM= linux
+MOZILLA_LIB= ${PREFIX}/lib/mozilla-${PLATFORM}
+
DEPENDS+= suse_compat>=7.3:../../emulators/${SUSE_DIR_PREFIX}_compat
DEPENDS+= suse_x11>=7.3:../../emulators/${SUSE_DIR_PREFIX}_x11
DEPENDS+= suse_gtk>=7.3:../../emulators/${SUSE_DIR_PREFIX}_gtk
-.include "Makefile.Linux.i386"
-
.include "../../emulators/suse_linux/Makefile.application"