diff options
Diffstat (limited to 'www/phoenix-bin')
-rw-r--r-- | www/phoenix-bin/Makefile | 23 | ||||
-rw-r--r-- | www/phoenix-bin/files/phoenix.sh | 6 |
2 files changed, 17 insertions, 12 deletions
diff --git a/www/phoenix-bin/Makefile b/www/phoenix-bin/Makefile index 075373545fc..c69b260e9ac 100644 --- a/www/phoenix-bin/Makefile +++ b/www/phoenix-bin/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/06/25 14:14:36 salo Exp $ +# $NetBSD: Makefile,v 1.8 2003/07/18 07:31:13 grant Exp $ # DISTNAME= # see Makefile.${OPSYS}.${ARCH} @@ -35,21 +35,22 @@ do-install: @${RM} -f ${PHOENIX_LIB}/plugins/libnullplugin.so post-install: +# this build for Solaris wants exactly 'libgtk-1.2.so.0', etc. +.if ${OPSYS} == "SunOS" + @cd ${PHOENIX_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 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 +.endif @${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC} @${ECHO} bin/phoenix-${PLATFORM} >> ${PLIST_SRC} @${FIND} ${PHOENIX_LIB} \( -type f -o -type l \) -print \ | ${SORT} | ${SED} -e "s,${PREFIX}/,,g" \ >> ${PLIST_SRC} -# this build for Solaris wants exactly 'libgtk-1.2.so.0' -.if ${OPSYS} == "SunOS" - @cd ${PHOENIX_LIB} && \ - ${LN} -s ${LOCALBASE}/lib/libglib.so libglib-1.2.so.0; \ - ${LN} -s ${X11BASE}/lib/libgdk.so libgdk-1.2.so.0; \ - ${LN} -s ${X11BASE}/lib/libgtk.so libgtk-1.2.so.0 -. for _lib_ in glib gdk gtk - @${ECHO} lib/MozillaFirebird-${PLATFORM}/lib${_lib_}-1.2.so.0 >> ${PLIST_SRC} -. endfor -.endif @${FIND} ${PHOENIX_LIB} -type d -print \ | ${SORT} -r | ${SED} -e "s,${PREFIX}/,@dirrm ,g" \ >> ${PLIST_SRC} diff --git a/www/phoenix-bin/files/phoenix.sh b/www/phoenix-bin/files/phoenix.sh index 916c0e9f6a5..bc5ee964338 100644 --- a/www/phoenix-bin/files/phoenix.sh +++ b/www/phoenix-bin/files/phoenix.sh @@ -1,3 +1,7 @@ #!@SH@ -# $NetBSD: phoenix.sh,v 1.3 2003/05/18 03:43:02 grant Exp $ +# $NetBSD: phoenix.sh,v 1.4 2003/07/18 07:31:14 grant Exp $ + +LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:@PREFIX@/lib/MozillaFirebird-@PLATFORM@:@PREFIX@/lib" +export LD_LIBRARY_PATH + exec @PREFIX@/lib/MozillaFirebird-@PLATFORM@/MozillaFirebird "$@" |