aboutsummaryrefslogtreecommitdiff
path: root/emulators/fmsx/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/fmsx/files')
-rw-r--r--emulators/fmsx/files/fmsx3
-rw-r--r--emulators/fmsx/files/fmsx.in3
-rw-r--r--emulators/fmsx/files/patch-EMULib_Rules.Unix4
3 files changed, 5 insertions, 5 deletions
diff --git a/emulators/fmsx/files/fmsx b/emulators/fmsx/files/fmsx
deleted file mode 100644
index 3edae8ae6a3c..000000000000
--- a/emulators/fmsx/files/fmsx
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-exec PREFIX/bin/fmsx.bin -home PREFIX/share/fmsx "$@"
diff --git a/emulators/fmsx/files/fmsx.in b/emulators/fmsx/files/fmsx.in
new file mode 100644
index 000000000000..20b83391a5fa
--- /dev/null
+++ b/emulators/fmsx/files/fmsx.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec %%PREFIX%%/libexec/fmsx -home %%DATADIR%% "$@"
diff --git a/emulators/fmsx/files/patch-EMULib_Rules.Unix b/emulators/fmsx/files/patch-EMULib_Rules.Unix
index 71539b77d59e..4ad8ab8fcfd8 100644
--- a/emulators/fmsx/files/patch-EMULib_Rules.Unix
+++ b/emulators/fmsx/files/patch-EMULib_Rules.Unix
@@ -5,8 +5,8 @@
include ../../EMULib/Rules.gcc
-CFLAGS += -I$(EMULIB)/Unix -I/usr/X11R6/include
-+CFLAGS += -I$(EMULIB)/Unix -I%%LOCALBASE%%/include $(DEBUG_FLAGS)
++CFLAGS += -I$(EMULIB)/Unix -I${LOCALBASE}/include $(DEBUG_FLAGS)
DEFINES+= -DUNIX -DMITSHM -DBPS16
-LIBS += -lX11 -lXext
-+LIBS += -L%%LOCALBASE%%/lib -lX11 -lXext
++LIBS += -L${LOCALBASE}/lib -lX11 -lXext
OBJECTS+= $(EMUUNIX)