diff options
author | joerg <joerg> | 2014-02-24 16:19:39 +0000 |
---|---|---|
committer | joerg <joerg> | 2014-02-24 16:19:39 +0000 |
commit | 3dfd5dc807d455013332537d9e081e8cdca39158 (patch) | |
tree | 698877cb67a09455d6f1fbd4fef9d7e17c8e745c /audio/csound5/Makefile | |
parent | 7e572abe283fc7cd5f7267b38249122480ed55fe (diff) | |
download | pkgsrc-3dfd5dc807d455013332537d9e081e8cdca39158.tar.gz |
Fix missing prototype. Fix missing bison dependency. Invoke it by hand
as scons want to add the header on the command line, which clang doesn't
like.
Diffstat (limited to 'audio/csound5/Makefile')
-rw-r--r-- | audio/csound5/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/csound5/Makefile b/audio/csound5/Makefile index 5a751d3f856..94c8c22a44e 100644 --- a/audio/csound5/Makefile +++ b/audio/csound5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2014/02/22 00:59:26 mrg Exp $ +# $NetBSD: Makefile,v 1.33 2014/02/24 16:19:39 joerg Exp $ DISTNAME= Csound${CSOUND_VERSION} PKGNAME= csound5-${CSOUND_VERSION} @@ -13,7 +13,8 @@ LICENSE= gnu-lgpl-v2.1 # or later CSOUND_VERSION= 5.19.01 USE_LANGUAGES= c c++ -CFLAGS+= -g -D__PKGSRC_PREFIX__=${PREFIX}/ -DBETA +USE_TOOLS+= bison +CFLAGS+= -D__PKGSRC_PREFIX__=${PREFIX}/ -DBETA BUILD_DEPENDS+= scons>=0.96:../../devel/scons SCONS= ${PREFIX}/bin/scons SCONS_ARGS= -C ${WRKSRC} prefix=${PREFIX} @@ -41,6 +42,7 @@ SUBST_SED.strip= -e 's/--strip-unneeded//g' .endif do-build: + cd ${WRKSRC} && ${TOOLS_PATH.bison} -d -o frontends/beats/beats.tab.c frontends/beats/beats.y cd ${WRKSRC} && if [ ! -f custom.py ]; then cp custom.py.mkg custom.py; fi cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS} |