Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 1998 19:22:20 +0200
From:      axl@iafrica.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7684: ports/textproc/par overides CFLAGS
Message-ID:  <E0z9BwC-00052Z-00@axl.training.iafrica.com>

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

>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0z9BwC-00052Z-00>