From mandree@FreeBSD.org  Thu Oct 24 17:15:15 2013
Return-Path: <mandree@FreeBSD.org>
Received: from apollo.emma.line.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id 36178820;
	Thu, 24 Oct 2013 17:15:15 +0000 (UTC)
	(envelope-from mandree@FreeBSD.org)
Received: from mandree by apollo.emma.line.org with local (Exim 4.80.1 (FreeBSD))
	(envelope-from <mandree@FreeBSD.org>)
	id 1VZ9Fv-000GVN-Du; Thu, 24 Oct 2013 02:58:31 +0200
Message-Id: <E1VZ9Fv-000GVN-Du@apollo.emma.line.org>
Date: Thu, 24 Oct 2013 02:58:31 +0200
From: Matthias Andree <mandree@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: portmgr@FreeBSD.org
Subject: [PATCH] ports-mgmt/pkg: fix WITH_DEBUG=yes build
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         183277
>Category:       ports
>Synopsis:       [PATCH] ports-mgmt/pkg: fix WITH_DEBUG=yes build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    portmgr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 24 17:20:00 UTC 2013
>Closed-Date:    Wed Nov 13 06:01:34 CST 2013
>Last-Modified:  Wed Nov 13 12:10:02 UTC 2013
>Originator:     Matthias Andree
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 9.2-RELEASE FreeBSD 9.2-RELEASE #4: Thu Oct 17 06:54:18 CEST 2013
>Description:
When building pkg whilst setting WITH_DEBUG=yes, the build runs
unoptimized and with -g flags (in CFLAGS), but the staging strips the
symbols again (uses install -s ...).

The attached patch makes sure that the DEBUG_FLAGS we get propagate
through the port's Makefile.

Note 1: This triggers a shortcoming in Scripts/qa.sh that should not
complain about individual unstripped binaries if WITH_DEBUG=yes is set.

Note 2: I have already fixed debug4ports in the same manner earlier this
year (ports r319812), so perhaps this needs to be moved into the ports
framework, but we can only do that if the port's own Makefiles use
<bsd.subdir.mk> or thereabouts. Other ports use DEBUG_FLAGS in a
different context (examples: busybox, putty, Berkeley DB ports).

Port maintainer (portmgr@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:

--- pkg-1.1.4_9.patch begins here ---
diff -ruN /usr/ports/ports-mgmt/pkg/Makefile ./Makefile
--- /usr/ports/ports-mgmt/pkg/Makefile	2013-10-14 00:33:48.000000000 +0200
+++ ./Makefile	2013-10-24 02:54:31.000000000 +0200
@@ -1,8 +1,8 @@
-# $FreeBSD: ports-mgmt/pkg/Makefile 330262 2013-10-13 22:33:48Z bdrewery $
+# $FreeBSD: head/ports-mgmt/pkg/Makefile 330262 2013-10-13 22:33:48Z bdrewery $
 
 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}/ \
@@ -26,6 +26,7 @@
 # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
 # so that pkg-static is used from the wrkdir
 USE_SUBMAKE=	yes
+MAKE_ARGS+=	DEBUG_FLAGS="${DEBUG_FLAGS}"
 
 .include <bsd.port.pre.mk>
 
--- pkg-1.1.4_9.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Oct 24 17:20:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183277 

