Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 1999 19:37:21 +0200
From:      Sheldon Hearn <axl@iafrica.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/9330: [PATCH] teach xosview to honour local CFLAGS
Message-ID:  <16935.915557841@axl.noc.iafrica.com>

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

>Number:         9330
>Category:       ports
>Synopsis:       [PATCH] teach xosview to honour local CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan  5 09:40:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Sheldon Hearn
>Release:        FreeBSD 2.2.7-STABLE i386
>Organization:
UUNET Internet Africa
>Environment:

	N/A

>Description:

	The port for xosview-1.6.2.a may override local CFLAGS because
	it appends "-O4 -pipe".

>How-To-Repeat:

	cd ${PORTSDIR}/sysutils/xosview ; make

>Fix:

	The following patch teaches the xosview port to honour local
	CFLAGS.

diff -urN ports/sysutils/xosview.orig/patches/patch-ac ports/sysutils/xosview/patches/patch-ac
--- ports/sysutils/xosview.orig/patches/patch-ac	Thu Jan  1 02:00:00 1970
+++ ports/sysutils/xosview/patches/patch-ac	Tue Jan  5 19:30:03 1999
@@ -0,0 +1,11 @@
+--- config/Makefile.config.in.orig	Tue Jan  5 19:27:25 1999
++++ config/Makefile.config.in	Tue Jan  5 19:29:08 1999
+@@ -19,7 +19,7 @@
+ #-----------------------------------------------------------------
+ 
+ # Optimized CXXFLAGS
+-CXXFLAGS      += $(CFLAGS) -Wall -O4 -pipe -I@x_includes@ \
++CXXFLAGS      += $(CFLAGS) -Wall -I@x_includes@ \
+                 -I$(TOP) -I$(TOP)/@host_dir@ @DEFS@
+ # DEBUG CXXFLAGS
+ #CXXFLAGS      += $(CFLAGS) -Wall -ggdb -pipe -I@x_includes@ \
>Release-Note:
>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?16935.915557841>