diff options
Diffstat (limited to 'audio/cheesecutter/files/patch-Makefile.ldc')
-rw-r--r-- | audio/cheesecutter/files/patch-Makefile.ldc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/cheesecutter/files/patch-Makefile.ldc b/audio/cheesecutter/files/patch-Makefile.ldc new file mode 100644 index 000000000000..2c3ddca6aaa5 --- /dev/null +++ b/audio/cheesecutter/files/patch-Makefile.ldc @@ -0,0 +1,25 @@ +--- Makefile.ldc.orig 2021-01-21 17:07:49 UTC ++++ Makefile.ldc +@@ -1,5 +1,7 @@ + # make install DESTDIR=/home/yamo/devel/cc2/snap/parts/ccutter/install + ++PREFIX?=/usr ++EXAMPLESDIR?=/usr/share/examples/ccutter + LIBS=-L-ldl -L-lstdc++ + COMFLAGS=-O2 + VERSION=$(shell cat Version) +@@ -38,10 +40,10 @@ c64: $(C64OBJS) + install: all + strip ccutter$(EXE) + strip ct2util$(EXE) +- cp ccutter$(EXE) $(DESTDIR) +- cp ct2util$(EXE) $(DESTDIR) +- mkdir $(DESTDIR)/example_tunes +- cp -r tunes/* $(DESTDIR)/example_tunes ++ cp ccutter$(EXE) $(DESTDIR)$(PREFIX)/bin ++ cp ct2util$(EXE) $(DESTDIR)$(PREFIX)/bin ++ mkdir -p $(DESTDIR)/$(EXAMPLESDIR)/example_tunes ++ cp -r tunes/* $(DESTDIR)/$(EXAMPLESDIR)/example_tunes + + # release version with additional optimizations + release: DFLAGS += -frelease -fno-bounds-check |