ports/78811: Add WITH_DEBUGGING option to lang/perl5.8
skv at FreeBSD.org
skv at FreeBSD.org
Mon Mar 14 10:50:03 UTC 2005
>Number: 78811
>Category: ports
>Synopsis: Add WITH_DEBUGGING option to lang/perl5.8
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 14 10:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Sergey Skvortsov
>Release: FreeBSD 4.11-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:
<Relevant environment information (multiple lines)>
>Description:
Add WITH_DEBUGGING option to lang/perl5.8
>How-To-Repeat:
<Code/input/activities to reproduce the problem (multiple lines)>
>Fix:
--- Makefile.orig Mon Mar 14 13:31:11 2005
+++ Makefile Mon Mar 14 13:34:37 2005
@@ -37,7 +37,7 @@
-Dsiteman3dir=${PREFIX}/lib/perl5/${PERL_VER}/man/man3 \
-Dsiteman1dir=${PREFIX}/man/man1 \
-Ui_malloc -Ui_iconv -Uinstallusrbinperl \
- -Dcc="${CC}" -Doptimize="${CFLAGS}" -Duseshrplib \
+ -Dcc="${CC}" -Duseshrplib \
-Dccflags=-DAPPLLIB_EXP=\"${BSDPAN_DEST}\"
LOCALE_CLEANUP= LANG="" LC_ALL="" LC_COLLATE="" LC_CTYPE="" \
LC_MESSAGES="" LC_MONETARY="" LC_NUMERIC="" \
@@ -47,6 +47,12 @@
.include "Makefile.man"
.include <bsd.port.pre.mk>
+
+.if defined(WITH_DEBUGGING)
+CONFIGURE_ARGS+= -Doptimize="-g" -DDEBUGGING
+.else
+CONFIGURE_ARGS+= -Doptimize="${CFLAGS}"
+.endif
.if defined(ENABLE_SUIDPERL)
CONFIGURE_ARGS+= -Dd_dosuid=define
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list