From owner-svn-ports-all@FreeBSD.ORG Wed May 28 15:59:47 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE85911D; Wed, 28 May 2014 15:59:47 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC6EB25FF; Wed, 28 May 2014 15:59:47 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4SFxlvt033296; Wed, 28 May 2014 15:59:47 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4SFxlIe033295; Wed, 28 May 2014 15:59:47 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201405281559.s4SFxlIe033295@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 28 May 2014 15:59:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355639 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2014 15:59:47 -0000 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)