[67257] trunk/dports/devel/libcryptopp/Portfile

raphael at macports.org raphael at macports.org
Mon May 3 08:57:52 PDT 2010


Revision: 67257
          http://trac.macports.org/changeset/67257
Author:   raphael at macports.org
Date:     2010-05-03 08:57:46 -0700 (Mon, 03 May 2010)
Log Message:
-----------
libcryptopp: respect build_arch; fixes #24760

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

Modified: trunk/dports/devel/libcryptopp/Portfile
===================================================================
--- trunk/dports/devel/libcryptopp/Portfile	2010-05-03 15:47:54 UTC (rev 67256)
+++ trunk/dports/devel/libcryptopp/Portfile	2010-05-03 15:57:46 UTC (rev 67257)
@@ -24,9 +24,12 @@
 use_zip             yes
 extract.mkdir	    yes
 
+patchfiles          patch-GNUmakefile.diff
+
 use_configure       no
 
 build.type          gnu
+build.env-append    CXXFLAGS="-arch ${build_arch}"
 
 test.run            yes
 test.cmd            ./cryptest.exe
@@ -43,6 +46,6 @@
 }
 
 variant universal {
-    patchfiles          patch-GNUmakefile.diff
+    build.env-delete    CXXFLAGS="-arch ${build_arch}"
     build.env-append    CXXFLAGS="${configure.universal_cxxflags}"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100503/23d55b4a/attachment.html>


More information about the macports-changes mailing list