Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 21:09:54 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403467 - head/Mk
Message-ID:  <201512102109.tBAL9st4050375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Dec 10 21:09:54 2015
New Revision: 403467
URL: https://svnweb.freebsd.org/changeset/ports/403467

Log:
  Force DEBUG_FILES to be off when building with /usr/share/mk.  Otherwise
  debug symbols are split out and extra files are generated that are not
  expected by the plist.  This is after the base system enabled DEBUG_FILES
  by default in r291955.
  
  I have pending patches to handle debug symbol splitting for ports, that will
  benefit all ports, not just the ones using /usr/share/mk.
  
  With hat:	portmgr
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Thu Dec 10 20:20:22 2015	(r403466)
+++ head/Mk/bsd.port.mk	Thu Dec 10 21:09:54 2015	(r403467)
@@ -1615,6 +1615,9 @@ INSTALL_TARGET:=	${INSTALL_TARGET:S/^ins
 
 # XXX PIE support to be added here
 MAKE_ENV+=	NO_PIE=yes
+# We will control debug files.  Don't let builds that use /usr/share/mk
+# split out debug symbols since the plist won't know to expect it.
+MAKE_ENV+=	NO_DEBUG_FILES=yes
 
 .if defined(NOPORTDOCS)
 PLIST_SUB+=		PORTDOCS="@comment "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512102109.tBAL9st4050375>