(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.
Responsible Changed From-To: freebsd-ports-bugs->portmgr bsd.port.mk is portmgr territory (via the GNATS Auto Assign Tool)
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"
State Changed From-To: open->closed Committed. Thanks!