diff options
author | grant <grant> | 2004-06-26 10:42:42 +0000 |
---|---|---|
committer | grant <grant> | 2004-06-26 10:42:42 +0000 |
commit | 6d314b81ae5a62e1348152a88c15393b799df3ac (patch) | |
tree | f32bfe9406f5fa330b7a50811032beb80eedb4f2 /www/netscape7/Makefile.Linux.i386 | |
parent | fd24634d7d83df2d21265a8e3f36b5144a89478d (diff) | |
download | pkgsrc-6d314b81ae5a62e1348152a88c15393b799df3ac.tar.gz |
set LD_LIBRARY_PATH in the environment before calling
netscape-installer, eliminating the patch and some linux tweaks.
symlink libgdk and libgtk into ${WRKDIR} so the installer can run.
Diffstat (limited to 'www/netscape7/Makefile.Linux.i386')
-rw-r--r-- | www/netscape7/Makefile.Linux.i386 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www/netscape7/Makefile.Linux.i386 b/www/netscape7/Makefile.Linux.i386 index 352640f06a5..010893792e6 100644 --- a/www/netscape7/Makefile.Linux.i386 +++ b/www/netscape7/Makefile.Linux.i386 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.Linux.i386,v 1.9 2003/07/01 16:19:13 jschauma Exp $ +# $NetBSD: Makefile.Linux.i386,v 1.10 2004/06/26 10:42:42 grant Exp $ # DIST_DIR_NAME= linux22 @@ -7,16 +7,19 @@ DEPENDS+= gtk+>=1.2.10:../../x11/gtk INSTDIR= ${WRKSRC}/dest FIND_ARG= . -depth +INST_ENV+= LD_LIBRARY_PATH="${X11BASE}/lib:${PREFIX}/lib:${LD_LIBRARY_PATH}" + post-extract: ${MKDIR} ${WRKSRC}/dest ${SED} -e "s|@PREFIX@|${PREFIX}|g" -e "s|@X11BASE@|${X11BASE}|g" \ -e "s|@WRKSRC@|${WRKSRC}|g" -e "s|@X11PREFIX@|${X11PREFIX}|g" \ ${FILESDIR}/linux_notes @${SH} -c "read" + ${LN} -s ${PREFIX}/lib/libgdk.so ${WRKSRC}/libgdk-1.2.so.0 ${LN} -s ${PREFIX}/lib/libglib.so ${WRKSRC}/libglib-1.2.so.0 ${LN} -s ${PREFIX}/lib/libgmodule.so ${WRKSRC}/libgmodule-1.2.so.0 - ${SED} -e 's|LD_LIBRARY_PATH=.:|LD_LIBRARY_PATH=.:${X11BASE}/lib:${PREFIX}/lib:|' \ - ${WRKSRC}/netscape-installer > ${WRKSRC}/netscape-installer.tmp - ${MV} ${WRKSRC}/netscape-installer.tmp ${WRKSRC}/netscape-installer + ${LN} -s ${PREFIX}/lib/libgtk.so ${WRKSRC}/libgtk-1.2.so.0 + ${LN} -s ${PREFIX}/lib/libgdk.so ${WRKSRC}/dest/libgdk-1.2.so.0 ${LN} -s ${PREFIX}/lib/libglib.so ${WRKSRC}/dest/libglib-1.2.so.0 ${LN} -s ${PREFIX}/lib/libgmodule.so ${WRKSRC}/dest/libgmodule-1.2.so.0 + ${LN} -s ${PREFIX}/lib/libgtk.so ${WRKSRC}/dest/libgtk-1.2.so.0 |