diff options
author | salo <salo@pkgsrc.org> | 2002-11-21 05:08:52 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2002-11-21 05:08:52 +0000 |
commit | 2d49d6bc616dedca76f59fc4a06ed135e5915f6a (patch) | |
tree | f06be7c9f9875d382cfef3d67bd9235658adfe47 /audio/faad2/Makefile | |
parent | d3d2742a50d8da73b358d63bf30a8d73b1f3566d (diff) | |
download | pkgsrc-2d49d6bc616dedca76f59fc4a06ed135e5915f6a.tar.gz |
Make this build on Solaris. Remove whitespace.
Diffstat (limited to 'audio/faad2/Makefile')
-rw-r--r-- | audio/faad2/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/audio/faad2/Makefile b/audio/faad2/Makefile index dd63063d559..9e7cb8d42fc 100644 --- a/audio/faad2/Makefile +++ b/audio/faad2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/10/18 13:32:48 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2002/11/21 05:08:52 salo Exp $ # DISTNAME= faad2-1.1 @@ -9,7 +9,6 @@ MAINTAINER= dillo@giga.or.at HOMEPAGE= http://faac.sourceforge.net/ COMMENT= AAC decoding library - RESTRICTED= Dolby doesn't allow binary distributions NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CD= ${RESTRICTED} @@ -33,6 +32,17 @@ pre-configure: ${AUTOCONF}; \ done +.include "../../mk/bsd.prefs.mk" + +.if (${OPSYS} == "SunOS") +post-configure: + ${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend + ${CP} ${WRKSRC}/frontend/Makefile ${WRKSRC}/frontend/Makefile.orig + ${SED} -e "s|^faad_SOURCES.*|& getopt.c|" \ + -e "s|^faad_OBJECTS.*|& getopt.$$(OBJEXT)|" \ + ${WRKSRC}/frontend/Makefile.orig > ${WRKSRC}/frontend/Makefile +.endif + .include "../../audio/libsndfile/buildlink2.mk" .include "../../mk/automake.mk" .include "../../mk/bsd.pkg.mk" |