From owner-freebsd-ports Wed Aug 19 11:10:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA27001 for freebsd-ports-outgoing; Wed, 19 Aug 1998 11:10:15 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26940 for ; Wed, 19 Aug 1998 11:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id LAA02763; Wed, 19 Aug 1998 11:10:00 -0700 (PDT) Received: from axl.training.iafrica.com (axl.training.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA26847 for ; Wed, 19 Aug 1998 11:09:34 -0700 (PDT) (envelope-from sheldonh@axl.training.iafrica.com) Received: from sheldonh by axl.training.iafrica.com with local (Exim 1.92 #1) for FreeBSD-gnats-submit@freebsd.org id 0z9CfH-00058g-00; Wed, 19 Aug 1998 20:08:55 +0200 Message-Id: Date: Wed, 19 Aug 1998 20:08:55 +0200 From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7685: ports/lang/perl5 ignores CFLAGS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7685 >Category: ports >Synopsis: ports/lang/perl5 ignores CFLAGS >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Aug 19 11:10:00 PDT 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: When CFLAGS is defined in /etc/make.conf >Description: The ports/lang/perl5 Configure script ignores CFLAGS in determining what optimization scheme to use. There is definitely no use in ignoring CFLAGS. >How-To-Repeat: Watch a make build with CFLAGS defined in /etc/make.conf and notice that CFLAGS contents is ignored. >Fix: The following patch teaches the ports/lang/perl5 port to honour CFLAGS. diff -urN lang/perl5.ORIG/patches/patch-af lang/perl5/patches/patch-af --- lang/perl5.ORIG/patches/patch-af Thu Jan 1 02:00:00 1970 +++ lang/perl5/patches/patch-af Mon Aug 17 12:03:45 1998 @@ -0,0 +1,11 @@ +--- Configure.ORIG Fri Aug 7 23:38:53 1998 ++++ Configure Mon Aug 17 12:03:07 1998 +@@ -306,7 +306,7 @@ + ldflags='' + lkflags='' + locincpth='' +-optimize='' ++optimize=${CFLAGS:-''} + cf_email='' + cf_by='' + cf_time='' >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message