Date: Wed, 29 Nov 2006 10:23:08 -0800 (PST) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/106026: [patch]: devel/libslang2 install fake libraries for a loop Message-ID: <200611291823.kATIN4ED011165@splork.wirewater.yow> Resent-Message-ID: <200611291830.kATIUHdp056524@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 106026 >Category: ports >Synopsis: [patch]: devel/libslang2 install fake libraries for a loop >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Nov 29 18:30:16 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jacula Modyun >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD splork.wirewater.yow 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Mon Nov 27 12:10:05 UTC 2006 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386 >Description: The port devel/libslang2, for the software configuration, install the links: libslang.so -> libslang.so.2 libslang.so.2 -> libslang.so and doesn't install the file libslang.so.2.0.7. The correct way is: /usr/local/lib/libslang.so -> libslang.so.2.0.7 /usr/local/lib/libslang.so.2 -> libslang.so.2.0.7 /usr/local/lib/libslang.so.2.0.7 >How-To-Repeat: Install the port and check in the /usr/local/lib. >Fix: This patch work for me: --- libslang2.diff begins here --- diff -Nru libslang2.orig/files/patch-configure libslang2/files/patch-configure --- libslang2.orig/files/patch-configure Thu Jan 1 00:00:00 1970 +++ libslang2/files/patch-configure Sun Nov 26 14:59:29 2006 @@ -0,0 +1,10 @@ +--- configure.orig Sun Nov 26 14:59:03 2006 ++++ configure Sun Nov 26 14:59:16 2006 +@@ -6624,7 +6624,6 @@ + ELFLIB_MAJOR_MINOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).\$(ELF_MINOR_VERSION).dylib" + ;; + *freebsd* ) +- ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)" + ELF_CC="\$(CC)" + ELF_CFLAGS="\$(CFLAGS) -fPIC" + if test "X$PORTOBJFORMAT" = "Xelf" ; then diff -Nru libslang2.orig/pkg-plist libslang2/pkg-plist --- libslang2.orig/pkg-plist Sun Nov 26 16:18:33 2006 +++ libslang2/pkg-plist Sun Nov 26 15:56:57 2006 @@ -6,6 +6,7 @@ lib/libslang.a lib/libslang.so.2 lib/libslang.so +lib/libslang.so.2.0.7 lib/slang/v2/modules/fcntl-module.so %%PCRE%%lib/slang/v2/modules/pcre-module.so %%PNG%%lib/slang/v2/modules/png-module.so --- libslang2.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611291823.kATIN4ED011165>