pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/MozillaFirebird-bin-nightly fix installation on Li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57f34c4fe94c
branches:  trunk
changeset: 462933:57f34c4fe94c
user:      grant <grant%pkgsrc.org@localhost>
date:      Sun Oct 19 08:35:09 2003 +0000

description:
fix installation on Linux:

- s/LOCALBASE/PREFIX/
- s/X11BASE/X11PREFIX/
- install symlink for libgmodule
- depend on gtk

diffstat:

 www/MozillaFirebird-bin-nightly/Makefile             |  17 +++++++++--------
 www/MozillaFirebird-bin-nightly/Makefile.Linux.i386  |   4 +++-
 www/MozillaFirebird-bin-nightly/Makefile.NetBSD.i386 |  10 +++++++---
 3 files changed, 19 insertions(+), 12 deletions(-)

diffs (70 lines):

diff -r 5863b2dc54ac -r 57f34c4fe94c www/MozillaFirebird-bin-nightly/Makefile
--- a/www/MozillaFirebird-bin-nightly/Makefile  Sun Oct 19 08:20:38 2003 +0000
+++ b/www/MozillaFirebird-bin-nightly/Makefile  Sun Oct 19 08:35:09 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/10/01 06:21:27 dent Exp $
+# $NetBSD: Makefile,v 1.3 2003/10/19 08:35:09 grant Exp $
 #
 
 DISTNAME=              # see Makefile.${OPSYS}.${ARCH}
@@ -51,16 +51,17 @@
        @${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 -r 5863b2dc54ac -r 57f34c4fe94c www/MozillaFirebird-bin-nightly/Makefile.Linux.i386
--- a/www/MozillaFirebird-bin-nightly/Makefile.Linux.i386       Sun Oct 19 08:20:38 2003 +0000
+++ b/www/MozillaFirebird-bin-nightly/Makefile.Linux.i386       Sun Oct 19 08:35:09 2003 +0000
@@ -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:35:09 grant Exp $
 #
 
 DISTNAME=      MozillaFirebird-i686-pc-linux-gnu
 MASTER_SITES=  http://ftp.mozilla.org/pub/firebird/nightly/latest-trunk/
 
+DEPENDS+=      gtk+>=1.2:../../x11/gtk
+
 PLATFORM=      linux
 MOZILLA_LIB=   ${PREFIX}/lib/MozillaFirebird-${PLATFORM}
diff -r 5863b2dc54ac -r 57f34c4fe94c www/MozillaFirebird-bin-nightly/Makefile.NetBSD.i386
--- a/www/MozillaFirebird-bin-nightly/Makefile.NetBSD.i386      Sun Oct 19 08:20:38 2003 +0000
+++ b/www/MozillaFirebird-bin-nightly/Makefile.NetBSD.i386      Sun Oct 19 08:35:09 2003 +0000
@@ -1,10 +1,14 @@
-# $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:35:09 grant Exp $
 #
 
+DISTNAME=      MozillaFirebird-i686-pc-linux-gnu
+MASTER_SITES=  http://ftp.mozilla.org/pub/firebird/nightly/latest-trunk/
+
+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
 
-.include "Makefile.Linux.i386"
-
 .include "../../emulators/suse_linux/Makefile.application"



Home | Main Index | Thread Index | Old Index