Ignore:
Timestamp:
Nov 29, 2008, 6:12:09 PM (11 years ago)
Author:
toby@…
Message:

more +universal

Location:
trunk/dports/sysutils/tmux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/sysutils/tmux/Portfile

    r42522 r42689  
    2222patchfiles       GNUmakefile.diff
    2323
    24 configure {
     24configure.cmd    true
     25post-configure {
    2526        reinplace "s|__PREFIX__|${prefix}|" "${worksrcpath}/GNUmakefile"
     27        reinplace "s|__CC__|${configure.cc}|" "${worksrcpath}/GNUmakefile"
     28        reinplace "s|__CFLAGS__|${configure.cflags}|" "${worksrcpath}/GNUmakefile"
     29        reinplace "s|__LDFLAGS__|${configure.ldflags}|" "${worksrcpath}/GNUmakefile"
    2630}
  • trunk/dports/sysutils/tmux/files/GNUmakefile.diff

    r42522 r42689  
    11--- GNUmakefile.orig    2008-09-25 23:45:25.000000000 -0700
    2 +++ GNUmakefile 2008-11-23 05:39:22.000000000 -0800
    3 @@ -36,7 +36,7 @@
     2+++ GNUmakefile 2008-11-29 10:08:06.000000000 -0800
     3@@ -35,9 +35,9 @@
     4       window-scroll.c window-more.c window-copy.c options.c paste.c \
    45       tty.c tty-keys.c tty-write.c colour.c utf8.c
    56 
    6  CC?= gcc
     7-CC?= gcc
    78-INCDIRS+= -I. -I-
     9-CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
     10+CC= __CC__
    811+INCDIRS+= -I.
    9  CFLAGS+= -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
     12+CFLAGS+= __CFLAGS__ -DBUILD="\"$(VERSION) ($(DATE))\"" -DMETA="'${META}'"
    1013 ifdef DEBUG
    1114 CFLAGS+= -g -ggdb -DDEBUG
    12 @@ -51,11 +51,11 @@
    13  LDFLAGS+=
     15 LDFLAGS+= -rdynamic
     16@@ -48,14 +48,14 @@
     17 CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
     18 CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
     19 
     20-LDFLAGS+=
     21+LDFLAGS+= __LDFLAGS__
    1422 LIBS+= -lncurses
    1523 
Note: See TracChangeset for help on using the changeset viewer.