From owner-freebsd-ports Tue Sep 14 12:20: 6 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CC23A15254 for ; Tue, 14 Sep 1999 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA18713; Tue, 14 Sep 1999 12:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from crayon.planet.sci.kobe-u.ac.jp (crayon.planet.sci.kobe-u.ac.jp [133.30.53.130]) by hub.freebsd.org (Postfix) with ESMTP id 0D751151C6 for ; Tue, 14 Sep 1999 12:15:56 -0700 (PDT) (envelope-from watanabe@crayon.planet.sci.kobe-u.ac.jp) Received: (from watanabe@localhost) by crayon.planet.sci.kobe-u.ac.jp (8.9.2/3.7W-mx) id EAA52929; Wed, 15 Sep 1999 04:08:46 +0900 (JST) Message-Id: <199909141908.EAA52929@crayon.planet.sci.kobe-u.ac.jp> Date: Wed, 15 Sep 1999 04:08:46 +0900 (JST) From: watanabe@komadori.planet.sci.kobe-u.ac.jp Reply-To: watanabe@komadori.planet.sci.kobe-u.ac.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/13751: [graphics/sane] shared libraries cannot be built Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13751 >Category: ports >Synopsis: [graphics/sane] shared libraries cannot be built >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Sep 14 12:20:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Takeshi WATANABE >Release: FreeBSD 3.1-RELEASE i386 >Organization: Kobe University, Kobe, Japan >Environment: FreeBSD 3.x (elf) >Description: /usr/local/lib/sane/libsane-*.so.1 are not installed now. Because... "config.guess" of sane-1.0.1 is different from that of GNU autoconf. For example, it outputs "i386-unknown-freebsdelf3.1" as target name, not "i386-unknown-freebsd3.1". "ltconfig" must check the name "freebsdelf" as well as "freebsd". >How-To-Repeat: Always. >Fix: Apply following patch. --- /usr/ports/graphics/sane/patches/patch-02.orig Sat May 22 19:37:01 1999 +++ /usr/ports/graphics/sane/patches/patch-02 Wed Sep 15 00:03:32 1999 @@ -1,5 +1,5 @@ ---- ltconfig Sat Nov 21 19:53:55 1998 -+++ ltconfig.new Thu May 13 12:44:40 1999 +--- ltconfig Sun Nov 22 12:53:55 1998 ++++ ltconfig.new Tue Sep 14 22:20:11 1999 @@ -604,11 +604,11 @@ $rm conftestdata if ln -s X conftestdata 2>/dev/null; then @@ -14,6 +14,15 @@ echo "$ac_t"yes 1>&6 else echo "$ac_t"no 1>&6 +@@ -777,7 +777,7 @@ + ;; + + # FreeBSD 3, at last, uses gcc -shared to do shared libraries. +- freebsd3*) ++ freebsd3* | freebsdelf3*) + archive_cmds='$CC -shared -o $lib$libobjs' + hardcode_libdir_flag_spec='-R$libdir' + hardcode_direct=yes @@ -1123,12 +1123,24 @@ 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' ;; @@ -26,7 +35,7 @@ shlibpath_var=LD_LIBRARY_PATH ;; + -+freebsd3* | freebsd4*) ++freebsd3* | freebsd4* | freebsdelf*) + version_type=freebsd + library_names_spec='${libname}${release}.so.$versuffix $libname.so' + if [ $PORTOBJFORMAT = elf ]; then >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message