diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-04-20 19:06:29 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-04-20 19:06:29 +0000 |
commit | 68edbeeaae964d81a4b96aea76974015371e7b07 (patch) | |
tree | 3686bc2aca372d50de8d274ce1e86a1d8116f741 /Mk/Scripts/qa.sh | |
parent | multimedia/handbrake: register CONFLICTS_BUILD with x265 (diff) |
- Display a stage-qa warning when ports use PREFIX/var instead of /var
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not
when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to
PREFIX/var when PREFIX != /usr.)
- Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so
they aren't affected by this change (for now at least). This commit is
meant to ensure that new ports don't make the same mistake.
- games/acm: the configure script in this port is very old; instead of
patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE.
- irc/charybdis: it already used /var but adding --localstatedir=/var
changed the behaviour of the configure script; adjust the port to this.
PR: 199506
Exp-run by: antoine
Approved by: portmgr (antoine)
Notes
Notes:
svn path=/head/; revision=384380
Diffstat (limited to 'Mk/Scripts/qa.sh')
-rw-r--r-- | Mk/Scripts/qa.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index dfab22a53ea1..864ea3ca8f4c 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -255,7 +255,13 @@ libperl() { fi } -checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl" +prefixvar() { + if test -d ${STAGEDIR}${PREFIX}/var; then + warn "port uses ${PREFIX}/var instead of /var" + fi +} + +checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo suidfiles libtool libperl prefixvar" ret=0 cd ${STAGEDIR} |