summaryrefslogtreecommitdiff
path: root/audio/ladspa
diff options
context:
space:
mode:
authorminskim <minskim>2005-03-31 17:17:06 +0000
committerminskim <minskim>2005-03-31 17:17:06 +0000
commitb4e5799a977258b0f279b134740063a0e84428eb (patch)
tree86da39ee356d3a7e4151ffb77ec97dab478c3f20 /audio/ladspa
parentc2ce7283065b840324959e3c42cf75dd7e069be3 (diff)
downloadpkgsrc-b4e5799a977258b0f279b134740063a0e84428eb.tar.gz
Use dlopen.buildlink3.mk to build on platforms with libdl.
Diffstat (limited to 'audio/ladspa')
-rw-r--r--audio/ladspa/Makefile5
-rw-r--r--audio/ladspa/distinfo4
-rw-r--r--audio/ladspa/patches/patch-aa4
3 files changed, 8 insertions, 5 deletions
diff --git a/audio/ladspa/Makefile b/audio/ladspa/Makefile
index 7b03261ff76..37b9f2d0a01 100644
--- a/audio/ladspa/Makefile
+++ b/audio/ladspa/Makefile
@@ -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 @@ USE_GNU_TOOLS+= make
MAKEFILE= makefile
+BUILDLINK_LIBS.dl+= ${BUILDLINK_LDADD.dl}
+
+.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/ladspa/distinfo b/audio/ladspa/distinfo
index c5bdb009b46..d9fe41b9ba7 100644
--- a/audio/ladspa/distinfo
+++ b/audio/ladspa/distinfo
@@ -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 --git a/audio/ladspa/patches/patch-aa b/audio/ladspa/patches/patch-aa
index a5522729afd..d203c2bf0a2 100644
--- a/audio/ladspa/patches/patch-aa
+++ b/audio/ladspa/patches/patch-aa
@@ -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 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/01/12 13:57:51 xtraeme Exp $
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 \