aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-07-30 23:32:44 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-07-30 23:32:44 +0000
commit61e8204f074df2d0012c7adb3902a994dade5520 (patch)
treeea69b8c0b143535a67f2ee7dde4c85ac3af0bfdb /audio
parent79d4b57209b16d5e73b008a399a898199ffa8374 (diff)
downloadports-61e8204f074df2d0012c7adb3902a994dade5520.tar.gz
ports-61e8204f074df2d0012c7adb3902a994dade5520.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/speex-devel/Makefile9
-rw-r--r--audio/speex-devel/files/patch-configure10
-rw-r--r--audio/speex-devel/pkg-plist4
-rw-r--r--audio/speex/Makefile9
-rw-r--r--audio/speex/files/patch-configure10
-rw-r--r--audio/speex/pkg-plist4
6 files changed, 38 insertions, 8 deletions
diff --git a/audio/speex-devel/Makefile b/audio/speex-devel/Makefile
index 942db9a23c0c..3627f470448b 100644
--- a/audio/speex-devel/Makefile
+++ b/audio/speex-devel/Makefile
@@ -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 @@ DISTNAME= Speex-${PORTVERSION}
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 --git a/audio/speex-devel/files/patch-configure b/audio/speex-devel/files/patch-configure
new file mode 100644
index 000000000000..868364574624
--- /dev/null
+++ b/audio/speex-devel/files/patch-configure
@@ -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 --git a/audio/speex-devel/pkg-plist b/audio/speex-devel/pkg-plist
index 734fee841061..e528504a4de5 100644
--- a/audio/speex-devel/pkg-plist
+++ b/audio/speex-devel/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/speexdec
bin/speexenc
bin/testenc
@@ -6,4 +7,5 @@ include/speex.h
include/speex_bits.h
include/speex_header.h
lib/libspeex.a
-lib/libspeex.la
+lib/libspeex.so
+lib/libspeex.so.0
diff --git a/audio/speex/Makefile b/audio/speex/Makefile
index 942db9a23c0c..3627f470448b 100644
--- a/audio/speex/Makefile
+++ b/audio/speex/Makefile
@@ -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 @@ DISTNAME= Speex-${PORTVERSION}
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 --git a/audio/speex/files/patch-configure b/audio/speex/files/patch-configure
new file mode 100644
index 000000000000..868364574624
--- /dev/null
+++ b/audio/speex/files/patch-configure
@@ -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 --git a/audio/speex/pkg-plist b/audio/speex/pkg-plist
index 734fee841061..e528504a4de5 100644
--- a/audio/speex/pkg-plist
+++ b/audio/speex/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
bin/speexdec
bin/speexenc
bin/testenc
@@ -6,4 +7,5 @@ include/speex.h
include/speex_bits.h
include/speex_header.h
lib/libspeex.a
-lib/libspeex.la
+lib/libspeex.so
+lib/libspeex.so.0