From ac6a7d3a2bcf418685b77e31da8779d2b81eaf31 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 9 Feb 2001 17:48:39 +0000 Subject: + Create the symlinks relative to the cwd, so that we don't get erroneous pathnames in there. + Treat libXm separately from the rest of the libs, since (a) it needs a separate "intermediate" symlink as well, even for ELF libs, and (b) it uses a completely different version number from the rest of the libs, for obvious reasons --- lang/jdk/Makefile | 11 +++++++---- lang/jdk/pkg/PLIST-elf | 3 ++- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'lang') diff --git a/lang/jdk/Makefile b/lang/jdk/Makefile index ba9c7324eda..29691b782a9 100644 --- a/lang/jdk/Makefile +++ b/lang/jdk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2001/02/09 17:02:46 agc Exp $ +# $NetBSD: Makefile,v 1.23 2001/02/09 17:48:39 agc Exp $ # VERSION= 1.1.8 @@ -49,15 +49,18 @@ NO_BIN_ON_FTP= ${RESTRICTED} # This gross hack normalizes the shlib names so that automatic # shared library handling will work. pre-install: - @for X in ${WRKSRC}/lib/i386/green_threads/lib*.so ;do \ + @(cd ${WRKSRC}/lib/i386/green_threads; \ + ${LN} -s libXm.so libXm.so.2; \ + for X in lib*.so ;do \ + if [ "$X" = "libXm.so" ]; then continue; fi; \ if [ -f $$X.* ] ;then \ ${MV} $$X $$X.* ; \ ${LN} -s $$X.* $$X; \ elif [ -f "$$X" ] ;then \ ${MV} $$X $$X.${VERSION} ; \ - ${LN} -s $$X.${VERSION} $$X; \ + ${LN} -s $$X.${VERSION} $$X; \ fi ; \ - done + done) .endif do-install: diff --git a/lang/jdk/pkg/PLIST-elf b/lang/jdk/pkg/PLIST-elf index c57c946ce11..1fd512a451e 100644 --- a/lang/jdk/pkg/PLIST-elf +++ b/lang/jdk/pkg/PLIST-elf @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST-elf,v 1.2 2001/02/09 17:02:47 agc Exp $ +@comment $NetBSD: PLIST-elf,v 1.3 2001/02/09 17:48:39 agc Exp $ lib/i386/green_threads/libXm.so +lib/i386/green_threads/libXm.so.2 lib/i386/green_threads/libXm.so.2.0 lib/i386/green_threads/libagent.so lib/i386/green_threads/libagent.so.1.1.8 -- cgit v1.2.3