aboutsummaryrefslogtreecommitdiffstats
path: root/devel/global
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2015-04-21 03:06:29 +0800
committertijl <tijl@FreeBSD.org>2015-04-21 03:06:29 +0800
commit427785247d2c9559e5acf41ccb52a2a58cd12ba4 (patch)
tree3686bc2aca372d50de8d274ce1e86a1d8116f741 /devel/global
parentb2cc9357b045ceccdc0534c47decc75fefa5b93f (diff)
downloadfreebsd-ports-gnome-427785247d2c9559e5acf41ccb52a2a58cd12ba4.tar.gz
freebsd-ports-gnome-427785247d2c9559e5acf41ccb52a2a58cd12ba4.tar.zst
freebsd-ports-gnome-427785247d2c9559e5acf41ccb52a2a58cd12ba4.zip
- 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)
Diffstat (limited to 'devel/global')
-rw-r--r--devel/global/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/global/Makefile b/devel/global/Makefile
index 2f58f4c25ef6..06129522dbef 100644
--- a/devel/global/Makefile
+++ b/devel/global/Makefile
@@ -14,6 +14,7 @@ LICENSE= GPLv3
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir="${PREFIX}/var"
INSTALL_TARGET= install-strip
USES= libtool perl5