From fefd5ff666a154b09a4e6c1d47bdefa24c1152dd Mon Sep 17 00:00:00 2001 From: jschauma Date: Fri, 11 Oct 2002 03:51:04 +0000 Subject: Adjust absolute symlink to java plugin to be relative (and thus correct) if NS_INST=="complete". This should address PR pkg/18615. --- www/netscape7/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'www/netscape7') 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 -- cgit v1.2.3