aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2017-01-19 20:42:34 +0800
committertijl <tijl@FreeBSD.org>2017-01-19 20:42:34 +0800
commit98fde9dd740e494a0692a83ddaa5f40f241e2a6b (patch)
treea2787260e27c5a09b771adff519ec1e136303b09 /Mk
parent3057055ed9529d9c1185715d5a30c26b3c35db9a (diff)
downloadfreebsd-ports-gnome-98fde9dd740e494a0692a83ddaa5f40f241e2a6b.tar.gz
freebsd-ports-gnome-98fde9dd740e494a0692a83ddaa5f40f241e2a6b.tar.zst
freebsd-ports-gnome-98fde9dd740e494a0692a83ddaa5f40f241e2a6b.zip
Wrap .export in .ifdef .PARSEDIR to support fmake for now. FreeBSD 9 users
will still hit the error/warning that was added in r431746, but that's clearer than the obscure error they see now. Approved by: portmgr (antoine)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.port.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 9cafcbe77604..bf9392c70b3c 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1040,7 +1040,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
LANG= C
LC_ALL= C
+.if defined(.PARSEDIR)
.export LANG LC_ALL
+.endif
# These need to be absolute since we don't know how deep in the ports
# tree we are and thus can't go relative. They can, of course, be overridden