From owner-freebsd-ports Tue Jan 5 10:30:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16816 for freebsd-ports-outgoing; Tue, 5 Jan 1999 10:30:10 -0800 (PST) (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 KAA16810 for ; Tue, 5 Jan 1999 10:30:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA19605; Tue, 5 Jan 1999 10:30:02 -0800 (PST) Date: Tue, 5 Jan 1999 10:30:02 -0800 (PST) Message-Id: <199901051830.KAA19605@freefall.freebsd.org> To: freebsd-ports@FreeBSD.ORG From: Sheldon Hearn Subject: Re: ports/9331: [PATCH] teach xanim to honour local CFLAGS Reply-To: Sheldon Hearn Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/9331; it has been noted by GNATS. From: Sheldon Hearn To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: ports/9331: [PATCH] teach xanim to honour local CFLAGS Date: Tue, 05 Jan 1999 20:23:46 +0200 Sorry, the proposed patches break things for people who leave CFLAGS undefined and expect Imake to DTRT. Please ignore the previous diffs and apply the following instead: diff -urN ports/graphics/xanim.orig/Makefile ports/graphics/xanim/Makefile --- ports/graphics/xanim.orig/Makefile Tue Jan 5 20:21:16 1999 +++ ports/graphics/xanim/Makefile Tue Jan 5 20:14:04 1999 @@ -22,6 +22,10 @@ XA_CVID_DEF=-DXA_CINEPAK \ XA_CYUV_DEF=-DXA_CYUV +.if defined(CFLAGS) +MAKE_ENV+= LOCAL_CFLAGS="${CFLAGS}" +.endif + .include .if ${PORTOBJFORMAT} == "aout" diff -urN ports/graphics/xanim.orig/patches/CVS/Entries ports/graphics/xanim/patches/CVS/Entries --- ports/graphics/xanim.orig/patches/CVS/Entries Tue Jan 5 20:21:27 1999 +++ ports/graphics/xanim/patches/CVS/Entries Tue Jan 5 20:16:35 1999 @@ -1,2 +1,3 @@ /patch-ab/1.6/Tue Jan 5 17:53:10 1999// +/patch-ac/0/Initial patch-ac// D diff -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 20:12:27 1999 @@ -0,0 +1,13 @@ +--- Imakefile.orig Tue Jan 5 20:08:38 1999 ++++ Imakefile Tue Jan 5 20:12:18 1999 +@@ -63,6 +63,10 @@ + XCOMM -- the Compile_Help.doc file. + XCOMM ********************************************************************** + XCOMM ++#ifdef LOCAL_CFLAGS ++CXXDEBUGFLAGS= $(LOCAL_CFLAGS) ++CDEBUGFLAGS= $(LOCAL_CFLAGS) ++#endif + XCOMM ******************** + + XCOMM ********************************************************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message