diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-11-23 06:43:14 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-11-23 06:43:14 +0000 |
commit | ed175fb9971711c9db01ade0aba8ae9d26ebfa77 (patch) | |
tree | d149220c6fcc9ae03bf5743321ba7dd1df68ecca /ports-mgmt/pkg | |
parent | 9c9a5064f2f4f8c059a34f178c5d5c649d233a5c (diff) | |
download | ports-ed175fb9971711c9db01ade0aba8ae9d26ebfa77.tar.gz ports-ed175fb9971711c9db01ade0aba8ae9d26ebfa77.zip |
Notes
Diffstat (limited to 'ports-mgmt/pkg')
-rw-r--r-- | ports-mgmt/pkg/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile index 375bb4b6f086..febd8db768fc 100644 --- a/ports-mgmt/pkg/Makefile +++ b/ports-mgmt/pkg/Makefile @@ -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 |