summaryrefslogtreecommitdiff
path: root/audio/mad
diff options
context:
space:
mode:
authorjlam <jlam>2001-10-27 21:29:49 +0000
committerjlam <jlam>2001-10-27 21:29:49 +0000
commit29eb2debf508c7ab619785ce403048179f59a4c1 (patch)
treee4531a4390f041de3206e75e84cce4b6730717b1 /audio/mad
parent41d982df225f8d96c193048e912579ad21b2ae8d (diff)
downloadpkgsrc-29eb2debf508c7ab619785ce403048179f59a4c1.tar.gz
Strongly buildlinkify.
Diffstat (limited to 'audio/mad')
-rw-r--r--audio/mad/Makefile12
-rw-r--r--audio/mad/distinfo3
-rw-r--r--audio/mad/patches/patch-ac13
3 files changed, 22 insertions, 6 deletions
diff --git a/audio/mad/Makefile b/audio/mad/Makefile
index 017a398611c..3c2c87c8c96 100644
--- a/audio/mad/Makefile
+++ b/audio/mad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/10/20 14:53:29 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/10/27 21:29:49 jlam Exp $
#
DISTNAME= mad-0.14.0b
@@ -10,13 +10,15 @@ MAINTAINER= simonb@netbsd.org
HOMEPAGE= http://sourceforge.net/projects/mad/
COMMENT= High-quality MPEG audio decoder
-BUILD_USES_MSGFMT= yes
+BUILD_USES_MSGFMT= YES
CONFLICTS= madplay-[0-9]*
-GNU_CONFIGURE= YES
-USE_LIBINTL= YES
-USE_LIBTOOL= YES
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+.include "../../devel/gettext-lib/buildlink.mk"
+.include "../../devel/zlib/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/mad/distinfo b/audio/mad/distinfo
index d75a0034dcd..0c634d3eeca 100644
--- a/audio/mad/distinfo
+++ b/audio/mad/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2001/10/20 14:53:29 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/10/27 21:29:49 jlam Exp $
SHA1 (mad-0.14.0b.tar.gz) = ecf2658e963b9a1c89aafc089f6659c3cdb858b6
Size (mad-0.14.0b.tar.gz) = 703852 bytes
SHA1 (patch-aa) = 3d5744dac1a5ee499aaaafa1dd0696d960bc0180
SHA1 (patch-ab) = c573fdb2d0353352db40be773d8e5292fc1d26b3
+SHA1 (patch-ac) = e04c3bae51e90032aa3ced4377e8b0e34bd496c9
diff --git a/audio/mad/patches/patch-ac b/audio/mad/patches/patch-ac
new file mode 100644
index 00000000000..c7a830e1ba1
--- /dev/null
+++ b/audio/mad/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2001/10/27 21:29:49 jlam Exp $
+
+--- Makefile.in.orig Thu Oct 18 19:47:29 2001
++++ Makefile.in
+@@ -139,7 +139,7 @@
+ INCLUDES = -Ilibmad -I$(srcdir)/libid3 -Iintl -DLOCALEDIR=\"$(localedir)\"
+
+
+-LDADD = @LIBOBJS@ libmad/libmad.la @INTLLIBS@
++LDADD = @LIBOBJS@ libmad/libmad.la
+
+ madplay_DEPENDENCIES = $(AUDIO) $(LDADD) libid3/libid3.la
+ madplay_LDADD = $(AUDIO) $(LDADD) libid3/libid3.la $(ldadd_libz) -lz