svn commit: r469953 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Mon May 14 19:06:14 UTC 2018


Author: bapt
Date: Mon May 14 19:06:13 2018
New Revision: 469953
URL: https://svnweb.freebsd.org/changeset/ports/469953

Log:
  Remove LIBDIR from build env variable
  
  This is leaking LIBDIR information (which is defined in base share/mk/*) to
  the build environement with a value which is not really suitable for ports
  (/usr/lib) which may have an impact on some build system forcing the maintainer
  to override the value.
  
  Revealed during the update of liblz4
  
  PR:		228059
  Submitted by:	bapt
  Exp-run by:	antoine

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Mon May 14 19:01:26 2018	(r469952)
+++ head/Mk/bsd.port.mk	Mon May 14 19:06:13 2018	(r469953)
@@ -2043,7 +2043,6 @@ MAKEFILE?=		Makefile
 MAKE_CMD?=		${BSDMAKE}
 MAKE_ENV+=		PREFIX=${PREFIX} \
 			LOCALBASE=${LOCALBASE} \
-			LIBDIR="${LIBDIR}" \
 			CC="${CC}" CFLAGS="${CFLAGS}" \
 			CPP="${CPP}" CPPFLAGS="${CPPFLAGS}" \
 			LDFLAGS="${LDFLAGS}" LIBS="${LIBS}" \


More information about the svn-ports-head mailing list