From owner-freebsd-ports Fri Jan 29 17:20:08 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA18536 for freebsd-ports-outgoing; Fri, 29 Jan 1999 17:20:08 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA18454 for ; Fri, 29 Jan 1999 17:20:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id RAA43144; Fri, 29 Jan 1999 17:20:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from norn.ca.eu.org (cr164328-a.abtsfd1.bc.wave.home.com [24.112.125.94]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA17116 for ; Fri, 29 Jan 1999 17:11:43 -0800 (PST) (envelope-from norn@norn.ca.eu.org) Received: (from norn@localhost) by norn.ca.eu.org (8.9.2/8.9.2) id RAA22193; Fri, 29 Jan 1999 17:11:38 -0800 (PST) (envelope-from norn) Message-Id: <199901300111.RAA22193@norn.ca.eu.org> Date: Fri, 29 Jan 1999 17:11:38 -0800 (PST) From: cpiazza@home.net Reply-To: cpiazza@home.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9789: kdelibs doesn't create shared library on 4.0 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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