aboutsummaryrefslogtreecommitdiff
path: root/graphics/flphoto
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-09-07 11:12:32 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2015-09-07 11:12:32 +0000
commit53d279a72a303ebc4af74c0bf68fd6f09bd5d39e (patch)
treee9c7625a42ec155f31c13d17bb43eea294e9a357 /graphics/flphoto
parent519117c04b1d4197a1c72ede7a9bfe6c0fdb015a (diff)
downloadports-53d279a72a303ebc4af74c0bf68fd6f09bd5d39e.tar.gz
ports-53d279a72a303ebc4af74c0bf68fd6f09bd5d39e.zip
Add USES=libarchive, stop setting LDFLAGS.
1. Import a pull request I've just sent upstream that makes FindHelper.cmake behave better and stop using pkg-config's output directly as include and library paths. The consequence is that libraries like libarchive, libsndfile, jack etc are now found with their full path and we can stop setting LDFLAGS in Makefile. 2. Set USES=libarchive. Even though the port does not require any functionality that is only present in libarchive from ports, explicitly depending on a certain version makes things more consistent. Additionally, before this patch there would be no dependency on libarchive from ports but since the linker was previously called like this: c++ ... -o hydrogen -L/usr/local/lib -larchive -lsndfile ... so the port would end up linking against libarchive from ports when it was present (which is always, since devel/cmake depends on it). And with this patch we have c++ ... -o hydrogen -larchive /usr/local/lib/libsndfile.so ... which does link against libarchive from base, but then fails `make stage-qa', which expects all ports to link against ports libarchive. PR: 202905 Approved by: FreeBSD@ShaneWare.Biz (maintainer)
Notes
Notes: svn path=/head/; revision=396259
Diffstat (limited to 'graphics/flphoto')
0 files changed, 0 insertions, 0 deletions