fillets-ng/fillets-ng-0.9.3-datadir.patch
OBS User autobuild 25b7fd32eb Accepting request 44512 from games
Copy from games/fillets-ng based on submit request 44512 from user coolo

OBS-URL: https://build.opensuse.org/request/show/44512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fillets-ng?expand=0&rev=13
2010-08-04 21:31:04 +00:00

14 lines
557 B
Diff

Index: src/gengine/Makefile.in
===================================================================
--- src/gengine/Makefile.in.orig
+++ src/gengine/Makefile.in
@@ -226,7 +226,7 @@ target_cpu = @target_cpu@
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=\""$(pkgdatadir)"\"
@WITH_BOOST_FALSE@FSPATH_IMPL = FsPath.cpp
@WITH_BOOST_TRUE@FSPATH_IMPL = FsPath_boost.cpp
EXTRA_DIST = FsPath.cpp FsPath_boost.cpp