From owner-freebsd-ports Tue Jan 5 10:10:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA14774 for freebsd-ports-outgoing; Tue, 5 Jan 1999 10:10: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 KAA14753 for ; Tue, 5 Jan 1999 10:10:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id KAA18584; Tue, 5 Jan 1999 10:10:01 -0800 (PST) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA13432 for ; Tue, 5 Jan 1999 10:03:36 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 2.10 #1) id 0zxaot-0006mE-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 5 Jan 1999 20:03:07 +0200 Message-Id: <26053.915559386@axl.noc.iafrica.com> Date: Tue, 05 Jan 1999 20:03:06 +0200 From: Sheldon Hearn Reply-To: Sheldon Hearn To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/9331: [PATCH] teach xanim to honour local CFLAGS Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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