updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / megazeux / Makefiles.patch
blobd2f561bc1b0d73241ddf16f5a80bd74708c746d1
1 diff -Nur mzx283.orig/arch/unix/Makefile.in mzx283/arch/unix/Makefile.in
2 --- mzx283.orig/arch/unix/Makefile.in 2009-05-24 10:01:28.000000000 +0900
3 +++ mzx283/arch/unix/Makefile.in 2010-06-06 21:35:20.169944498 +0900
4 @@ -41,14 +41,14 @@
5 ${install} -m 0755 ${editor_target} ${DESTDIR}${LIBDIR}
6 endif
7 ifeq (${BUILD_MZXRUN},1)
8 - @${install} -m 0755 -d ${DESTDIR}${GAMESDIR} && \
9 - ${install} -m 0755 ${mzxrun} ${DESTDIR}${GAMESDIR}/ && \
10 + @${install} -m 0755 -d ${DESTDIR}${BINDIR} && \
11 + ${install} -m 0755 ${mzxrun} ${DESTDIR}${BINDIR}/ && \
12 ${install} -m 0644 arch/unix/mzxrun.desktop \
13 ${DESTDIR}${SHAREDIR}/applications/mzxrun.desktop
14 endif
15 ifeq (${BUILD_EDITOR},1)
16 - @${install} -m 0755 -d ${DESTDIR}${GAMESDIR} && \
17 - ${install} -m 0755 ${mzx} ${DESTDIR}${GAMESDIR}/
18 + @${install} -m 0755 -d ${DESTDIR}${BINDIR} && \
19 + ${install} -m 0755 ${mzx} ${DESTDIR}${BINDIR}/
20 endif
21 ifeq (${BUILD_UTILS},1)
22 @${install} -m 0755 -d ${DESTDIR}${BINDIR} && \
23 diff -Nur mzx283.orig/Makefile mzx283/Makefile
24 --- mzx283.orig/Makefile 2009-12-26 08:07:19.000000000 +0900
25 +++ mzx283/Makefile 2010-06-06 21:33:16.783288527 +0900
26 @@ -48,8 +48,8 @@
27 ZLIB_LDFLAGS ?= -L${PREFIX}/lib -lz
29 ifeq (${LIBPNG},1)
30 -LIBPNG_CFLAGS ?= `libpng12-config --cflags`
31 -LIBPNG_LDFLAGS ?= `libpng12-config --libs`
32 +LIBPNG_CFLAGS ?= `libpng-config --cflags`
33 +LIBPNG_LDFLAGS ?= `libpng-config --libs`
34 endif
36 PTHREAD_LDFLAGS ?= -lpthread