aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dvtm/files/patch-config.mk
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2016-06-01 14:23:50 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2016-06-01 14:23:50 +0000
commitcdccdde4a101666066ce4d8d3fa9ef27ca376d39 (patch)
treeed81810f6fb87760b991f8c5b350fcef5994d5b3 /sysutils/dvtm/files/patch-config.mk
parent8dac5cecaa0aad9c8621c43892e987cea60ec027 (diff)
downloadports-cdccdde4a101666066ce4d8d3fa9ef27ca376d39.tar.gz
ports-cdccdde4a101666066ce4d8d3fa9ef27ca376d39.zip
Notes
Diffstat (limited to 'sysutils/dvtm/files/patch-config.mk')
-rw-r--r--sysutils/dvtm/files/patch-config.mk21
1 files changed, 8 insertions, 13 deletions
diff --git a/sysutils/dvtm/files/patch-config.mk b/sysutils/dvtm/files/patch-config.mk
index 1a9aa26c3fb8..fd4c20e3bb96 100644
--- a/sysutils/dvtm/files/patch-config.mk
+++ b/sysutils/dvtm/files/patch-config.mk
@@ -1,6 +1,6 @@
---- config.mk.orig 2014-11-15 15:01:02.000000000 +0100
-+++ config.mk 2015-01-08 12:08:14.000000000 +0100
-@@ -4,7 +4,7 @@
+--- config.mk.orig 2016-01-09 11:40:56 UTC
++++ config.mk
+@@ -4,14 +4,14 @@ VERSION = 0.15
# Customize below to fit your system
PREFIX ?= /usr/local
@@ -9,16 +9,11 @@
# specify your systems terminfo directory
# leave empty to install into your home folder
TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo
-@@ -21,10 +21,10 @@
- # Cygwin
- #INCS = -I/usr/include/ncurses
--CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
-+CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D__BSD_VISIBLE
+ INCS = -I.
+ LIBS = -lc -lutil -lncursesw
+-CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED
++CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_XOPEN_SOURCE_EXTENDED -D__BSD_VISIBLE
+ CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG ${CPPFLAGS}
LDFLAGS += ${LIBS}
- DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter
-
--CC = cc
-+CC ?= cc
- STRIP = strip