[MacPorts] #34125: libcryptopp does not honor CXX

MacPorts noreply at macports.org
Thu Apr 19 08:01:46 PDT 2012


#34125: libcryptopp does not honor CXX
---------------------------------+------------------------------------------
 Reporter:  robnapier@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  2.0.4                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 libcrypopp assigns its own CXX in its GNUMakefile, which overrides the use
 of configure.compiler. The following patch fixes this:


 {{{
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/libcryptopp/Portfile
 2010-08-14 03:01:49.000000000 -0400
 +++ Portfile    2012-04-19 10:55:30.000000000 -0400
 @@ -30,6 +30,7 @@

  build.type          gnu
  build.env-append    CXXFLAGS="${configure.cxx_archflags}"
 +build.args-append   CXX="${configure.cxx}"

  test.run            yes
  test.cmd            ./cryptest.exe

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/34125>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list