summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-02-20 18:34:30 +0000
committersobomax <sobomax@FreeBSD.org>2002-02-20 18:34:30 +0000
commit8cd376d5568d7e980adb9e159e412a0dce3b97b9 (patch)
tree9b7981167393c339b6e4e758d18200a806be0024 /audio
parentfac33a4bfc1800b3a8d4d361a54b18ee6c71ae0a (diff)
downloadFreeBSD-ports-8cd376d5568d7e980adb9e159e412a0dce3b97b9.zip
FreeBSD-ports-8cd376d5568d7e980adb9e159e412a0dce3b97b9.tar.gz
Update to 0.2.3.
Diffstat (limited to 'audio')
-rw-r--r--audio/libaudiofile/Makefile14
-rw-r--r--audio/libaudiofile/distinfo2
-rw-r--r--audio/libaudiofile/files/patch-ltmain.sh45
-rw-r--r--audio/libaudiofile/pkg-plist1
4 files changed, 58 insertions, 4 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index 961ba301..261d79e 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -6,17 +6,25 @@
#
PORTNAME= libaudiofile
-PORTVERSION= 0.2.2
+PORTVERSION= 0.2.3
CATEGORIES= audio
MASTER_SITES= ftp://ftp.68k.org./pub/michael/ \
ftp://oss.sgi.com/projects/audiofile/download/ \
${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= stable/sources/audiofile
+MASTER_SITE_SUBDIR= pre-gnome2/releases/gnome-2.0-desktop-alpha2
DISTNAME= audiofile-${PORTVERSION}
MAINTAINER= gnome@FreeBSD.org
-USE_LIBTOOL= yes
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+
INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+pre-patch:
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g'
.include <bsd.port.mk>
diff --git a/audio/libaudiofile/distinfo b/audio/libaudiofile/distinfo
index e0c4da4..efc1008 100644
--- a/audio/libaudiofile/distinfo
+++ b/audio/libaudiofile/distinfo
@@ -1 +1 @@
-MD5 (audiofile-0.2.2.tar.gz) = 7a088be2b91f7effaaa3197548c8926a
+MD5 (gnome2/audiofile-0.2.3.tar.gz) = 73f420be03e3f4591008fd5ead6d284d
diff --git a/audio/libaudiofile/files/patch-ltmain.sh b/audio/libaudiofile/files/patch-ltmain.sh
new file mode 100644
index 0000000..91713d2
--- /dev/null
+++ b/audio/libaudiofile/files/patch-ltmain.sh
@@ -0,0 +1,45 @@
+
+$FreeBSD$
+
+--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
++++ ltmain.sh Sun Feb 3 01:44:17 2002
+@@ -1037,8 +1037,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2412,6 +2420,9 @@
+ *-*-netbsd*)
+ # Don't link with libc until the a.out ld.so is fixed.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test "$build_libtool_need_lc" = "yes"; then
+@@ -4179,10 +4190,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/audio/libaudiofile/pkg-plist b/audio/libaudiofile/pkg-plist
index 308ca0a..827dbdb 100644
--- a/audio/libaudiofile/pkg-plist
+++ b/audio/libaudiofile/pkg-plist
@@ -7,4 +7,5 @@ include/aupvlist.h
lib/libaudiofile.a
lib/libaudiofile.so
lib/libaudiofile.so.0
+libdata/pkgconfig/audiofile.pc
share/aclocal/audiofile.m4
OpenPOWER on IntegriCloud