Created attachment 150814 [details] "Brute force" correct PREFIX in generated Makefiles after configure My prefix is set to /opt here, but the port staged everything into ${STAGEDIR}/usr/local anyway. Installation failed.
Auto-assigned to maintainer multimedia@FreeBSD.org
Did it respect PREFIX before? No worries, I don't want to reject this generally, just being curious.
(In reply to Thomas Zander from comment #2) > Did it respect PREFIX before? I didn't have this problem with the liveMedia-2014.11.29,2 -- not sure, when the bug appeared. > No worries, I don't want to reject this generally, just being curious. My patch may not be the best solution -- but it is a solution. The PREFIX is not part of CONFIGURE_ENV (nor of CONFIGURE_ARGS) -- maybe, that's a better direction to take. But mine works too...
A commit references this bug: Author: riggs Date: Tue Dec 23 13:18:10 UTC 2014 New revision: 375322 URL: https://svnweb.freebsd.org/changeset/ports/375322 Log: - Ensure that PREFIX is respected - Pet portlint PR: 196162 Submitted by: mi@ALDAN.algebra.com Changes: head/net/liveMedia/Makefile head/net/liveMedia/pkg-message
It worries me that a project at some point decides to stop respecting PREFIX. Committed, thx.
(In reply to Thomas Zander from comment #5) Thank you, but why did you change PORTREVISION? The default install -- where /usr/local/ is the PREFIX anyway -- did not change. Does a small change to pkg-message justify having thousands of computers world-wide doing a rebuild?.. :-(
Because part of the commit was also removing superfluous empty lines from pkg-message, as pointed out by portlint. That changes the package content for everyone, hence the bump.