summaryrefslogtreecommitdiff
path: root/audio/faad2
diff options
context:
space:
mode:
authordillo <dillo@pkgsrc.org>2002-10-02 18:13:16 +0000
committerdillo <dillo@pkgsrc.org>2002-10-02 18:13:16 +0000
commita3cb029db92f6332913849f52ad154c4855caca7 (patch)
treef1f4f93621a6c1e5db560b38bc3986840703aff3 /audio/faad2
parent40b7a0920f3d2943430553e6f39fe1a0f2cadd69 (diff)
downloadpkgsrc-a3cb029db92f6332913849f52ad154c4855caca7.tar.gz
make use of new automake.mk
Diffstat (limited to 'audio/faad2')
-rw-r--r--audio/faad2/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/audio/faad2/Makefile b/audio/faad2/Makefile
index 6db03e94748..dae8462085a 100644
--- a/audio/faad2/Makefile
+++ b/audio/faad2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/09/05 17:49:42 dillo Exp $
+# $NetBSD: Makefile,v 1.2 2002/10/02 18:13:18 dillo Exp $
#
DISTNAME= faad2-1.1
@@ -9,8 +9,6 @@ MAINTAINER= dillo@giga.or.at
HOMEPAGE= http://faac.sourceforge.net/
COMMENT= AAC decoding library
-BUILD_DEPENDS+=autoconf-[0-9]*:../../devel/autoconf
-BUILD_DEPENDS+=automake-[0-9]*:../../devel/automake
RESTRICTED= Dolby doesn't allow binary distributions
NO_BIN_ON_FTP= ${RESTRICTED}
@@ -24,9 +22,18 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
LIBTOOL_OVERRIDE= ${WRKSRC}/common/mp4v2/libtool
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
+AUTOMAKE_REQD= 1.4
pre-configure:
- cd ${WRKSRC} && ${SH} bootstrap
-
+ for dir in . common/mp4v2 ; do \
+ cd ${WRKSRC}/$$dir; \
+ ${ACLOCAL} -I .; \
+ ${AUTOHEADER}; \
+ ${LOCALBASE}/bin/libtoolize --automake; \
+ ${AUTOMAKE} --add-missing; \
+ ${AUTOCONF}; \
+ done
+
+.include "../../mk/automake.mk"
.include "../../audio/libsndfile/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"