SHA256
1
0
forked from pool/fillets-ng
fillets-ng/fillets-ng-0.9.3-datadir.patch

14 lines
557 B
Diff
Raw Normal View History

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