pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/gambatte gambatte: catch up with scons updat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dec9cac47e6c
branches:  trunk
changeset: 389492:dec9cac47e6c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jan 02 19:19:51 2019 +0000

description:
gambatte: catch up with scons update; support building with python 3

diffstat:

 emulators/gambatte/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r 9772291747a8 -r dec9cac47e6c emulators/gambatte/Makefile
--- a/emulators/gambatte/Makefile       Wed Jan 02 19:16:20 2019 +0000
+++ b/emulators/gambatte/Makefile       Wed Jan 02 19:19:51 2019 +0000
@@ -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 @@
 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 @@
 .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 @@
        ${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"



Home | Main Index | Thread Index | Old Index