File fillets-ng-0.9.3-datadir.patch of Package fillets-ng

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
openSUSE Build Service is sponsored by