Date: Mon, 14 Mar 2005 10:40:22 GMT From: skv@FreeBSD.org To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/78811: Add WITH_DEBUGGING option to lang/perl5.8 Message-ID: <200503141040.j2EAeMck088856@freefall.freebsd.org> Resent-Message-ID: <200503141050.j2EAo2lt089002@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503141040.j2EAeMck088856>