aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-19 20:42:34 +0800
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-19 20:42:34 +0800
commit20e910adb25734c4a90c8a6976382a25341ff167 (patch)
treea2787260e27c5a09b771adff519ec1e136303b09 /Mk
parent1291de40cf4a60dc9a1e29cb2d22460ea49434f3 (diff)
downloadfreebsd-ports-gnome-20e910adb25734c4a90c8a6976382a25341ff167.tar.gz
freebsd-ports-gnome-20e910adb25734c4a90c8a6976382a25341ff167.tar.zst
freebsd-ports-gnome-20e910adb25734c4a90c8a6976382a25341ff167.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