aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-05-30 01:54:23 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-05-30 01:54:23 +0000
commitf862f9ebb5253260177b44651b32eb39df75daea (patch)
treef1cf182c6f9f90f6fdbaeb4c7f8bda27429f8be4
parenta21cb4cabb7f874eb02ac4ea6115440b0439b56e (diff)
downloadports-f862f9ebb5253260177b44651b32eb39df75daea.tar.gz
ports-f862f9ebb5253260177b44651b32eb39df75daea.zip
Notes
-rw-r--r--emulators/fmsx/Makefile6
-rw-r--r--emulators/fmsx/files/patch-EMULib_Rules.Unix9
2 files changed, 13 insertions, 2 deletions
diff --git a/emulators/fmsx/Makefile b/emulators/fmsx/Makefile
index 6c46a051fab0..176a53ab4e7f 100644
--- a/emulators/fmsx/Makefile
+++ b/emulators/fmsx/Makefile
@@ -7,6 +7,7 @@
PORTNAME= fmsx
PORTVERSION= 3.5.1
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= ahttp://www.mavetju.org/download/adopted/:code \
http://fms.komkon.org/fMSX/:code \
@@ -24,7 +25,7 @@ COMMENT= The Portable MSX/MSX2/MSX2+ Emulator
USE_XORG= xi x11
USE_ZIP= yes
USE_GMAKE= yes
-USE_DOS2UNIX= EMULib/NetUnix.c
+USE_DOS2UNIX= EMULib/NetUnix.c EMULib/Rules.Unix
RESTRICTED= Legal status of distributed ROM images unclear
WRKSRC= ${WRKDIR}
@@ -37,7 +38,8 @@ OPTIONS= BPP8 "With BPP8" Off \
post-patch:
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \
- ${WRKSRC}/fMSX/Unix/Makefile
+ ${WRKSRC}/fMSX/Unix/Makefile \
+ ${WRKSRC}/EMULib/Rules.Unix
#post-patch:
.ifdef(WITH_BPP32) || defined(PACKAGE_BUILDING) || defined(BATCH)
diff --git a/emulators/fmsx/files/patch-EMULib_Rules.Unix b/emulators/fmsx/files/patch-EMULib_Rules.Unix
new file mode 100644
index 000000000000..c937d3a45f1f
--- /dev/null
+++ b/emulators/fmsx/files/patch-EMULib_Rules.Unix
@@ -0,0 +1,9 @@
+--- EMULib/Rules.Unix.orig 2008-05-30 01:51:56.000000000 +0000
++++ EMULib/Rules.Unix 2008-05-30 01:52:07.000000000 +0000
+@@ -1,5 +1,5 @@
+ include ../../EMULib/Rules.gcc
+
+-CFLAGS += -I/usr/X11R6/include
++CFLAGS += -I%%LOCALBASE%%/include
+ DEFINES+= -DUNIX -DMITSHM
+ LIBS += -lX11 -lXext