svn commit: r431861 - head/Mk

Tijl Coosemans tijl at FreeBSD.org
Thu Jan 19 12:42:35 UTC 2017


Author: tijl
Date: Thu Jan 19 12:42:34 2017
New Revision: 431861
URL: https://svnweb.freebsd.org/changeset/ports/431861

Log:
  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)

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Thu Jan 19 12:19:36 2017	(r431860)
+++ head/Mk/bsd.port.mk	Thu Jan 19 12:42:34 2017	(r431861)
@@ -1040,7 +1040,9 @@ FreeBSD_MAINTAINER=	portmgr at 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


More information about the svn-ports-all mailing list