Date: Fri, 29 Jan 1999 17:11:38 -0800 (PST) From: cpiazza@home.net To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/9789: kdelibs doesn't create shared library on 4.0 Message-ID: <199901300111.RAA22193@norn.ca.eu.org>
next in thread | raw e-mail | index | archive | help
>Number: 9789 >Category: ports >Synopsis: kdelibs isn't creating shared libraries on 4.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 29 17:20:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Chris Piazza >Release: FreeBSD 4.0-CURRENT i386 >Organization: n/a >Environment: FreeBSD norn.ca.eu.org 4.0-CURRENT FreeBSD 4.0-CURRENT #42: Mon Jan 25 20:53:58 PST 1999 norn@norn.ca.eu.org:/usr/src/sys/compile/NORN i386 >Description: blah blah; another port with hardcoded freebsd3 and freebsd2 in the patches, new patch-a0 included. >How-To-Repeat: cd /usr/ports/kdelibs/ && make >Fix: Replace patch-a0 with one below. --- ltconfig.orig Fri Jan 29 17:02:23 1999 +++ ltconfig Fri Jan 29 17:03:16 1999 @@ -777,7 +777,7 @@ ;; # FreeBSD 3, at last, uses gcc -shared to do shared libraries. - freebsd3*) + freebsd3* | freebsd4*) archive_cmds='$CC -shared -o $lib$libobjs' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes @@ -1123,9 +1123,14 @@ finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done' ;; -freebsd2* | freebsd3*) +freebsd2* | freebsd3* | freebsd4*) version_type=sunos - library_names_spec='${libname}${release}.so.$versuffix $libname.so' + if [ "$PORTOBJFORMAT" = elf ]; then + library_names_spec='${libname}${release}.so.$major $libname.so' + else + library_names_spec='${libname}${release}.so.$versuffix' + fi + finish_cmds='PATH="$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH ;; -Chris >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901300111.RAA22193>