Date: Tue, 05 Jan 1999 20:03:06 +0200 From: Sheldon Hearn <axl@iafrica.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/9331: [PATCH] teach xanim to honour local CFLAGS Message-ID: <26053.915559386@axl.noc.iafrica.com>
next in thread | raw e-mail | index | archive | help
>Number: 9331 >Category: ports >Synopsis: [PATCH] teach xanim 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 10:10: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 xanim-2.70.7.0 ignores local CFLAGS, blindly using "-O2". >How-To-Repeat: cd ${PORTSDIR}/graphics/xanim ; make >Fix: The following patch teaches the xanim port to honour local CFLAGS in spite of Imake brain-deadness. diff --exclude=CVS -urN ports/graphics/xanim.orig/Makefile ports/graphics/xanim/Makefile --- ports/graphics/xanim.orig/Makefile Tue Jan 5 19:57:59 1999 +++ ports/graphics/xanim/Makefile Tue Jan 5 19:51:28 1999 @@ -20,7 +20,8 @@ MAN1= xanim.1 MAKE_ENV= XA_IV32_DEF=-DXA_INDEO \ XA_CVID_DEF=-DXA_CINEPAK \ - XA_CYUV_DEF=-DXA_CYUV + XA_CYUV_DEF=-DXA_CYUV \ + LOCAL_CFLAGS="${CFLAGS}" .include <bsd.port.pre.mk> diff --exclude=CVS -urN ports/graphics/xanim.orig/patches/patch-ac ports/graphics/xanim/patches/patch-ac --- ports/graphics/xanim.orig/patches/patch-ac Thu Jan 1 02:00:00 1970 +++ ports/graphics/xanim/patches/patch-ac Tue Jan 5 19:51:09 1999 @@ -0,0 +1,11 @@ +--- Imakefile.orig Tue Jan 5 19:50:38 1999 ++++ Imakefile Tue Jan 5 19:50:57 1999 +@@ -63,6 +63,8 @@ + XCOMM -- the Compile_Help.doc file. + XCOMM ********************************************************************** + XCOMM ++CXXDEBUGFLAGS= $(LOCAL_CFLAGS) ++CDEBUGFLAGS= $(LOCAL_CFLAGS) + XCOMM ******************** + + XCOMM ********************************************************************** >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?26053.915559386>