[50541] trunk/dports/sysutils/tmux/files/GNUmakefile.diff
toby at macports.org
toby at macports.org
Sat May 2 13:28:14 PDT 2009
Revision: 50541
http://trac.macports.org/changeset/50541
Author: toby at macports.org
Date: 2009-05-02 13:28:14 -0700 (Sat, 02 May 2009)
Log Message:
-----------
actually, just enable the warning flags unconditionally; clang supports them too
Modified Paths:
--------------
trunk/dports/sysutils/tmux/files/GNUmakefile.diff
Modified: trunk/dports/sysutils/tmux/files/GNUmakefile.diff
===================================================================
--- trunk/dports/sysutils/tmux/files/GNUmakefile.diff 2009-05-02 20:22:59 UTC (rev 50540)
+++ trunk/dports/sysutils/tmux/files/GNUmakefile.diff 2009-05-02 20:28:14 UTC (rev 50541)
@@ -1,6 +1,6 @@
---- GNUmakefile.orig 2009-05-02 13:20:45.000000000 -0700
-+++ GNUmakefile 2009-05-02 13:21:54.000000000 -0700
-@@ -46,28 +46,28 @@
+--- GNUmakefile.orig 2009-05-02 13:27:11.000000000 -0700
++++ GNUmakefile 2009-05-02 13:27:24.000000000 -0700
+@@ -46,28 +46,26 @@
osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \
osdep-darwin.c attributes.c
@@ -16,12 +16,11 @@
LIBS+= -ldl
endif
-ifeq (${CC},gcc)
-+ifneq (,$(findstring gcc,${CC}))
CFLAGS+= -Wno-long-long -Wall -W -Wnested-externs -Wformat=2
CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
- endif
+-endif
-LDFLAGS+=
+LDFLAGS+= __LDFLAGS__
@@ -37,7 +36,7 @@
ifeq ($(shell uname),AIX)
INCDIRS+= -I/usr/local/include/ncurses -Icompat
-@@ -103,7 +103,6 @@
+@@ -103,7 +101,6 @@
endif
ifeq ($(shell uname),Darwin)
@@ -45,7 +44,7 @@
SRCS+= compat/strtonum.c compat/bsd-poll.c compat/vis.c
CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE \
-DNO_QUEUE_H -DNO_TREE_H -DBROKEN_POLL
-@@ -137,8 +136,8 @@
+@@ -137,8 +134,8 @@
install:
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090502/d073b31e/attachment.html>
More information about the macports-changes
mailing list