pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/freealut Fix linker usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1df64b9deb8c
branches:  trunk
changeset: 532762:1df64b9deb8c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 30 15:16:11 2007 +0000

description:
Fix linker usage.

diffstat:

 audio/freealut/Makefile         |   3 ++-
 audio/freealut/distinfo         |   5 ++++-
 audio/freealut/patches/patch-aa |  13 +++++++++++++
 audio/freealut/patches/patch-ab |  13 +++++++++++++
 audio/freealut/patches/patch-ac |  13 +++++++++++++
 5 files changed, 45 insertions(+), 2 deletions(-)

diffs (80 lines):

diff -r 8e8f3fbf19b8 -r 1df64b9deb8c audio/freealut/Makefile
--- a/audio/freealut/Makefile   Thu Aug 30 15:01:46 2007 +0000
+++ b/audio/freealut/Makefile   Thu Aug 30 15:16:11 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/07/13 14:50:17 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/30 15:16:11 joerg Exp $
 #
 
 DISTNAME=      freealut-1.1.0
@@ -14,5 +14,6 @@
 
 PKGCONFIG_OVERRIDE+=   admin/pkgconfig/freealut.pc.in
 
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../audio/openal/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 8e8f3fbf19b8 -r 1df64b9deb8c audio/freealut/distinfo
--- a/audio/freealut/distinfo   Thu Aug 30 15:01:46 2007 +0000
+++ b/audio/freealut/distinfo   Thu Aug 30 15:16:11 2007 +0000
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/07/13 14:50:17 drochner Exp $
+$NetBSD: distinfo,v 1.2 2007/08/30 15:16:11 joerg Exp $
 
 SHA1 (freealut-1.1.0.tar.gz) = b2c04d2b5e0896b3164c01deda39f58933c8055f
 RMD160 (freealut-1.1.0.tar.gz) = 6cbf31bd2e51240721a5ee919e576e7348d954ab
 Size (freealut-1.1.0.tar.gz) = 461830 bytes
+SHA1 (patch-aa) = f7909d91a62c9bbeb554926b64fc49f26a794b3b
+SHA1 (patch-ab) = d5d926a3e1ef7aee0e911051e36fca298a38c833
+SHA1 (patch-ac) = 814e5385948d3f6406e932565923f765912a220e
diff -r 8e8f3fbf19b8 -r 1df64b9deb8c audio/freealut/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/freealut/patches/patch-aa   Thu Aug 30 15:16:11 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2007/08/30 15:16:11 joerg Exp $
+
+--- src/Makefile.am.orig       2007-08-30 13:59:11.000000000 +0000
++++ src/Makefile.am
+@@ -20,7 +20,7 @@ libalut_la_SOURCES =         \
+       alutWaveform.c
+ 
+ # We use sin and floor, so we might need -lm, autoconf takes care of this.
+-libalut_la_LIBADD = $(LIBM)
++libalut_la_LIBADD = -lopenal $(LIBM)
+ 
+ # The following libtool flag is neccessary for building DLLs on Windows.
+ libalut_la_LDFLAGS = -no-undefined
diff -r 8e8f3fbf19b8 -r 1df64b9deb8c audio/freealut/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/freealut/patches/patch-ab   Thu Aug 30 15:16:11 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/08/30 15:16:11 joerg Exp $
+
+--- src/Makefile.in.orig       2007-08-30 13:59:08.000000000 +0000
++++ src/Makefile.in
+@@ -219,7 +219,7 @@ libalut_la_SOURCES = \
+ 
+ 
+ # We use sin and floor, so we might need -lm, autoconf takes care of this.
+-libalut_la_LIBADD = $(LIBM)
++libalut_la_LIBADD = -lopenal $(LIBM)
+ 
+ # The following libtool flag is neccessary for building DLLs on Windows.
+ 
diff -r 8e8f3fbf19b8 -r 1df64b9deb8c audio/freealut/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/freealut/patches/patch-ac   Thu Aug 30 15:16:11 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/08/30 15:16:11 joerg Exp $
+
+--- examples/Makefile.in.orig  2007-08-30 14:45:24.000000000 +0000
++++ examples/Makefile.in
+@@ -189,7 +189,7 @@ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+ 
+ # We need to link against our *own* libalut.
+-LDADD = ../src/libalut.la
++LDADD = ../src/libalut.la ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ 
+ # Specifying the following path is needed to find <AL/alut.h>.
+ AM_CPPFLAGS = -I$(top_srcdir)/include



Home | Main Index | Thread Index | Old Index