diff options
Diffstat (limited to 'games/SpaceZero/Makefile.patch')
-rw-r--r-- | games/SpaceZero/Makefile.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games/SpaceZero/Makefile.patch b/games/SpaceZero/Makefile.patch new file mode 100644 index 0000000000..4d9fab2351 --- /dev/null +++ b/games/SpaceZero/Makefile.patch @@ -0,0 +1,25 @@ +--- spacezero/Makefile.original 2014-04-07 20:07:25.673407307 +0300 ++++ spacezero/Makefile 2014-04-07 20:08:30.901591842 +0300 +@@ -9,11 +9,11 @@ + RECORDFILE=$(CONFIGDIR)/record + + # The binary executable will be copied in the next directory. +-INSTALL_DIR=/usr/local/games ++INSTALL_DIR=/usr/bin + + # All data files will be copied in the next directory. + # tar.gz +-INSTALL_DATA_DIR=/usr/local/share/spacezero ++INSTALL_DATA_DIR=/usr/share/games/SpaceZero + + # DEB pkg + #INSTALL_DIR=/usr/games +@@ -27,7 +27,7 @@ + GTKFLAGS12=`gtk-config --libs` + + CFLAGS= -Wall -O3 --pedantic -I./include -DDATADIR=\"$(DATADIR)\" -DINSTALL_DATA_DIR=\"$(INSTALL_DATA_DIR)\" +-LDFLAGS= -lm -lpthread $(SOUNDFLAGS) $(GTKLIBS) ++LDFLAGS= -lm -lpthread -lX11 -lXext -ldl $(SOUNDFLAGS) $(GTKLIBS) + + # DEB pkg + #CFLAGS += `dpkg-buildflags --get CFLAGS` |