1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Support WITH_DEBUG

- Add shebangfix for bash completion

PR:		ports/183277
Submitted by:	mandree (based on)
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2013-11-13 12:00:06 +00:00
parent 33e054d7ae
commit f4df7b1171
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333675

View File

@ -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