Date: 15 Apr 2000 13:47:53 -0000 From: renaud@islande.net To: FreeBSD-gnats-submit@freebsd.org Subject: ports/18020: port jpeg do not build shared library Message-ID: <20000415134753.44639.qmail@grimsey.islande.net>
next in thread | raw e-mail | index | archive | help
>Number: 18020 >Category: ports >Synopsis: port jpeg do not build shared library >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 15 07:00:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Renaud Breard >Release: FreeBSD 5.0-CURRENT i386 >Organization: private >Environment: FreeBSD grimsey.islande.net 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Fri Apr 14 20:17:38 CEST 2000 root@grimsey.islande.net:/usr/src/sys/compile/GRIMSEY i386 >Description: the configure script fail to configure libtool correctly for build shared librairy. the target patch-libtool of bsd.port.mk fail because it try to find the strings "$ac_aux_dir/ltconfig" and "$ac_aux_dir/ltmain.sh" in the configure script, but the configure script containt the strings $srcdir/ltconfig and $srcdir/ltmain.sh >How-To-Repeat: cd ${PORTDIR}/graphics/jpeg make >Fix: use the following patch instead patch-ab --- configure.orig Sat Mar 21 20:08:57 1998 +++ configure Thu Apr 6 03:55:27 2000 @@ -1529,7 +1529,7 @@ if test "x$LTSHARED" != xno -o "x$LTSTATIC" != xno; then USELIBTOOL="yes" - LIBTOOL="./libtool" + LIBTOOL="/usr/local/bin/libtool" O="lo" A="la" LN='$(LIBTOOL) --mode=link $(CC)' @@ -1559,7 +1559,7 @@ if test "x$LTSTATIC" = xno; then disable_static="--disable-static" fi - $srcdir/ltconfig $disable_shared $disable_static $srcdir/ltmain.sh + /usr/local/share/libtool/ltconfig $disable_shared $disable_static /usr/local/share/libtool/ltmain.sh fi # Select memory manager depending on user input. @@ -1647,7 +1647,7 @@ # Extract the library version ID from jpeglib.h. echo $ac_n "checking libjpeg version number""... $ac_c" 1>&6 echo "configure:1650: checking libjpeg version number" >&5 -JPEG_LIB_VERSION=`sed -e '/^#define JPEG_LIB_VERSION/!d' -e 's/^[^0-9]*\([0-9][0-9]*\).*$/\1/' $srcdir/jpeglib.h` +JPEG_LIB_VERSION=9 echo "$ac_t""$JPEG_LIB_VERSION" 1>&6 >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?20000415134753.44639.qmail>