Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 1999 10:30:02 -0800 (PST)
From:      Sheldon Hearn <axl@iafrica.com>
To:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/9331: [PATCH] teach xanim to honour local CFLAGS 
Message-ID:  <199901051830.KAA19605@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/9331; it has been noted by GNATS.

From: Sheldon Hearn <axl@iafrica.com>
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 <bsd.port.pre.mk>
  
  .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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901051830.KAA19605>