pkgsrc-Changes archive

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

CVS commit: pkgsrc/emulators/gambatte



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Jan  2 19:19:51 UTC 2019

Modified Files:
        pkgsrc/emulators/gambatte: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/emulators/gambatte/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/emulators/gambatte/Makefile
diff -u pkgsrc/emulators/gambatte/Makefile:1.29 pkgsrc/emulators/gambatte/Makefile:1.30
--- pkgsrc/emulators/gambatte/Makefile:1.29     Wed Jul 18 00:06:14 2018
+++ pkgsrc/emulators/gambatte/Makefile  Wed Jan  2 19:19:51 2019
@@ -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@localhost
 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"



Home | Main Index | Thread Index | Old Index