Opened 13 years ago

Closed 13 years ago

#34125 closed defect (fixed)

libcryptopp does not honor CXX

Reported by: robnapier@… Owned by: raphael-st (Raphael Straub)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: libcryptopp

Description

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

Change History (3)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to raphael@…
Port: libcryptopp added

We prefer that you attach (not paste into the description) the patch as a unified diff.

In the future, please fill in the Port field, and Cc the port maintainer(s).

comment:2 Changed 13 years ago by raphael-st (Raphael Straub)

Status: newassigned

comment:3 Changed 13 years ago by raphael-st (Raphael Straub)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.