aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
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 /net-mgmt
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 'net-mgmt')
-rw-r--r--net-mgmt/smokeping/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile
index f645ed44c95f..10c6ac61a02f 100644
--- a/net-mgmt/smokeping/Makefile
+++ b/net-mgmt/smokeping/Makefile
@@ -36,6 +36,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= PERL=${PERL} PERL5LIB=${PREFIX}/smokeping/lib
CONFIGURE_ARGS+= \
--sysconfdir=${ETCDIR} \
+ --localstatedir="${PREFIX}/var" \
--with-htdocs-dir=${PREFIX}/smokeping/htdocs \
--libdir=${PREFIX}/smokeping/lib
HTDOCSDIR= ${PREFIX}/smokeping/htdocs