summaryrefslogtreecommitdiff
path: root/audio/libaudiofile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-02-20 18:34:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-02-20 18:34:30 +0000
commit3601714abc8f1f938dae46c6b03a2e34f42b96ad (patch)
treea2bd34d16641e41eefd8d6aadb9d92d83bdb330c /audio/libaudiofile
parentAdd enteruser 1.0, extensible script for adding new users. (diff)
Update to 0.2.3.
Notes
Notes: svn path=/head/; revision=54995
Diffstat (limited to 'audio/libaudiofile')
-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 961ba301fa12..261d79ecdc91 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 e0c4da47f1c4..efc100863e76 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 000000000000..91713d2306f8
--- /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 308ca0a7a9f0..827dbdb974db 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