aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fortunelock/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/fortunelock/files/patch-aa')
-rw-r--r--sysutils/fortunelock/files/patch-aa28
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/fortunelock/files/patch-aa b/sysutils/fortunelock/files/patch-aa
new file mode 100644
index 000000000000..440a2c72e4ef
--- /dev/null
+++ b/sysutils/fortunelock/files/patch-aa
@@ -0,0 +1,28 @@
+--- Makefile.orig Thu Apr 20 14:15:07 2000
++++ Makefile Wed Apr 26 19:16:04 2000
+@@ -1,10 +1,10 @@
+-CC=gcc
+-CFLAGS=-O3
++CC?=gcc
++CFLAGS?=-O3
+ #CFLAGS=-O3 -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
+ #CFLAGS=-g -Wall -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -pedantic -ansi
+ TARGET=fortunelock
+ LIBS=-lncurses
+-PREFIXDIR=/usr/local
++PREFIX?=/usr/local
+
+ all: $(TARGET)
+
+@@ -19,8 +19,8 @@
+
+ install:
+ strip fortunelock
+- install -m 755 fortunelock $(PREFIXDIR)/bin
+- install -m 644 fortunelock.1 $(PREFIXDIR)/man/man1
++ install -c -m 755 fortunelock $(PREFIX)/bin
++ install -c -m 644 fortunelock.1 $(PREFIX)/man/man1
+
+ uninstall:
+- rm -rf $(PREFIXDIR)/bin/fortunelock
++ rm -rf $(PREFIX)/bin/fortunelock