ports/183278: [PATCH] ports-mgmt/dialog4ports: fix WITH_DEBUG issue
Matthias Andree
mandree at FreeBSD.org
Thu Oct 24 17:50:01 UTC 2013
>Number: 183278
>Category: ports
>Synopsis: [PATCH] ports-mgmt/dialog4ports: fix WITH_DEBUG issue
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 24 17:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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:
In its current shape, the port always installs with debug symbols. Fix
that, by only forwarding DEBUG_FLAGS if defined.
While at it, support staging.
Note that dialog4ports-static needs a similar fix, for reasons I don't
fully understand, however, INSTALL_PROGRAM always contains the -s for
STRIP. Please look into that.
Port maintainer (rum1cro at yandex.ru) is cc'd.
Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: ports)
>How-To-Repeat:
>Fix:
--- dialog4ports-0.1.5_2.patch begins here ---
diff -ruN /usr/ports/ports-mgmt/dialog4ports/Makefile ./Makefile
--- /usr/ports/ports-mgmt/dialog4ports/Makefile 2013-09-21 00:36:49.000000000 +0200
+++ ./Makefile 2013-10-24 03:22:15.000000000 +0200
@@ -1,9 +1,9 @@
# Created by: Ilya A. Arkhipov <rum1cro at yandex.ru>
-# $FreeBSD: ports-mgmt/dialog4ports/Makefile 327762 2013-09-20 22:36:49Z bapt $
+# $FreeBSD: head/ports-mgmt/dialog4ports/Makefile 327762 2013-09-20 22:36:49Z bapt $
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 @@
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
--- dialog4ports-0.1.5_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list