From owner-svn-ports-head@FreeBSD.ORG Wed Nov 13 12:01:12 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3260C5C7; Wed, 13 Nov 2013 12:01:11 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3FB892B8A; Wed, 13 Nov 2013 12:01:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rADC1B0a010799; Wed, 13 Nov 2013 12:01:11 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rADC1BF1010798; Wed, 13 Nov 2013 12:01:11 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201311131201.rADC1BF1010798@svn.freebsd.org> From: Bryan Drewery Date: Wed, 13 Nov 2013 12:01:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333676 - head/ports-mgmt/pkg-devel X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 12:01:12 -0000 Author: bdrewery Date: Wed Nov 13 12:01:10 2013 New Revision: 333676 URL: http://svnweb.freebsd.org/changeset/ports/333676 Log: - Support DEBUG PR: ports/183277 With hat: portmgr Modified: head/ports-mgmt/pkg-devel/Makefile Modified: head/ports-mgmt/pkg-devel/Makefile ============================================================================== --- head/ports-mgmt/pkg-devel/Makefile Wed Nov 13 12:00:06 2013 (r333675) +++ head/ports-mgmt/pkg-devel/Makefile Wed Nov 13 12:01:10 2013 (r333676) @@ -2,6 +2,7 @@ PORTNAME= pkg DISTVERSION= 1.2.0.b2 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= http://files.etoilebsd.net/pkg/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ @@ -23,6 +24,10 @@ USES= uidfix MAKE_ENV+= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null \ PORTREVISION=${PORTREVISION} +.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG) +MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}" +.endif + # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD # so that pkg-static is used from the wrkdir USE_SUBMAKE= yes