[MacPorts] #52859: apngasm 2.9.0
MacPorts
noreply at macports.org
Wed Nov 16 11:46:53 CET 2016
#52859: apngasm 2.9.0
---------------------------+--------------------------------
Reporter: japanesecake | Owner: macports-tickets@…
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: |
---------------------------+--------------------------------
Comment (by raimue):
I have some further comments after testing a build with this Portfile. It
is missing a dependency on libpng.
{{{
#!diff
@@ -17,6 +17,8 @@
checksums rmd160 c4ee4209734a4c3730f6273fc596d5236b6f0c8c \
sha256
5dfd34c9a560da81f91d37b891e23761c74659fe36e04ab2a46696562a9ed876
+depends_lib port:libpng
+
use_configure no
use_zip yes
}}}
The Makefile is calling `gcc`, see [wiki:UsingTheRightCompiler
#nonstandard-ports]. Furthermore, it uses `gcc` but manually links with
`libstdc++`. This is not a valid combination for `clang` with `libc++`.
The port should be using `${configure.cxx}` and the `-lstdc++` argument
needs to be removed. Either pass `CC=` with the correct value, or patch
the Makefile to use `CXX` as a patch is required anyway to remove the
`-lstdc++` argument.
--
Ticket URL: <https://trac.macports.org/ticket/52859#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list