Skip to content

Commit

Permalink
AtomicParsley: Use MacPorts CXXFLAGS
Browse files Browse the repository at this point in the history
Now builds with the right C++ standard library.

See: https://trac.macports.org/ticket/56644
  • Loading branch information
ryandesign committed Jun 10, 2018
1 parent af3d416 commit df24b59
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions multimedia/AtomicParsley/Portfile
Expand Up @@ -4,6 +4,7 @@ PortSystem 1.0

name AtomicParsley
version 0.9.0
revision 1
categories multimedia
platforms darwin
maintainers nomaintainer
Expand All @@ -28,8 +29,9 @@ conflicts AtomicParsley-devel
variant universal {}

post-patch {
reinplace "s|g++ |${configure.cxx} [get_canonical_archflags cxx] |g" ${worksrcpath}/build
reinplace "s|-O2 |${configure.optflags} |g" ${worksrcpath}/build
reinplace "s|g++ |${configure.cxx} ${configure.cxxflags} [get_canonical_archflags cxx] |g" ${worksrcpath}/build
reinplace "s|-O2 ||g" ${worksrcpath}/build

# fix usage of private type, b0rked in Leopard
# -eridius
reinplace -locale en_US.ISO8859-1 "s|_NSBitmapImageFileType|NSBitmapImageFileType|g" ${worksrcpath}/AP_NSImage.mm
Expand Down

0 comments on commit df24b59

Please sign in to comment.