fillets-ng/fillets-ng-0.8.1.patch
OBS User autobuild fdaa1a915b Accepting request 34679 from games
Copy from games/fillets-ng based on submit request 34679 from user dimstar

OBS-URL: https://build.opensuse.org/request/show/34679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fillets-ng?expand=0&rev=9
2010-03-12 15:46:31 +00:00

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