From: Matthias Andree <mandree@FreeBSD.org>
To: bug-followup@FreeBSD.org, mandree@FreeBSD.org
Cc:  
Subject: Re: ports/183277: [PATCH] ports-mgmt/pkg: fix WITH_DEBUG=yes build
Date: Thu, 24 Oct 2013 19:30:39 +0200

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --l9T2mMEvMXaSruSMRUNFMx5S6ObwuLLHg
 Content-Type: multipart/mixed;
  boundary="------------030802000707070608060500"
 
 This is a multi-part message in MIME format.
 --------------030802000707070608060500
 Content-Type: text/plain; charset=ISO-8859-15
 Content-Transfer-Encoding: quoted-printable
 
 Bryan Drewery figured that the patch unconditionally enabled debugging.
 
 I am attaching a revised version, and the revised version also fixes a
 stage-qa complaint about missing shebangfix for the bash completions.
 
 --------------030802000707070608060500
 Content-Type: text/x-patch;
  name="pkg-WITH_DEBUG-v2.diff"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
  filename="pkg-WITH_DEBUG-v2.diff"
 
 Index: Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- Makefile	(revision 331501)
 +++ Makefile	(working copy)
 @@ -2,7 +2,7 @@
 =20
  PORTNAME=3D	pkg
  DISTVERSION=3D	1.1.4
 -PORTREVISION=3D	8
 +PORTREVISION=3D	9
  CATEGORIES=3D	ports-mgmt
  MASTER_SITES=3D	http://files.etoilebsd.net/pkg/ \
  		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
 @@ -19,7 +19,8 @@
  # With no dependency at all
  NO_CCACHE=3D	yes
  USE_LDCONFIG=3D	yes
 -USES=3D		uidfix
 +USES=3D		uidfix shebangfix
 +SHEBANG_FILES=3D	scripts/completion/_pkg.bash.in
 =20
  MAKE_ENV+=3D	WITHOUT_PROFILE=3Dyes __MAKE_CONF=3D/dev/null SRCCONF=3D/de=
 v/null \
  		PORTREVISION=3D${PORTREVISION}
 @@ -26,6 +27,9 @@
  # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
  # so that pkg-static is used from the wrkdir
  USE_SUBMAKE=3D	yes
 +.if defined(DEBUG_FLAGS)
 +MAKE_ARGS+=3D	DEBUG_FLAGS=3D"${DEBUG_FLAGS}"
 +.endif
 =20
  .include <bsd.port.pre.mk>
 =20
 
 --------------030802000707070608060500--
 
 --l9T2mMEvMXaSruSMRUNFMx5S6ObwuLLHg
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iEYEARECAAYFAlJpWUUACgkQvmGDOQUufZWrvQCeOFhaFHNPMrZltEzZjcsYPV6A
 xyMAniuKgXQK4KlULVn/sDTA4YzXpmIv
 =kiWJ
 -----END PGP SIGNATURE-----
 
 --l9T2mMEvMXaSruSMRUNFMx5S6ObwuLLHg--
State-Changed-From-To: open->analyzed 
State-Changed-By: mandree 
State-Changed-When: Thu Oct 24 20:55:45 UTC 2013 
State-Changed-Why:  
Bryan Drewery asks that this not be committed until the mail/mailman 
issues around fake-pkg (with pkgNG) are sorted out, refer to 
ports/183210. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183277 
Responsible-Changed-From-To: portmgr->mandree 
Responsible-Changed-By: bdrewery 
Responsible-Changed-When: Thu Oct 31 14:25:55 CDT 2013 
Responsible-Changed-Why:  
Approved, please do same change for ports-mgmt/pkg-devel 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183277 
State-Changed-From-To: analyzed->feedback 
State-Changed-By: mandree 
State-Changed-When: Thu Oct 31 21:43:19 UTC 2013 
State-Changed-Why:  
waiting for approval of v3 patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183277 
Responsible-Changed-From-To: mandree->portmgr 
Responsible-Changed-By: mandree 
Responsible-Changed-When: Thu Oct 31 21:44:06 UTC 2013 
Responsible-Changed-Why:  
over to portmgr for review 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183277 

