Tue Mar 31 15:27:06 2015 UTC ()
Help detecting X11 libraries.


(joerg)
diff -r1.52 -r1.53 pkgsrc/emulators/snes9x/Makefile

cvs diff -r1.52 -r1.53 pkgsrc/emulators/snes9x/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/snes9x/Makefile 2015/01/01 10:03:57 1.52
+++ pkgsrc/emulators/snes9x/Makefile 2015/03/31 15:27:06 1.53
@@ -1,36 +1,38 @@ @@ -1,36 +1,38 @@
1# $NetBSD: Makefile,v 1.52 2015/01/01 10:03:57 dholland Exp $ 1# $NetBSD: Makefile,v 1.53 2015/03/31 15:27:06 joerg Exp $
2 2
3SNESVER= 1.43 3SNESVER= 1.43
4DISTNAME= snes9x-${SNESVER}-src 4DISTNAME= snes9x-${SNESVER}-src
5PKGNAME= snes9x-${SNESVER} 5PKGNAME= snes9x-${SNESVER}
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= http://www.lysator.liu.se/snes9x/${SNESVER}/ \ 7MASTER_SITES= http://www.lysator.liu.se/snes9x/${SNESVER}/ \
8 http://files.ipherswipsite.com/snes9x/ 8 http://files.ipherswipsite.com/snes9x/
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.snes9x.com/ 11HOMEPAGE= http://www.snes9x.com/
12COMMENT= Super Nintendo Entertainment System (SNES) emulator 12COMMENT= Super Nintendo Entertainment System (SNES) emulator
13 13
14BROKEN_ON_PLATFORM= ${LP64PLATFORMS} 14BROKEN_ON_PLATFORM= ${LP64PLATFORMS}
15MAKE_JOBS_SAFE= no 15MAKE_JOBS_SAFE= no
16 16
17WRKSRC= ${WRKDIR}/${DISTNAME}/snes9x 17WRKSRC= ${WRKDIR}/${DISTNAME}/snes9x
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19USE_TOOLS+= gmake 19USE_TOOLS+= gmake
20PTHREAD_OPTS+= require 20PTHREAD_OPTS+= require
21INSTALLATION_DIRS= bin 21INSTALLATION_DIRS= bin
22GNU_CONFIGURE= YES 22GNU_CONFIGURE= YES
23 23
 24CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib --x-includes=${X11BASE}/include
 25
24SUBST_CLASSES+= nodos 26SUBST_CLASSES+= nodos
25SUBST_STAGE.nodos= pre-patch 27SUBST_STAGE.nodos= pre-patch
26SUBST_FILES.nodos= ../language.h 28SUBST_FILES.nodos= ../language.h
27SUBST_FILES.nodos+= ../readme.txt dsp1.h dsp3emu.cpp dsp4emu.cpp 29SUBST_FILES.nodos+= ../readme.txt dsp1.h dsp3emu.cpp dsp4emu.cpp
28SUBST_FILTER_CMD.nodos= env -i ${TR} -d '\r' 30SUBST_FILTER_CMD.nodos= env -i ${TR} -d '\r'
29 31
30SUBST_CLASSES+= paircpp 32SUBST_CLASSES+= paircpp
31SUBST_STAGE.paircpp= pre-patch 33SUBST_STAGE.paircpp= pre-patch
32SUBST_FILES.paircpp= 65c816.h sa1.h 34SUBST_FILES.paircpp= 65c816.h sa1.h
33SUBST_SED.paircpp= -e 's|pair|snes9x_pair|g' 35SUBST_SED.paircpp= -e 's|pair|snes9x_pair|g'
34 36
35do-install: 37do-install:
36 ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${DESTDIR}${PREFIX}/bin 38 ${INSTALL_PROGRAM} ${WRKSRC}/snes9x ${DESTDIR}${PREFIX}/bin