[133392] trunk/dports/lang/squirrel

raimue at macports.org raimue at macports.org
Sat Feb 28 07:05:41 PST 2015


Revision: 133392
          https://trac.macports.org/changeset/133392
Author:   raimue at macports.org
Date:     2015-02-28 07:05:41 -0800 (Sat, 28 Feb 2015)
Log Message:
-----------
lang/squirrel:
Update to version 3.0.7, adapt patches and use default CFLAGS/CXXFLAGS/LDFLAGS

Modified Paths:
--------------
    trunk/dports/lang/squirrel/Portfile
    trunk/dports/lang/squirrel/files/patch-sq-Makefile.diff
    trunk/dports/lang/squirrel/files/patch-sqstdlib-Makefile.diff
    trunk/dports/lang/squirrel/files/patch-squirrel-Makefile.diff

Modified: trunk/dports/lang/squirrel/Portfile
===================================================================
--- trunk/dports/lang/squirrel/Portfile	2015-02-28 11:42:51 UTC (rev 133391)
+++ trunk/dports/lang/squirrel/Portfile	2015-02-28 15:05:41 UTC (rev 133392)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    squirrel
-version                 3.0.4
+version                 3.0.7
 categories              lang
 platforms               darwin
 license                 MIT
@@ -19,10 +19,11 @@
                         video games.
 homepage                http://www.squirrel-lang.org/
 
-master_sites            googlecode
+master_sites            sourceforge
 distname                squirrel_[string map {. _} ${version}]_stable
-checksums               rmd160  0a60aa77d55b32839a16c4b954238a2b856ff4b4 \
-                        sha256  6a3706accf9872aafea1eb3f3f3018b135e2671033824ccebf0735a98b2440a5
+checksums               sha1 5ae3f669677ac5f5d663ec070d42ee68980e1911 \
+                        rmd160  ca626275b43d6ebc29e99d33b65cf3c67f9bc72f \
+                        sha256  c7c2548e2d2d74116303445118e197f585a3a5e6bde06fdfe668c05b1cb43fa2
 
 worksrcdir              SQUIRREL[lindex [split ${version} .] 0]
 
@@ -33,12 +34,12 @@
 
 use_configure           no
 
-build.args              CC=${configure.cc} \
-                        CXX=${configure.cxx}
+build.args              CC="${configure.cc}" \
+                        CXX="${configure.cxx}"
 
-set cflags "[get_canonical_archflags cc]"
-set cxxflags "[get_canonical_archflags cxx]"
-set ldflags "[get_canonical_archflags ld]"
+set cflags "${configure.cflags} [get_canonical_archflags cc]"
+set cxxflags "${configure.cxxflags} [get_canonical_archflags cxx]"
+set ldflags "${configure.ldflags} [get_canonical_archflags ld]"
 if {${configure.sdkroot} != ""} {
     set cflags "${cflags} -isysroot ${configure.sdkroot}"
     set cxxflags "${cxxflags} -isysroot ${configure.sdkroot}"

Modified: trunk/dports/lang/squirrel/files/patch-sq-Makefile.diff
===================================================================
--- trunk/dports/lang/squirrel/files/patch-sq-Makefile.diff	2015-02-28 11:42:51 UTC (rev 133391)
+++ trunk/dports/lang/squirrel/files/patch-sq-Makefile.diff	2015-02-28 15:05:41 UTC (rev 133392)
@@ -5,9 +5,9 @@
  	
  	
 -sq32:
--	g++ -O2 -s -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
+-	g++ -O2 -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
 +all:
-+	$(CXX) $(CXXFLAGS) $(LDFLAGS) -O2 -s -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
++	$(CXX) $(CXXFLAGS) $(LDFLAGS) -fno-exceptions -fno-rtti -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)
  
  sqprof:
  	g++ -O2 -pg -fno-exceptions -fno-rtti -pie -gstabs -g3 -o $(OUT) $(SRCS) $(INCZ) $(LIBZ) $(LIB)

Modified: trunk/dports/lang/squirrel/files/patch-sqstdlib-Makefile.diff
===================================================================
--- trunk/dports/lang/squirrel/files/patch-sqstdlib-Makefile.diff	2015-02-28 11:42:51 UTC (rev 133391)
+++ trunk/dports/lang/squirrel/files/patch-sqstdlib-Makefile.diff	2015-02-28 15:05:41 UTC (rev 133392)
@@ -7,7 +7,7 @@
 -sq32:
 -	gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
 +all:
-+	$(CC) $(CFLAGS) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
++	$(CC) $(CFLAGS) -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ)
  	ar rc $(OUT) *.o
  	rm *.o
  

Modified: trunk/dports/lang/squirrel/files/patch-squirrel-Makefile.diff
===================================================================
--- trunk/dports/lang/squirrel/files/patch-squirrel-Makefile.diff	2015-02-28 11:42:51 UTC (rev 133391)
+++ trunk/dports/lang/squirrel/files/patch-squirrel-Makefile.diff	2015-02-28 15:05:41 UTC (rev 133392)
@@ -7,7 +7,7 @@
 -sq32:
 -	gcc -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
 +all:
-+	$(CC) $(CFLAGS) -O2 -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
++	$(CC) $(CFLAGS) -fno-exceptions -fno-rtti -Wall -fno-strict-aliasing -c $(SRCS) $(INCZ) $(DEFS)
  	ar rc $(OUT) *.o
  	rm *.o
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150228/70c7d7a2/attachment.html>


More information about the macports-changes mailing list