From owner-svn-ports-all@FreeBSD.ORG Wed Nov 13 12:00:06 2013 Return-Path: Delivered-To: svn-ports-all@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 9575134A; Wed, 13 Nov 2013 12:00:06 +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 85C662B51; Wed, 13 Nov 2013 12:00:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rADC06sg008543; Wed, 13 Nov 2013 12:00:06 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rADC06Ot008542; Wed, 13 Nov 2013 12:00:06 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201311131200.rADC06Ot008542@svn.freebsd.org> From: Bryan Drewery Date: Wed, 13 Nov 2013 12:00:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333675 - head/ports-mgmt/pkg 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.16 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, 13 Nov 2013 12:00:06 -0000 Author: bdrewery Date: Wed Nov 13 12:00:06 2013 New Revision: 333675 URL: http://svnweb.freebsd.org/changeset/ports/333675 Log: - Support WITH_DEBUG - Add shebangfix for bash completion PR: ports/183277 Submitted by: mandree (based on) With hat: portmgr Modified: head/ports-mgmt/pkg/Makefile Modified: head/ports-mgmt/pkg/Makefile ============================================================================== --- head/ports-mgmt/pkg/Makefile Wed Nov 13 11:44:17 2013 (r333674) +++ head/ports-mgmt/pkg/Makefile Wed Nov 13 12:00:06 2013 (r333675) @@ -2,7 +2,7 @@ PORTNAME= pkg DISTVERSION= 1.1.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= ports-mgmt MASTER_SITES= http://files.etoilebsd.net/pkg/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ @@ -19,10 +19,15 @@ USE_XZ= yes # With no dependency at all NO_CCACHE= yes USE_LDCONFIG= yes -USES= uidfix +USES= uidfix shebangfix +SHEBANG_FILES= scripts/completion/_pkg.bash.in 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