Date: Fri, 3 Nov 2000 19:52:52 +0100 (CET) From: esk@ira.uka.de To: FreeBSD-gnats-submit@freebsd.org Subject: ports/22584: Port fix: audio/id3lib Message-ID: <200011031852.eA3Iqqf63260@i30nb2.ira.uka.de>
next in thread | raw e-mail | index | archive | help
>Number: 22584 >Category: ports >Synopsis: Port fix: audio/id3lib >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Nov 03 11:00:04 PST 2000 >Closed-Date: >Last-Modified: >Originator: Espen Skoglund >Release: FreeBSD 4.2-BETA i386 >Organization: Karlsruhe University >Environment: >Description: Id3lib port does not use libtool correctly. >How-To-Repeat: >Fix: Add USE_LIBTOOL, USE_AUTOMAKE, and USE_GMAKE. Use LOCALBASE in CONFIGURE_ENV rather than PREFIX. Removed redundant GNU_CONFIGURE. Patch configure.in instead of configure. Removed .la from plist. Plist is now sorted alphabetically. diff -ruN id3lib.orig/Makefile id3lib/Makefile --- id3lib.orig/Makefile Fri Nov 3 19:03:58 2000 +++ id3lib/Makefile Fri Nov 3 19:31:26 2000 @@ -16,8 +16,11 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes -CONFIGURE_ENV= LDFLAGS="-L${PREFIX}/lib" CPPFLAGS="-I${PREFIX}/include" +USE_LIBTOOL= yes +USE_AUTOMAKE= yes +USE_GMAKE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" post-extract: .for i in zlib popt diff -ruN id3lib.orig/files/patch-aa id3lib/files/patch-aa --- id3lib.orig/files/patch-aa Fri Nov 3 19:03:58 2000 +++ id3lib/files/patch-aa Fri Nov 3 19:31:43 2000 @@ -1,43 +1,22 @@ ---- configure.orig Fri Sep 15 03:14:06 2000 -+++ configure Thu Oct 26 03:26:10 2000 -@@ -2200,7 +2200,7 @@ +--- configure.in.orig Fri Nov 3 19:29:51 2000 ++++ configure.in Fri Nov 3 19:29:28 2000 +@@ -143,7 +143,7 @@ + ) + AC_LANG_SAVE + AC_LANG_CPLUSPLUS +-AC_CHECK_HEADER(iostream.h iomanip.h) ++AC_CHECK_HEADERS(iostream.h iomanip.h) - fi + dnl Check for functions. + AC_FUNC_MEMCMP +--- Makefile.am.orig Fri Nov 3 19:29:40 2000 ++++ Makefile.am Fri Nov 3 19:30:12 2000 +@@ -32,7 +32,7 @@ + popt_subdir = + endif --for ac_hdr in zlib.h wchar.h sys/param.h popt.h -+for ac_hdr in zlib.h sys/param.h popt.h - do - ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` - echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -@@ -2296,16 +2296,18 @@ - ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' - cross_compiling=$ac_cv_prog_cxx_cross +-SUBDIRS = . m4 $(popt_subdir) $(zlib_subdir) doc include src examples ++SUBDIRS = . m4 doc include src examples + DIST_SUBDIRS = . m4 popt zlib doc include src examples --ac_safe=`echo "iostream.h iomanip.h" | sed 'y%./+-%__p_%'` --echo $ac_n "checking for iostream.h iomanip.h""... $ac_c" 1>&6 --echo "configure:2302: checking for iostream.h iomanip.h" >&5 -+for ac_hdr in iostream.h iomanip.h -+do -+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` -+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -+echo "configure:2302: checking for $ac_hdr" >&5 - if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - cat > conftest.$ac_ext <<EOF - #line 2307 "configure" - #include "confdefs.h" --#include <iostream.h iomanip.h> -+#include <$ac_hdr> - EOF - ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" - { (eval echo configure:2312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -@@ -2328,7 +2330,7 @@ - else - echo "$ac_t""no" 1>&6 - fi -- -+done - - echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6 - echo "configure:2335: checking for 8-bit clean memcmp" >&5 + INCLUDES = @ID3LIB_DEBUG_FLAGS@ diff -ruN id3lib.orig/pkg-plist id3lib/pkg-plist --- id3lib.orig/pkg-plist Fri Nov 3 19:03:58 2000 +++ id3lib/pkg-plist Fri Nov 3 19:10:42 2000 @@ -1,7 +1,9 @@ -bin/id3info +@dirrm include/id3 bin/id3convert -bin/id3tag bin/id3cp +bin/id3info +bin/id3tag +include/id3.h include/id3/error.h include/id3/field.h include/id3/flags.h @@ -14,10 +16,7 @@ include/id3/sized_types.h include/id3/spec.h include/id3/tag.h -include/id3.h -lib/libid3-3.7.so.13 lib/libid3-3.7.so -lib/libid3.so -lib/libid3.la +lib/libid3-3.7.so.13 lib/libid3.a -@dirrm include/id3 +lib/libid3.so >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?200011031852.eA3Iqqf63260>