diff options
author | grant <grant> | 2003-10-19 08:35:09 +0000 |
---|---|---|
committer | grant <grant> | 2003-10-19 08:35:09 +0000 |
commit | 26986c6fa513c2965d036540f48107294502d734 (patch) | |
tree | 30dd280da2399eee8a25974cd9d2ca1e081e9e65 /www/MozillaFirebird-bin-nightly/Makefile | |
parent | f7b607f2f14edcc905ec2608299a82a7ad70c4d8 (diff) | |
download | pkgsrc-26986c6fa513c2965d036540f48107294502d734.tar.gz |
fix installation on Linux:
- s/LOCALBASE/PREFIX/
- s/X11BASE/X11PREFIX/
- install symlink for libgmodule
- depend on gtk
Diffstat (limited to 'www/MozillaFirebird-bin-nightly/Makefile')
-rw-r--r-- | www/MozillaFirebird-bin-nightly/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/www/MozillaFirebird-bin-nightly/Makefile b/www/MozillaFirebird-bin-nightly/Makefile index 4c1399f05ac..b543ec53ce0 100644 --- a/www/MozillaFirebird-bin-nightly/Makefile +++ b/www/MozillaFirebird-bin-nightly/Makefile @@ -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 @@ 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} |