Bug 185309 - [PATCH] Mk/bsd.port.mk: add generic INSTALL_STRIPPED option for use with WITH_DEBUG
Summary: [PATCH] Mk/bsd.port.mk: add generic INSTALL_STRIPPED option for use with WITH...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 20:50 UTC by Xin LI
Modified: 2014-05-28 17:00 UTC (History)
1 user (show)

See Also:


Attachments
bsd.port.mk.diff (660 bytes, patch)
2013-12-30 20:50 UTC, Xin LI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer freebsd_triage 2013-12-30 20:50:01 UTC
	(Note that this patch is from Alfred Perlstein).

	This proposed bsd.port.mk change adds a new option, INSTALL_STRIPPED,
which is intended to be used with WITH_DEBUG, allowing the system to build
packages with debugging symbols enabled and kept in build environment but
do not install them with the resulting binaries.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-12-30 20:50:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-05-28 16:59:50 UTC
Author: bapt
Date: Wed May 28 15:59:47 2014
New Revision: 355639
URL: http://svnweb.freebsd.org/changeset/ports/355639
QAT: https://qat.redports.org/buildarchive/r355639/

Log:
  Add a new option, INSTALL_STRIPPED,
  which is intended to be used with WITH_DEBUG, allowing the system to build
  packages with debugging symbols enabled and kept in build environment but
  do not install them with the resulting binaries.
  
  PR:		ports/185309
  Submitted by:	delphij
  Reviewed by:	bdrewery

Modified:
  head/Mk/bsd.port.mk

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed May 28 15:52:22 2014	(r355638)
+++ head/Mk/bsd.port.mk	Wed May 28 15:59:47 2014	(r355639)
@@ -1619,9 +1619,11 @@ CFLAGS:=	${CFLAGS:C/${_CPUCFLAGS}//}
 
 # Reset value from bsd.own.mk.
 .if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
+.if !defined(INSTALL_STRIPPED)
 STRIP=	#none
 MAKE_ENV+=	DONTSTRIP=yes
 STRIP_CMD=	${TRUE}
+.endif
 DEBUG_FLAGS?=	-g
 CFLAGS:=		${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS}
 .if defined(INSTALL_TARGET)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Baptiste Daroussin freebsd_committer freebsd_triage 2014-05-28 16:59:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!