[50540] trunk/dports/sysutils/tmux/files/GNUmakefile.diff

toby at macports.org toby at macports.org
Sat May 2 13:23:00 PDT 2009


Revision: 50540
          http://trac.macports.org/changeset/50540
Author:   toby at macports.org
Date:     2009-05-02 13:22:59 -0700 (Sat, 02 May 2009)
Log Message:
-----------
fix gcc check

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:13:33 UTC (rev 50539)
+++ trunk/dports/sysutils/tmux/files/GNUmakefile.diff	2009-05-02 20:22:59 UTC (rev 50540)
@@ -1,6 +1,6 @@
---- GNUmakefile.orig	2008-09-25 23:45:25.000000000 -0700
-+++ GNUmakefile	2008-11-29 10:08:06.000000000 -0800
-@@ -46,9 +46,9 @@
+--- GNUmakefile.orig	2009-05-02 13:20:45.000000000 -0700
++++ GNUmakefile	2009-05-02 13:21:54.000000000 -0700
+@@ -46,28 +46,28 @@
        osdep-unknown.c osdep-openbsd.c osdep-freebsd.c osdep-linux.c \
        osdep-darwin.c attributes.c
  
@@ -13,7 +13,13 @@
  ifdef FDEBUG
  CFLAGS+= -g -ggdb -DDEBUG
  LDFLAGS+= -rdynamic
-@@ -61,13 +61,13 @@
+ 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
  
@@ -39,7 +45,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 +137,8 @@
+@@ -137,8 +136,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/bce6a116/attachment.html>


More information about the macports-changes mailing list