Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 12:00:06 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333675 - head/ports-mgmt/pkg
Message-ID:  <201311131200.rADC06Ot008542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311131200.rADC06Ot008542>