summaryrefslogtreecommitdiff
path: root/editors/dhex/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/dhex/files/patch-Makefile')
-rw-r--r--editors/dhex/files/patch-Makefile24
1 files changed, 10 insertions, 14 deletions
diff --git a/editors/dhex/files/patch-Makefile b/editors/dhex/files/patch-Makefile
index a635a05a188e..ffecd60d1206 100644
--- a/editors/dhex/files/patch-Makefile
+++ b/editors/dhex/files/patch-Makefile
@@ -1,20 +1,16 @@
---- ./Makefile.orig 2011-02-12 17:24:02.000000000 +0100
-+++ ./Makefile 2011-02-14 10:11:00.000000000 +0100
-@@ -1,7 +1,7 @@
+--- Makefile.orig 2019-01-19 16:17:37 UTC
++++ Makefile
+@@ -1,11 +1,6 @@
-CC= gcc
-LDFLAGS= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
-CPPFLAGS= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses
--CFLAGS= -O3 -Wall -std=c99
+-CFLAGS= -O3 -Wall #-std=c99
+-#CFLAGS+= -ffunction-sections -fdata-sections
+-#LDFLAGS+= --gc-sections
+CC?= gcc
-+#LDFLAGS+= -L/usr/lib -L/usr/local/lib -L/usr/lib/ncurses -L/usr/local/lib/ncurses
-+#CPPFLAGS+= -I/usr/include -I/usr/local/include -I/usr/include/ncurses -I/usr/local/include/ncurses
-+CFLAGS+= -std=c99
- #CFLAGS+= -ffunction-sections -fdata-sections
- #LDFLAGS+= --gc-sections
LIBS= -lncurses
-@@ -41,5 +41,3 @@
+-DESTDIR= /usr/local/
++DESTDIR?= /usr/local/
- clean:
- rm -f dhex $(OFILES)
--
--
+ OFILES=buffers.o \
+ configfile.o \