From tkato@prontomail.com  Mon Dec  2 14:10:19 2002
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E03C537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2002 14:10:19 -0800 (PST)
Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 68D9B43EBE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  2 Dec 2002 14:10:18 -0800 (PST)
	(envelope-from tkato@prontomail.com)
Received: from localhost (localhost [127.0.0.1])
	by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id EF79864A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  3 Dec 2002 07:10:14 +0900 (JST)
Message-Id: <20021203070808.438f6280.tkato@prontomail.com>
Date: Tue, 3 Dec 2002 07:08:08 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Update port: audio/libsidplay2

>Number:         45919
>Category:       ports
>Synopsis:       Update port: audio/libsidplay2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 02 14:20:01 PST 2002
>Closed-Date:    Sun Dec 22 09:30:47 PST 2002
>Last-Modified:  Sun Dec 22 09:30:47 PST 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sun Dec 22 09:30:41 PST 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45919 
>Unformatted:
