[117319] trunk/dports/science/libbiosig/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Feb 21 16:49:12 PST 2014


Revision: 117319
          https://trac.macports.org/changeset/117319
Author:   ryandesign at macports.org
Date:     2014-02-21 16:49:12 -0800 (Fri, 21 Feb 2014)
Log Message:
-----------
libbiosig: fix universal build by not overriding the cmake portgroup's cflags and cxxflags (#42158)

Modified Paths:
--------------
    trunk/dports/science/libbiosig/Portfile

Modified: trunk/dports/science/libbiosig/Portfile
===================================================================
--- trunk/dports/science/libbiosig/Portfile	2014-02-22 00:03:43 UTC (rev 117318)
+++ trunk/dports/science/libbiosig/Portfile	2014-02-22 00:49:12 UTC (rev 117319)
@@ -31,11 +31,17 @@
                     port:zlib \
                     port:libiconv
 
-configure.args      -DUSE_SUITESPARSE=ON \
+configure.args-append \
+                    -DUSE_SUITESPARSE=ON \
                     -DUSE_ZLIB=ON \
                     -DZLIB_INCLUDE_DIR=${prefix}/include \
-                    -DZLIB_LIBRARY=${prefix}/lib/libz.dylib \
-                    -DCMAKE_C_FLAGS=-DMACPORTS \
-                    -DCMAKE_CXX_FLAGS=-DMACPORTS
+                    -DZLIB_LIBRARY=${prefix}/lib/libz.dylib
+
+configure.cflags-append \
+                    -DMACPORTS
+
+configure.cxxflags-append \
+                    -DMACPORTS
+
 configure.ldflags-append \
                     -lcholmod -liconv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140221/79396a00/attachment.html>


More information about the macports-changes mailing list