From: Matthias Andree <mandree@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc: Bryan Drewery <bdrewery@freebsd.org>
Subject: Re: ports/183277: [PATCH] ports-mgmt/pkg: fix WITH_DEBUG=yes build
Date: Thu, 31 Oct 2013 22:43:00 +0100

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --o0i0SsCIlgPuBXIx8XlHVglnAmLI1Kmoe
 Content-Type: multipart/mixed;
  boundary="------------060601000001040205080405"
 
 This is a multi-part message in MIME format.
 --------------060601000001040205080405
 Content-Type: text/plain; charset=ISO-8859-15
 Content-Transfer-Encoding: quoted-printable
 
 1. Turns out this still wasn't right, and again broke debugging -
 DEBUG_FLAGS is never visible at the port level, so we cannot .ifdef it
 (the deferred evaluation would otherwise have made this work because
 only pkg's embedded make would evaluate the ${DEBUG_FLAGS}).
 
 Instead, look at WITH_DEBUG/WITHOUT_DEBUG just like Mk/bsd.port.mk does
 when defining STRIP, and if debugging is enabled, set DEBUG_FLAGS=3D1.
 
 2. Extend the feature to pkg-devel, and while there, stage the install.
 
 New patch v3 attached.
 
 --------------060601000001040205080405
 Content-Type: text/x-patch;
  name="pkg-WITH_DEBUG-v3.diff"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: attachment;
  filename="pkg-WITH_DEBUG-v3.diff"
 
 Index: pkg/Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- pkg/Makefile	(revision 332215)
 +++ pkg/Makefile	(working copy)
 @@ -2,7 +2,7 @@
 =20
  PORTNAME=3D	pkg
  DISTVERSION=3D	1.1.4
 -PORTREVISION=3D	8
 +PORTREVISION=3D	9
  CATEGORIES=3D	ports-mgmt
  MASTER_SITES=3D	http://files.etoilebsd.net/pkg/ \
  		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
 @@ -19,7 +19,8 @@
  # With no dependency at all
  NO_CCACHE=3D	yes
  USE_LDCONFIG=3D	yes
 -USES=3D		uidfix
 +USES=3D		uidfix shebangfix
 +SHEBANG_FILES=3D	scripts/completion/_pkg.bash.in
 =20
  MAKE_ENV+=3D	WITHOUT_PROFILE=3Dyes __MAKE_CONF=3D/dev/null SRCCONF=3D/de=
 v/null \
  		PORTREVISION=3D${PORTREVISION}
 @@ -27,6 +28,10 @@
  # so that pkg-static is used from the wrkdir
  USE_SUBMAKE=3D	yes
 =20
 +.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
 +MAKE_ENV+=3D	DEBUG_FLAGS=3D1
 +.endif
 +
  .include <bsd.port.pre.mk>
 =20
  .if defined(WITH_PKGNG)
 Index: pkg-devel/Makefile
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- pkg-devel/Makefile	(revision 332215)
 +++ pkg-devel/Makefile	(working copy)
 @@ -2,7 +2,7 @@
 =20
  PORTNAME=3D	pkg
  DISTVERSION=3D	1.1.4
 -PORTREVISION=3D	8
 +PORTREVISION=3D	9
  CATEGORIES=3D	ports-mgmt
  MASTER_SITES=3D	http://files.etoilebsd.net/pkg/ \
  		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
 @@ -24,48 +24,17 @@
 =20
  MAKE_ENV+=3D	WITHOUT_PROFILE=3Dyes __MAKE_CONF=3D/dev/null SRCCONF=3D/de=
 v/null \
  		PORTREVISION=3D${PORTREVISION}
 -USE_STAGE=3D	yes
  # Use a submake as 'deinstall install' needs to reevaluate PKG_CMD
 -# so that pkg-static is used from the wrkdir
 +# so that pkg-static is used from the wrkdir:
  USE_SUBMAKE=3D	yes
 =20
 -MAN8=3D	pkg.8 \
 -	pkg-add.8 \
 -	pkg-annotate.8 \
 -	pkg-autoremove.8 \
 -	pkg-audit.8 \
 -	pkg-backup.8 \
 -	pkg-check.8 \
 -	pkg-clean.8 \
 -	pkg-convert.8 \
 -	pkg-create.8 \
 -	pkg-delete.8 \
 -	pkg-fetch.8 \
 -	pkg-info.8 \
 -	pkg-install.8 \
 -	pkg-lock.8 \
 -	pkg-query.8 \
 -	pkg-register.8 \
 -	pkg-repo.8 \
 -	pkg-rquery.8 \
 -	pkg-search.8 \
 -	pkg-set.8 \
 -	pkg-shell.8 \
 -	pkg-shlib.8 \
 -	pkg-stats.8 \
 -	pkg-update.8 \
 -	pkg-updating.8 \
 -	pkg-upgrade.8 \
 -	pkg-version.8 \
 -	pkg-which.8
 -MAN5=3D	pkg.conf.5 \
 -	pkg-repository.5
 -MAN3=3D	pkg_printf.3
 -MLINKS=3D	pkg-delete.8 pkg-remove.8 \
 -	pkg-lock.8 pkg-unlock.8 \
 -	pkg.8 pkg-static.8
 +USES=3D		shebangfix
 +SHEBANG_FILES=3D	scripts/completion/_pkg.bash.in
 =20
 -NO_STAGE=3D	yes
 +.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
 +MAKE_ENV+=3D	DEBUG_FLAGS=3D1
 +.endif
 +
  .include <bsd.port.pre.mk>
 =20
  .if defined(WITH_PKGNG)
 @@ -123,7 +92,7 @@
  PERIODIC_ALL=3D		${PERIODIC_DAILY} ${PERIODIC_SECURITY}
 =20
  post-install:
 -	@${INSTALL_DATA} ${WRKSRC}/pkg/pkg.conf.sample ${PREFIX}/etc
 +	@${INSTALL_DATA} ${WRKSRC}/pkg/pkg.conf.sample ${STAGEDIR}${PREFIX}/etc=
 
  	@${CAT} ${PKGMESSAGE}
 =20
  .include <bsd.port.post.mk>
 Index: pkg-devel/pkg-plist
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
 --- pkg-devel/pkg-plist	(revision 332215)
 +++ pkg-devel/pkg-plist	(working copy)
 @@ -6,6 +6,41 @@
  lib/libpkg.so.1
  lib/libpkg.so
  lib/libpkg.a
 +man/man3/pkg_printf.3.gz
 +man/man5/pkg-repository.5.gz
 +man/man5/pkg.conf.5.gz
 +man/man8/pkg-add.8.gz
 +man/man8/pkg-annotate.8.gz
 +man/man8/pkg-audit.8.gz
 +man/man8/pkg-autoremove.8.gz
 +man/man8/pkg-backup.8.gz
 +man/man8/pkg-check.8.gz
 +man/man8/pkg-clean.8.gz
 +man/man8/pkg-convert.8.gz
 +man/man8/pkg-create.8.gz
 +man/man8/pkg-delete.8.gz
 +man/man8/pkg-fetch.8.gz
 +man/man8/pkg-info.8.gz
 +man/man8/pkg-install.8.gz
 +man/man8/pkg-lock.8.gz
 +man/man8/pkg-query.8.gz
 +man/man8/pkg-register.8.gz
 +man/man8/pkg-remove.8.gz
 +man/man8/pkg-repo.8.gz
 +man/man8/pkg-rquery.8.gz
 +man/man8/pkg-search.8.gz
 +man/man8/pkg-set.8.gz
 +man/man8/pkg-shell.8.gz
 +man/man8/pkg-shlib.8.gz
 +man/man8/pkg-static.8.gz
 +man/man8/pkg-stats.8.gz
 +man/man8/pkg-unlock.8.gz
 +man/man8/pkg-update.8.gz
 +man/man8/pkg-updating.8.gz
 +man/man8/pkg-upgrade.8.gz
 +man/man8/pkg-version.8.gz
 +man/man8/pkg-which.8.gz
 +man/man8/pkg.8.gz
  etc/periodic/daily/400.status-pkg
  etc/periodic/daily/411.pkg-backup
  etc/periodic/daily/490.status-pkg-changes
 
 --------------060601000001040205080405--
 
 --o0i0SsCIlgPuBXIx8XlHVglnAmLI1Kmoe
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 
 iEYEARECAAYFAlJyzuQACgkQvmGDOQUufZUO5gCgiMntkj7P3gUepwrEdMhZNUeo
 O8QAnR+5nNxact3iBlvA+Bj8wCai49oR
 =K6AK
 -----END PGP SIGNATURE-----
 
 --o0i0SsCIlgPuBXIx8XlHVglnAmLI1Kmoe--
State-Changed-From-To: feedback->closed 
State-Changed-By: bdrewery 
State-Changed-When: Wed Nov 13 06:01:34 CST 2013 
State-Changed-Why:  
fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=183277 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183277: commit references a PR
Date: Wed, 13 Nov 2013 12:01:20 +0000 (UTC)

 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
 _______________________________________________
 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"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/183277: commit references a PR
Date: Wed, 13 Nov 2013 12:00:13 +0000 (UTC)

 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
 _______________________________________________
 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"
 
>Unformatted:
