freebsd-ports/misc/ytree/files/patch-aa
Jimmy Olgeni 2898fb6886 Unbreak on GCC 4.2.
PR:		ports/118448
Submitted by:	Bernd Luevelsmeyer <bdluevel(at)heitec.net>
Approved by:	portsmgr (erwin)
2007-12-09 20:15:56 +00:00

27 lines
803 B
Text

$FreeBSD$
--- Makefile.orig
+++ Makefile
@@ -32,8 +32,8 @@
COLOR = -DCOLOR_SUPPORT
CLOCK = -DCLOCK_SUPPORT # Experimental!
READLINE = -DREADLINE_SUPPORT
-CFLAGS = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
-LDFLAGS = -lncurses -lreadline
+#CFLAGS = -D_GNU_SOURCE $(ADD_CFLAGS) $(COLOR) $(CLOCK) $(READLINE)
+#LDFLAGS = -lncurses -lreadline
###########################
# LINUX with Wide character support (testet with ncurses 5.4)
@@ -87,8 +87,8 @@
###########################
# FreeBSD (Thanks to Peter Brevik)
###########################
-#CFLAGS = -DCOLOR_SUPPORT -DNCURSES
-#LDFLAGS = -lncurses -lmytinfo -lcompat
+CFLAGS = -DCOLOR_SUPPORT -DNCURSES
+LDFLAGS = -lncurses -lcompat
###########################
# MAC OS X