pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/ladspa Use dlopen.buildlink3.mk to build on plat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8a29b00c9ed9
branches:  trunk
changeset: 491888:8a29b00c9ed9
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Mar 31 17:17:06 2005 +0000

description:
Use dlopen.buildlink3.mk to build on platforms with libdl.

diffstat:

 audio/ladspa/Makefile         |  5 ++++-
 audio/ladspa/distinfo         |  4 ++--
 audio/ladspa/patches/patch-aa |  4 ++--
 3 files changed, 8 insertions(+), 5 deletions(-)

diffs (48 lines):

diff -r bc413db6d2ac -r 8a29b00c9ed9 audio/ladspa/Makefile
--- a/audio/ladspa/Makefile     Thu Mar 31 17:06:28 2005 +0000
+++ b/audio/ladspa/Makefile     Thu Mar 31 17:17:06 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/01/12 13:57:49 xtraeme Exp $
+# $NetBSD: Makefile,v 1.2 2005/03/31 17:17:06 minskim Exp $
 #
 
 DISTNAME=      ladspa_sdk_1.12
@@ -17,4 +17,7 @@
 
 MAKEFILE=      makefile
 
+BUILDLINK_LIBS.dl+=    ${BUILDLINK_LDADD.dl}
+
+.include "../../mk/dlopen.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r bc413db6d2ac -r 8a29b00c9ed9 audio/ladspa/distinfo
--- a/audio/ladspa/distinfo     Thu Mar 31 17:06:28 2005 +0000
+++ b/audio/ladspa/distinfo     Thu Mar 31 17:17:06 2005 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/03/31 17:06:28 minskim Exp $
+$NetBSD: distinfo,v 1.4 2005/03/31 17:17:06 minskim Exp $
 
 SHA1 (ladspa_sdk_1.12.tgz) = 36a3a7a00f96281ca443dcae15d33f462398c4d4
 RMD160 (ladspa_sdk_1.12.tgz) = 7967731c28785287691655d9346cf46654f4235b
 Size (ladspa_sdk_1.12.tgz) = 71165 bytes
-SHA1 (patch-aa) = 0937e9193ad19a20ec4dd746481db257eeae1d9b
+SHA1 (patch-aa) = 358fd53cf33d2856442afc649e788916919b86be
 SHA1 (patch-ab) = 729277aaae806d9698e185f630aa6ec65f009d51
diff -r bc413db6d2ac -r 8a29b00c9ed9 audio/ladspa/patches/patch-aa
--- a/audio/ladspa/patches/patch-aa     Thu Mar 31 17:06:28 2005 +0000
+++ b/audio/ladspa/patches/patch-aa     Thu Mar 31 17:17:06 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/01/12 13:57:51 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2005/03/31 17:17:07 minskim Exp $
 
 --- makefile.orig      2004-02-28 17:30:22.000000000 +0100
 +++ makefile   2004-02-28 17:35:17.000000000 +0100
@@ -21,7 +21,7 @@
  INCLUDES      =       -I.
 -LIBRARIES     =       -ldl -lm
 -CFLAGS                =       $(INCLUDES) -Wall -Werror -O3 -fPIC
-+LIBRARIES     =       -lm
++LIBRARIES     =       $(DL_LIBS) -lm
 +CFLAGS                =       $(INCLUDES) -Wall -Werror -fPIC
  CXXFLAGS      =       $(CFLAGS)
  PLUGINS               =       ../plugins/amp.so                               \



Home | Main Index | Thread Index | Old Index