Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 19:09:15 +0200
From:      axl@iafrica.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7683: exim port builds unoptimized
Message-ID:  <E0z9BjX-0004zY-00@axl.training.iafrica.com>

next in thread | raw e-mail | index | archive | help

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0z9BjX-0004zY-00>