mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
Move WITH_DEBUG check below b.p.m so it works with WITH_DEBUG_PORTS
Approved by: portmgr (bapt, maintainer)
This commit is contained in:
parent
9c9a5064f2
commit
ed175fb997
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334645
@ -23,9 +23,6 @@ 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
|
||||
@ -33,6 +30,10 @@ USE_SUBMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
|
||||
MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PKGNG)
|
||||
.if ${WITH_PKGNG} != devel
|
||||
NO_LATEST_LINK= yes
|
||||
|
@ -24,9 +24,6 @@ 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
|
||||
@ -34,6 +31,10 @@ USE_SUBMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_DEBUG) && !defined(WITHOUT_DEBUG)
|
||||
MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}"
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PKGNG)
|
||||
.if ${WITH_PKGNG} == devel
|
||||
NO_LATEST_LINK= yes
|
||||
|
Loading…
Reference in New Issue
Block a user