diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/komi/files/1.04-DESTDIR.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/komi/files/1.04-DESTDIR.patch')
-rw-r--r-- | games-arcade/komi/files/1.04-DESTDIR.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/games-arcade/komi/files/1.04-DESTDIR.patch b/games-arcade/komi/files/1.04-DESTDIR.patch new file mode 100644 index 000000000000..2573b01e5c91 --- /dev/null +++ b/games-arcade/komi/files/1.04-DESTDIR.patch @@ -0,0 +1,36 @@ +--- Makefile.orig 2004-12-11 01:36:11.000000000 -0800 ++++ Makefile 2004-12-11 01:36:14.000000000 -0800 +@@ -13,9 +13,7 @@ + MIXER=-lSDL_mixer + SDL_LIB=$(shell sdl-config --static-libs) $(MIXER) + +-CFLAGS=-Wall -pedantic -std=c99 -O2 \ +- $(shell sdl-config --cflags) \ +- -DDATAPATH=\"$(DATAPATH)\" ++CFLAGS= $(ECFLAGS) $(shell sdl-config --cflags) -DDATAPATH=\"$(DATAPATH)\" + + all: komi + +@@ -24,15 +22,13 @@ + -rm *.o + + install: +- install -d $(DATAPATH) +- cp -R komidata/* $(DATAPATH) +- chmod -R 644 $(DATAPATH) +- chmod 755 $(DATAPATH) +- install -d $(BINPATH) +- cp komi $(BINPATH) +- chmod 755 $(BINPATH)komi +- install -d $(MANPATH) +- cp komi.6 $(MANPATH)komi.6 ++ install -d $(DESTDIR)$(DATAPATH) ++ cp -R komidata/* $(DESTDIR)$(DATAPATH) ++ chmod -R 644 $(DESTDIR)$(DATAPATH) ++ chmod 755 $(DESTDIR)$(DATAPATH) ++ install -d $(DESTDIR)$(BINPATH) ++ cp komi $(DESTDIR)$(BINPATH) ++ chmod 755 $(DESTDIR)$(BINPATH)/komi + + komi: komi.o + $(CC) $(CFLAGS) komi.o -o komi $(SDL_LIB) |