diff options
author | grant <grant@pkgsrc.org> | 2003-10-19 08:20:38 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-10-19 08:20:38 +0000 |
commit | f8ca7961d2458a6766013d7f9ed845b48ad4a715 (patch) | |
tree | c6ec63bebf1fe43ccff9fbe0ba86c770fef305cf | |
parent | 64acec9a801cdea8e8e6e8ea7d0fb31bcf65f942 (diff) | |
download | pkgsrc-f8ca7961d2458a6766013d7f9ed845b48ad4a715.tar.gz |
fix installation on Linux:
- s/LOCALBASE/PREFIX/
- s/X11BASE/X11PREFIX/
- install symlink for libgmodule
- depend on gtk
-rw-r--r-- | www/MozillaFirebird-bin/Makefile | 18 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/Makefile.Linux.i386 | 4 | ||||
-rw-r--r-- | www/MozillaFirebird-bin/Makefile.NetBSD.i386 | 10 | ||||
-rw-r--r-- | www/mozilla-bin/Makefile | 17 | ||||
-rw-r--r-- | www/mozilla-bin/Makefile.Linux.i386 | 4 | ||||
-rw-r--r-- | www/mozilla-bin/Makefile.NetBSD.i386 | 9 |
6 files changed, 38 insertions, 24 deletions
diff --git a/www/MozillaFirebird-bin/Makefile b/www/MozillaFirebird-bin/Makefile index 25563e7a3cb..815f83ba03b 100644 --- a/www/MozillaFirebird-bin/Makefile +++ b/www/MozillaFirebird-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2003/09/27 14:13:08 grant Exp $ +# $NetBSD: Makefile,v 1.2 2003/10/19 08:20:38 grant Exp $ # DISTNAME= # see Makefile.${OPSYS}.${ARCH} @@ -39,16 +39,18 @@ do-install: @${RM} -f ${MOZILLA_LIB}/plugins/libnullplugin.so 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/MozillaFirebird-${PLATFORM} >> ${PLIST_SRC} diff --git a/www/MozillaFirebird-bin/Makefile.Linux.i386 b/www/MozillaFirebird-bin/Makefile.Linux.i386 index 55d8d040ed0..85ee6a62d62 100644 --- a/www/MozillaFirebird-bin/Makefile.Linux.i386 +++ b/www/MozillaFirebird-bin/Makefile.Linux.i386 @@ -1,8 +1,10 @@ -# $NetBSD: Makefile.Linux.i386,v 1.1 2003/09/27 14:13:08 grant Exp $ +# $NetBSD: Makefile.Linux.i386,v 1.2 2003/10/19 08:20:38 grant Exp $ # DISTNAME= MozillaFirebird-0.6.1-i686-pc-linux-gnu MASTER_SITES= http://ftp.mozilla.org/pub/firebird/releases/0.6.1/ +DEPENDS+= gtk+>=1.2:../../x11/gtk + PLATFORM= linux MOZILLA_LIB= ${PREFIX}/lib/MozillaFirebird-${PLATFORM} diff --git a/www/MozillaFirebird-bin/Makefile.NetBSD.i386 b/www/MozillaFirebird-bin/Makefile.NetBSD.i386 index be7f924ee77..87ec353237e 100644 --- a/www/MozillaFirebird-bin/Makefile.NetBSD.i386 +++ b/www/MozillaFirebird-bin/Makefile.NetBSD.i386 @@ -1,12 +1,16 @@ -# $NetBSD: Makefile.NetBSD.i386,v 1.1 2003/09/27 14:13:08 grant Exp $ +# $NetBSD: Makefile.NetBSD.i386,v 1.2 2003/10/19 08:20:38 grant Exp $ # +DISTNAME= MozillaFirebird-0.6.1-i686-pc-linux-gnu +MASTER_SITES= http://ftp.mozilla.org/pub/firebird/releases/0.6.1/ + +PLATFORM= linux +MOZILLA_LIB= ${PREFIX}/lib/MozillaFirebird-${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 CONFLICTS+= suse_libc5-[0-9]* -.include "Makefile.Linux.i386" - .include "../../emulators/suse_linux/Makefile.application" diff --git a/www/mozilla-bin/Makefile b/www/mozilla-bin/Makefile index b271a4973ce..81ddf5428cd 100644 --- a/www/mozilla-bin/Makefile +++ b/www/mozilla-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2003/07/18 07:31:16 grant Exp $ +# $NetBSD: Makefile,v 1.10 2003/10/19 08:27:27 grant Exp $ # DISTNAME= # see Makefile.${OPSYS}.${ARCH} @@ -41,16 +41,17 @@ do-install: ${INSTALL_SCRIPT} ${WRKDIR}/mozilla.sh ${PREFIX}/bin/mozilla-${PLATFORM} 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/Makefile.Linux.i386 b/www/mozilla-bin/Makefile.Linux.i386 index af998e4f3cd..93440fd5deb 100644 --- a/www/mozilla-bin/Makefile.Linux.i386 +++ b/www/mozilla-bin/Makefile.Linux.i386 @@ -1,7 +1,9 @@ -# $NetBSD: Makefile.Linux.i386,v 1.2 2003/07/02 14:56:59 grant Exp $ +# $NetBSD: Makefile.Linux.i386,v 1.3 2003/10/19 08:27:27 grant Exp $ # DISTNAME= mozilla-i686-pc-linux-gnu-1.4 +DEPENDS+= gtk+>=1.2:../../x11/gtk + PLATFORM= linux MOZILLA_LIB= ${PREFIX}/lib/mozilla-${PLATFORM} diff --git a/www/mozilla-bin/Makefile.NetBSD.i386 b/www/mozilla-bin/Makefile.NetBSD.i386 index 04f130503fe..7e6936b8a98 100644 --- a/www/mozilla-bin/Makefile.NetBSD.i386 +++ b/www/mozilla-bin/Makefile.NetBSD.i386 @@ -1,12 +1,15 @@ -# $NetBSD: Makefile.NetBSD.i386,v 1.3 2003/05/27 08:24:17 kei Exp $ +# $NetBSD: Makefile.NetBSD.i386,v 1.4 2003/10/19 08:27:27 grant Exp $ # +DISTNAME= mozilla-i686-pc-linux-gnu-1.4 + +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 CONFLICTS+= suse_libc5-[0-9]* -.include "Makefile.Linux.i386" - .include "../../emulators/suse_linux/Makefile.application" |