[73189] trunk/dports/devel/spin
jann at macports.org
jann at macports.org
Sat Nov 6 12:22:24 PDT 2010
Revision: 73189
http://trac.macports.org/changeset/73189
Author: jann at macports.org
Date: 2010-11-06 12:22:21 -0700 (Sat, 06 Nov 2010)
Log Message:
-----------
Preserve macports cflags
Modified Paths:
--------------
trunk/dports/devel/spin/Portfile
Removed Paths:
-------------
trunk/dports/devel/spin/files/patch-makefile.diff
Modified: trunk/dports/devel/spin/Portfile
===================================================================
--- trunk/dports/devel/spin/Portfile 2010-11-06 19:12:56 UTC (rev 73188)
+++ trunk/dports/devel/spin/Portfile 2010-11-06 19:22:21 UTC (rev 73189)
@@ -24,8 +24,7 @@
sha1 274649628c0c8ae3414b863c27a1b8d98a8e9921 \
rmd160 8d01f8dd0da8c8013fbb8c6d6e9a8c40b8c5f33f
depends_lib port:tk port:tcl
-patchfiles patch-xspin.diff \
- patch-makefile.diff
+patchfiles patch-xspin.diff
worksrcdir Spin/Src${version}
use_configure no
use_parallel_build no
@@ -42,6 +41,8 @@
}
build.target ""
+build.args CC="${configure.cc} -DNXT" \
+ CFLAGS='${configure.cflags} -ansi -D_POSIX_SOURCE -Wno-format-security -DMAC -DCPP=\"\\\"gcc -E -x c -xassembler-with-cpp\\""'
destroot {
xinstall -m 0444 ${worksrcpath}/../Man/${name}.1 \
Deleted: trunk/dports/devel/spin/files/patch-makefile.diff
===================================================================
--- trunk/dports/devel/spin/files/patch-makefile.diff 2010-11-06 19:12:56 UTC (rev 73188)
+++ trunk/dports/devel/spin/files/patch-makefile.diff 2010-11-06 19:22:21 UTC (rev 73189)
@@ -1,11 +0,0 @@
---- makefile.orig 2009-11-09 17:27:14.000000000 +0100
-+++ makefile 2010-11-01 17:42:27.000000000 +0100
-@@ -12,7 +12,7 @@
-
- CC=gcc -DNXT # -DNXT enables the X operator in LTL
- # CC=cc -m32 -DNXT # for 32bit compilation on a 64bit system
--CFLAGS=-ansi -D_POSIX_SOURCE -Wno-format-security # on some systems add: -I/usr/include
-+CFLAGS=-ansi -D_POSIX_SOURCE -Wno-format-security -DMAC -DCPP="\"gcc -E -x c -xassembler-with-cpp\"" # on some systems add: -I/usr/include
-
- # for a more picky compilation:
- # CFLAGS=-std=c99 -Wstrict-prototypes -pedantic -fno-strength-reduce -fno-builtin -W -Wshadow -Wpointer-arith -Wcast-qual -Winline -Wall -g
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101106/e64d2058/attachment.html>
More information about the macports-changes
mailing list