summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-12-10 21:09:54 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-12-10 21:09:54 +0000
commit064127e4d8e2e32ec1418665bcf76c95c7b57157 (patch)
tree9d4a3ba1a987627b6f840aeaeaa9ea56c6897bad /Mk/bsd.port.mk
parent6e3d37113d315f9c16575b99520251c7ef34fcae (diff)
downloadfreebsd-ports-064127e4d8e2e32ec1418665bcf76c95c7b57157.zip
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
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index a4aaafe987a0..d67fbbbcafcd 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -1615,6 +1615,9 @@ INSTALL_TARGET:= ${INSTALL_TARGET:S/^install-strip$/install/g}
# 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 "