Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 07:08:08 +0900
From:      KATO Tsuguru <tkato@prontomail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/45919: Update port: audio/libsidplay2
Message-ID:  <20021203070808.438f6280.tkato@prontomail.com>

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

>Number:         45919
>Category:       ports
>Synopsis:       Update port: audio/libsidplay2
>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:   Mon Dec 02 14:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.7-RELEASE-p2 i386
>Organization:
>Environment:
>Description:
- Do not install useless .la file

New file:
files/patch-configure

Remove file:
files/patch-libtool

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/audio/libsidplay2/Makefile audio/libsidplay2/Makefile
--- /usr/ports/audio/libsidplay2/Makefile	Mon Nov 18 19:53:36 2002
+++ audio/libsidplay2/Makefile	Sun Dec  1 07:19:08 2002
@@ -7,6 +7,7 @@
 
 PORTNAME=	libsidplay2
 PORTVERSION=	2.0.7
+PORTREVISION=	1
 CATEGORIES=	audio emulators
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	sidplay2
@@ -19,9 +20,13 @@
 
 WRKSRC=		${WRKDIR}/${PORTNAME:S/2//}-${PORTVERSION}
 
-GNU_CONFIGURE=	yes
-INSTALLS_SHLIB=	yes
 USE_GMAKE=	yes
 USE_LIBTOOL=	yes
+CONFIGURE_ARGS=	--with-resid-includes=${LOCALBASE}/include \
+		--with-resid-library=${LOCALBASE}/lib
+INSTALLS_SHLIB=	yes
+
+post-patch:
+	@${CHMOD} +rw ${WRKSRC}/${CONFIGURE_SCRIPT}
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/libsidplay2/files/patch-configure audio/libsidplay2/files/patch-configure
--- /usr/ports/audio/libsidplay2/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ audio/libsidplay2/files/patch-configure	Sun Dec  1 07:12:57 2002
@@ -0,0 +1,12 @@
+--- configure.orig	Tue May  8 02:23:11 2001
++++ configure	Sun Dec  1 07:12:29 2002
+@@ -1838,7 +1838,8 @@
+ 
+ 
+ # This can be used to rebuild libtool when needed
+-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
++LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+ 
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/audio/libsidplay2/files/patch-libtool audio/libsidplay2/files/patch-libtool
--- /usr/ports/audio/libsidplay2/files/patch-libtool	Mon Nov 18 19:53:36 2002
+++ audio/libsidplay2/files/patch-libtool	Thu Jan  1 09:00:00 1970
@@ -1,11 +0,0 @@
---- configure.orig	Mon May  7 19:23:11 2001
-+++ configure	Mon Nov 18 05:04:02 2002
-@@ -1841,7 +1841,7 @@
- LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
- 
- # Always use our own libtool.
--LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-+LIBTOOL='libtool'
- 
- # Redirect the config.log output again, so that the ltconfig log is not
- # clobbered by the next message.
diff -urN /usr/ports/audio/libsidplay2/pkg-plist audio/libsidplay2/pkg-plist
--- /usr/ports/audio/libsidplay2/pkg-plist	Mon Nov 18 19:53:36 2002
+++ audio/libsidplay2/pkg-plist	Sun Dec  1 07:15:25 2002
@@ -6,7 +6,6 @@
 include/sidplay/sidplay2.h
 include/sidplay/sidtypes.h
 lib/libsidplay2.a
-lib/libsidplay2.la
 lib/libsidplay2.so
 lib/libsidplay2.so.0
 @dirrm include/sidplay
>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?20021203070808.438f6280.tkato>