summaryrefslogtreecommitdiff
path: root/app-admin/longrun/files/0.9-makefile_cflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/longrun/files/0.9-makefile_cflags.patch')
-rw-r--r--app-admin/longrun/files/0.9-makefile_cflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-admin/longrun/files/0.9-makefile_cflags.patch b/app-admin/longrun/files/0.9-makefile_cflags.patch
new file mode 100644
index 000000000000..8848dc667866
--- /dev/null
+++ b/app-admin/longrun/files/0.9-makefile_cflags.patch
@@ -0,0 +1,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -2,8 +2,8 @@
+
+ all: longrun README stamp-po
+
+-longrun: longrun.c
+- gcc -DLOCALEDIR=\"$(LOCALEDIR)\" -g -O2 -W -Wall -o longrun longrun.c
++CFLAGS += -W -Wall
++CPPFLAGS += -DLOCALEDIR=\"$(LOCALEDIR)\"
+
+ README: longrun.1
+ groff -Tascii -man longrun.1 | col -bx > README