From owner-freebsd-ports Wed Aug 19 10:20:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19864 for freebsd-ports-outgoing; Wed, 19 Aug 1998 10:20:07 -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 KAA19797 for ; Wed, 19 Aug 1998 10:20:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA01366; Wed, 19 Aug 1998 10:20:01 -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 KAA17481 for ; Wed, 19 Aug 1998 10:09:56 -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 0z9BjX-0004zY-00; Wed, 19 Aug 1998 19:09:15 +0200 Message-Id: Date: Wed, 19 Aug 1998 19:09:15 +0200 From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7683: exim port builds unoptimized Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7683 >Category: ports >Synopsis: exim port builds unoptimized >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 10:20:00 PDT 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: 2.2-CURRENT as of Aug 14, ports tree as of Aug 19 >Description: The ports/mail/exim port doesn't honour CFLAGS. There does not seem to be a legitimate reason for this. >How-To-Repeat: Watch a make build in ports/mail/exim and notice CFLAGS is overided with "-O" >Fix: Applying the following patch will leave CFLAGS alone if already set. diff -urN mail/exim.ORIG/patches/patch-ab mail/exim/patches/patch-ab --- mail/exim.ORIG/patches/patch-ab Thu Jan 1 02:00:00 1970 +++ mail/exim/patches/patch-ab Mon Aug 17 15:03:23 1998 @@ -0,0 +1,12 @@ +--- OS/Makefile-Default.orig Wed Apr 29 10:55:06 1998 ++++ OS/Makefile-Default Mon Aug 17 15:03:06 1998 +@@ -42,7 +42,9 @@ + + # CFLAGS contains flags to be passed to the compiler. + ++.ifndef(CFLAGS) + CFLAGS=-O ++.endif + + + # PCRE_CFLAGS contains flags to be passed to the CFLAGS parameter of the >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message