From nobody@FreeBSD.org  Tue Jul 30 13:11:44 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id EC30437B400
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jul 2002 13:11:44 -0700 (PDT)
Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A0A2C43E31
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jul 2002 13:11:44 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g6UKBiOT049399
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Jul 2002 13:11:44 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.4/8.12.4/Submit) id g6UKBiTb049398;
	Tue, 30 Jul 2002 13:11:44 -0700 (PDT)
Message-Id: <200207302011.g6UKBiTb049398@www.freebsd.org>
Date: Tue, 30 Jul 2002 13:11:44 -0700 (PDT)
From: KATO Tsuguru <tkato@prontomail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: audio/speex
X-Send-Pr-Version: www-1.0

>Number:         41169
>Category:       ports
>Synopsis:       Update port: audio/speex
>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:   Tue Jul 30 13:20:01 PDT 2002
>Closed-Date:    Tue Jul 30 16:33:14 PDT 2002
>Last-Modified:  Tue Jul 30 16:33:14 PDT 2002
>Originator:     KATO Tsuguru
>Release:        4.6-RELEASE i386
>Organization:
>Environment:
>Description:
- Do not install .la files

New file:
files/patch-configure

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/audio/speex/Makefile audio/speex/Makefile
--- /usr/ports/audio/speex/Makefile	Tue Jul 30 17:52:54 2002
+++ audio/speex/Makefile	Wed Jul 31 04:24:19 2002
@@ -8,6 +8,7 @@
 
 PORTNAME=	speex
 PORTVERSION=	0.5.2
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -15,11 +16,13 @@
 
 MAINTAINER=	ports@FreeBSD.org
 
-LIB_DEPENDS=	ogg:${PORTSDIR}/audio/libogg \
-		gnugetopt:${PORTSDIR}/devel/libgnugetopt
+LIB_DEPENDS=	ogg.4:${PORTSDIR}/audio/libogg \
+		gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
 
 USE_LIBTOOL=	yes
-CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+INSTALLS_SHLIB=	yes
 
 .include <bsd.port.mk>
diff -urN /usr/ports/audio/speex/files/patch-configure audio/speex/files/patch-configure
--- /usr/ports/audio/speex/files/patch-configure	Thu Jan  1 09:00:00 1970
+++ audio/speex/files/patch-configure	Wed Jul 31 03:49:50 2002
@@ -0,0 +1,10 @@
+--- configure.orig	Mon Jul 29 11:40:32 2002
++++ configure	Wed Jul 31 03:49:39 2002
+@@ -5287,6 +5287,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'
diff -urN /usr/ports/audio/speex/pkg-plist audio/speex/pkg-plist
--- /usr/ports/audio/speex/pkg-plist	Tue Jul 30 17:52:54 2002
+++ audio/speex/pkg-plist	Wed Jul 31 04:36:36 2002
@@ -6,4 +6,5 @@
 include/speex_bits.h
 include/speex_header.h
 lib/libspeex.a
-lib/libspeex.la
+lib/libspeex.so
+lib/libspeex.so.0

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: naddy 
State-Changed-When: Tue Jul 30 16:32:59 PDT 2002 
State-Changed-Why:  
Committed, thanks! 

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