fillets-ng/fillets-ng-0.7.4.diff

22 lines
734 B
Diff

--- src/gengine/Makefile.am
+++ src/gengine/Makefile.am
@@ -1,6 +1,6 @@
INCLUDES = $(SDL_CFLAGS) $(LUA_CFLAGS) $(BOOST_CFLAGS)
-AM_CPPFLAGS = -DSYSTEM_DATA_DIR=\""@datadir@"\"
+AM_CPPFLAGS = -DSYSTEM_DATA_DIR=\""$(datadir)/games/@PACKAGE@"\"
if WITH_BOOST
FSPATH_IMPL = FsPath_boost.cpp
--- src/gengine/Makefile.in
+++ src/gengine/Makefile.in
@@ -226,7 +226,7 @@
target_os = @target_os@
target_vendor = @target_vendor@
INCLUDES = $(SDL_CFLAGS) $(LUA_CFLAGS) $(BOOST_CFLAGS)
-AM_CPPFLAGS = -DSYSTEM_DATA_DIR=\""@datadir@"\"
+AM_CPPFLAGS = -DSYSTEM_DATA_DIR=\""$(datadir)/games/@PACKAGE@"\"
@WITH_BOOST_FALSE@FSPATH_IMPL = FsPath.cpp
@WITH_BOOST_TRUE@FSPATH_IMPL = FsPath_boost.cpp
EXTRA_DIST = FsPath.cpp FsPath_boost.cpp