diff options
author | tnn <tnn@pkgsrc.org> | 2019-01-02 19:19:51 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2019-01-02 19:19:51 +0000 |
commit | 5f5fd3cb64d4f8f5f51d5868b24a588819037378 (patch) | |
tree | 54c67a63499c3fae0238a0f85b98e86ce0cf1a6d /emulators | |
parent | 5aea2af4769d167c6aed2e2f9f5fb891c60afab6 (diff) | |
download | pkgsrc-5f5fd3cb64d4f8f5f51d5868b24a588819037378.tar.gz |
gambatte: catch up with scons update; support building with python 3
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/gambatte/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/emulators/gambatte/Makefile b/emulators/gambatte/Makefile index 333765eb849..d91c1afcccf 100644 --- a/emulators/gambatte/Makefile +++ b/emulators/gambatte/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2018/07/18 00:06:14 joerg Exp $ +# $NetBSD: Makefile,v 1.30 2019/01/02 19:19:51 tnn Exp $ # DISTNAME= gambatte_src-0.4.1 @@ -11,8 +11,6 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gambatte.sourceforge.net/ COMMENT= Game Boy Color emulator -BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons - USE_LANGUAGES= c c++03 INSTALLATION_DIRS= bin share/doc/gambatte @@ -25,8 +23,8 @@ SUBST_STAGE.sdl= pre-build .include "options.mk" do-build: - cd ${WRKSRC}/libgambatte && ${PKGSRC_SETENV} ${MAKE_ENV} scons - cd ${WRKSRC}/gambatte_sdl && ${PKGSRC_SETENV} ${MAKE_ENV} scons + cd ${WRKSRC}/libgambatte && ${PKGSRC_SETENV} ${MAKE_ENV} ${SCONSBIN} + cd ${WRKSRC}/gambatte_sdl && ${PKGSRC_SETENV} ${MAKE_ENV} ${SCONSBIN} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gambatte_sdl/gambatte_sdl \ @@ -34,5 +32,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/gambatte .include "../../devel/SDL/buildlink3.mk" +PYTHON_FOR_BUILD_ONLY?= yes +.include "../../devel/scons/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |