From owner-freebsd-ports Wed Aug 19 10:30:13 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA21366 for freebsd-ports-outgoing; Wed, 19 Aug 1998 10:30:13 -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 KAA21296 for ; Wed, 19 Aug 1998 10:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA01687; Wed, 19 Aug 1998 10:30: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 KAA20328 for ; Wed, 19 Aug 1998 10:23:15 -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 0z9BwC-00052Z-00; Wed, 19 Aug 1998 19:22:20 +0200 Message-Id: Date: Wed, 19 Aug 1998 19:22:20 +0200 From: axl@iafrica.com Reply-To: axl@iafrica.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7684: ports/textproc/par overides CFLAGS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7684 >Category: ports >Synopsis: ports/textproc/par overides 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 10:30:01 PDT 1998 >Last-Modified: >Originator: Sheldon Hearn >Organization: UUNET Internet Africa >Release: FreeBSD 2.2.7-STABLE i386 >Environment: CFLAGS defined in /etc/make.conf >Description: The ports/textproc/par port overides CFLAGS, causing unoptimized compilation. There appears to be no sensible reason for leaving par unoptimized. >How-To-Repeat: Watch make build and notice failure to make use of CFLAGS. >Fix: The following patch teaches the par port to honour CFLAGS. diff -urN textproc/par.ORIG/patches/patch-aa textproc/par/patches/patch-aa --- textproc/par.ORIG/patches/patch-aa Thu Jan 1 02:00:00 1970 +++ textproc/par/patches/patch-aa Mon Aug 17 18:57:01 1998 @@ -0,0 +1,11 @@ +--- protoMakefile.ORIG Sun Jan 21 05:46:02 1996 ++++ protoMakefile Mon Aug 17 18:56:27 1998 +@@ -47,7 +47,7 @@ + # Example (for Solaris 2.x with SPARCompiler C): + # CC = cc -c -O -s -Xc -DDONTFREE + +-CC = cc -c ++CC = cc -c ${CFLAGS} + + # Define LINK1 and LINK2 so that the command + # >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message