Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2003 22:03:25 +0200 (IST)
From:      Roman Shterenzon <roman@xpert.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47565: Cleaner libtool handling for audio/id3lib
Message-ID:  <200301272003.h0RK3PiF027009@alchemy.oven.org>

next in thread | raw e-mail | index | archive | help

>Number:         47565
>Category:       ports
>Synopsis:       Cleaner libtool handling for audio/id3lib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 27 12:10:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD alchemy.oven.org 4.7-STABLE FreeBSD 4.7-STABLE #1: Sun Dec 29 21:42:49 IST 2002 root@alchemy.oven.org:/local/src/sys/compile/ALCHEMY i386


	
>Description:
This is cleaner port.
Thanks to KATO Tsuguru for providing this patch.

>How-To-Repeat:
	
>Fix:

diff -urN /usr/ports/audio/id3lib/Makefile id3lib/Makefile
--- /usr/ports/audio/id3lib/Makefile	Fri Jan 17 18:28:00 2003
+++ id3lib/Makefile	Sat Jan 25 01:57:07 2003
@@ -15,11 +15,11 @@
 
 LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
 
-INSTALLS_SHLIB=	yes
 USE_LIBTOOL=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
-		LDFLAGS="${LDFLAGS}"
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+INSTALLS_SHLIB=	yes
 
+CPPFLAGS=	-I${LOCALBASE}/include
 LDFLAGS=	-L${LOCALBASE}/lib
 
 .if ${CC} == cc || ${CC} == gcc
@@ -40,8 +40,5 @@
 
 post-extract:
 	@${RM} -rf ${WRKSRC}/zlib
-
-post-install:
-	@${RM} -f ${LOCALBASE}/lib/libid3.la
 
 .include <bsd.port.post.mk>
diff -urN /usr/ports/audio/id3lib/files/patch-configure id3lib/files/patch-configure
--- /usr/ports/audio/id3lib/files/patch-configure	Thu Jan  1 02:00:00 1970
+++ id3lib/files/patch-configure	Sat Jan 25 01:53:51 2003
@@ -0,0 +1,10 @@
+--- configure.orig	Sun Nov 24 09:23:00 2002
++++ configure	Fri Jan 24 01:05:47 2003
+@@ -7612,6 +7612,7 @@
+ 
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
\ No newline at end of file
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301272003.h0RK3PiF027009>