[103328] trunk/dports/science/KlustaKwik

larryv at macports.org larryv at macports.org
Thu Feb 21 20:49:10 PST 2013


Revision: 103328
          https://trac.macports.org/changeset/103328
Author:   larryv at macports.org
Date:     2013-02-21 20:49:10 -0800 (Thu, 21 Feb 2013)
Log Message:
-----------
KlustaKwik: Change portfile to only pass arch flags.

Modified Paths:
--------------
    trunk/dports/science/KlustaKwik/Portfile
    trunk/dports/science/KlustaKwik/files/patch-makefile.diff

Modified: trunk/dports/science/KlustaKwik/Portfile
===================================================================
--- trunk/dports/science/KlustaKwik/Portfile	2013-02-22 04:08:15 UTC (rev 103327)
+++ trunk/dports/science/KlustaKwik/Portfile	2013-02-22 04:49:10 UTC (rev 103328)
@@ -4,6 +4,7 @@
 
 name                    KlustaKwik
 version                 2.0.1
+revision                1
 categories              science
 platforms               darwin
 license                 GPL-2
@@ -31,11 +32,7 @@
 
 build.target
 build.args              CXX=${configure.cxx} \
-                        CPPFLAGS="${configure.cppflags}" \
-                        CXXFLAGS="${configure.cxxflags} \
-                            [get_canonical_archflags cxx]" \
-                        LDFLAGS="${configure.ldflags} \
-                            [get_canonical_archflags ld]"
+                        CXXFLAGS="[get_canonical_archflags cxx]"
 
 destroot {
     xinstall ${worksrcpath}/KlustaKwik ${destroot}${prefix}/bin

Modified: trunk/dports/science/KlustaKwik/files/patch-makefile.diff
===================================================================
--- trunk/dports/science/KlustaKwik/files/patch-makefile.diff	2013-02-22 04:08:15 UTC (rev 103327)
+++ trunk/dports/science/KlustaKwik/files/patch-makefile.diff	2013-02-22 04:49:10 UTC (rev 103328)
@@ -1,7 +1,6 @@
 --- makefile.orig	2005-09-08 12:38:42.000000000 -0400
-+++ makefile	2013-02-21 19:32:45.000000000 -0500
-@@ -1,2 +1,3 @@
++++ makefile	2013-02-21 23:39:57.000000000 -0500
+@@ -1,2 +1,2 @@
  KlustaKwik: KlustaKwik.C
 -	g++ -g -O -o KlustaKwik KlustaKwik.C  param.c -lm
-+	$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) \
-+	    -o KlustaKwik KlustaKwik.C  param.c -lm
++	$(CXX) -g -O $(CXXFLAGS) -o KlustaKwik KlustaKwik.C  param.c -lm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130221/01bdb5b9/attachment.html>


More information about the macports-changes mailing list