summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjschauma <jschauma>2002-10-11 03:51:04 +0000
committerjschauma <jschauma>2002-10-11 03:51:04 +0000
commitfefd5ff666a154b09a4e6c1d47bdefa24c1152dd (patch)
tree35c92c2cc50aa9f0a08cf8fdb28691594f11302d /www
parent337585880f48056a99515e6629d20d9c2f6e91a8 (diff)
downloadpkgsrc-fefd5ff666a154b09a4e6c1d47bdefa24c1152dd.tar.gz
Adjust absolute symlink to java plugin to be relative (and thus correct)
if NS_INST=="complete". This should address PR pkg/18615.
Diffstat (limited to 'www')
-rw-r--r--www/netscape7/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/netscape7/Makefile b/www/netscape7/Makefile
index 8036c0df9db..3b83d06c0cc 100644
--- a/www/netscape7/Makefile
+++ b/www/netscape7/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/10/02 01:09:06 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2002/10/11 03:51:04 jschauma Exp $
#
DISTNAME= netscape-i686-pc-linux-gnu-sea
@@ -60,6 +60,11 @@ do-build:
cd ${WRKSRC} && ${SH} netscape-installer
do-install:
+.if ${NS_INST} == "complete"
+ cd ${WRKSRC}/dest/plugins && ${LN} -sf \
+ java2/plugin/i386/ns600/libjavaplugin_oji.so \
+ libjavaplugin_oji.so
+.endif
${INSTALL_PROGRAM_DIR} ${PREFIX}/lib/netscape/netscape7
cd ${WRKSRC}/dest && ${PAX} -rw . ${PREFIX}/lib/netscape/netscape7
${INSTALL_SCRIPT} ${WRKDIR}/netscape7 ${PREFIX}/bin