[73186] trunk/dports/devel/spin

jann at macports.org jann at macports.org
Sat Nov 6 11:54:04 PDT 2010


Revision: 73186
          http://trac.macports.org/changeset/73186
Author:   jann at macports.org
Date:     2010-11-06 11:54:01 -0700 (Sat, 06 Nov 2010)
Log Message:
-----------
Resolve issue #27061

Modified Paths:
--------------
    trunk/dports/devel/spin/Portfile

Added Paths:
-----------
    trunk/dports/devel/spin/files/patch-makefile.diff

Modified: trunk/dports/devel/spin/Portfile
===================================================================
--- trunk/dports/devel/spin/Portfile	2010-11-06 18:39:05 UTC (rev 73185)
+++ trunk/dports/devel/spin/Portfile	2010-11-06 18:54:01 UTC (rev 73186)
@@ -6,6 +6,7 @@
 name            spin
 version         5.2.5
 set version_no_dot [join [split ${version} .] ""]
+revision        1
 distname        ${name}${version_no_dot}
 categories      devel
 platforms       darwin
@@ -23,7 +24,8 @@
                     sha1    274649628c0c8ae3414b863c27a1b8d98a8e9921 \
                     rmd160  8d01f8dd0da8c8013fbb8c6d6e9a8c40b8c5f33f
 depends_lib     port:tk port:tcl
-patchfiles      patch-xspin.diff
+patchfiles      patch-xspin.diff \
+                patch-makefile.diff
 worksrcdir      Spin/Src${version}
 use_configure   no
 use_parallel_build no
@@ -40,7 +42,6 @@
 }
 
 build.target    ""
-build.args      CC="${configure.cc} -DNXT" CFLAGS="${configure.cflags} -ansi -D_POSIX_SOURCE -Wno-format-security"
 
 destroot    {
     xinstall -m 0444 ${worksrcpath}/../Man/${name}.1 \

Added: trunk/dports/devel/spin/files/patch-makefile.diff
===================================================================
--- trunk/dports/devel/spin/files/patch-makefile.diff	                        (rev 0)
+++ trunk/dports/devel/spin/files/patch-makefile.diff	2010-11-06 18:54:01 UTC (rev 73186)
@@ -0,0 +1,11 @@
+--- 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/51a56a2f/attachment.html>


More information about the macports-changes mailing list