diff options
author | mandree <mandree@FreeBSD.org> | 2013-10-25 02:18:38 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-10-25 02:18:38 +0800 |
commit | f7d2f7b6fce2f908d9d5f1489643ed2a4ea83348 (patch) | |
tree | 38b6b481b9bde1cb5d31e626f09e5797f9687bd5 | |
parent | 01276e9fc115a8405f4bae8130e9d0c3087e8cb8 (diff) | |
download | freebsd-ports-gnome-f7d2f7b6fce2f908d9d5f1489643ed2a4ea83348.tar.gz freebsd-ports-gnome-f7d2f7b6fce2f908d9d5f1489643ed2a4ea83348.tar.zst freebsd-ports-gnome-f7d2f7b6fce2f908d9d5f1489643ed2a4ea83348.zip |
Permit port to be stripped if WITH_DEBUG is unset, by only forwarding
DEBUG_FLAGS through MAKE_ARGS if the former is defined.
While here, support staging.
PR: ports/183278
Approved by: Ilya A. Arkhipov (maintainer, on IRC)
-rw-r--r-- | ports-mgmt/dialog4ports/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ports-mgmt/dialog4ports/Makefile b/ports-mgmt/dialog4ports/Makefile index cd9bc6d2e390..611d79d7b213 100644 --- a/ports-mgmt/dialog4ports/Makefile +++ b/ports-mgmt/dialog4ports/Makefile @@ -3,7 +3,7 @@ PORTNAME= dialog4ports PORTVERSION= 0.1.5 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= ports-mgmt MASTER_SITES= http://m1cro.tk/dialog4ports/ \ http://files.etoilebsd.net/dialog4ports/ \ @@ -23,14 +23,16 @@ MANCOMPRESSED= yes MAKE_ENV+= __MAKE_CONF=/dev/null SRCCONF=/dev/null .if !defined(D4P_SLAVE) -MAN1= ${PORTNAME}.1 -PLIST_FILES= bin/dialog4ports +PLIST_FILES= bin/dialog4ports man/man1/${PORTNAME}.1.gz .endif -NO_STAGE= yes +NEED_ROOT= yes + .include <bsd.port.pre.mk> +.if defined(DEBUG_FLAGS) MAKE_ARGS+= DEBUG_FLAGS="${DEBUG_FLAGS}" +.endif ## This is used by 'make config' via Tools/scripts/dialog4ports.sh ## Use caution in changing |