pkgsrc/audio/faad2/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

52 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2004/10/03 00:13:05 tv Exp $
#
DISTNAME= faad2-2.0
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://faac.sourceforge.net/
COMMENT= AAC decoding library
RESTRICTED= Dolby doesn't allow binary distributions
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM=${RESTRICTED}
WRKSRC= ${WRKDIR}/faad2
USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
AUTOMAKE_REQD= 1.4
AUTOCONF_REQD= 2.50
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-mp4v2
# Avoid an ICE in gcc2 on sparc64
CONFIGURE_ENV+= F77=${FALSE}
LIBS+= -lm
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
CPPFLAGS+= -D_FILE_OFFSET_BITS=64
CPPFLAGS+= _D_LARGEFILE_SOURCE=1
.endif
pre-configure:
@${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
for dir in . ; do \
cd ${WRKSRC}/$$dir; \
${ACLOCAL} -I .; \
${AUTOHEADER}; \
${LOCALBASE}/bin/libtoolize --automake; \
${AUTOMAKE} --add-missing; \
${AUTOCONF}; \
done
.include "../../mk/automake.mk"
.include "../../mk/bsd.pkg.mk"