pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/flightgear wire the include file path instead of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52cf265151b7
branches:  trunk
changeset: 539950:52cf265151b7
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Mar 17 18:01:52 2008 +0000

description:
wire the include file path instead of calling "sdl-config" -- the
latter causes a chicken-and-egg problem,
should fix an error reported by Joerg Sonnenberger to Yorick Hardy

diffstat:

 games/flightgear/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 01a1eeab94f3 -r 52cf265151b7 games/flightgear/Makefile
--- a/games/flightgear/Makefile Mon Mar 17 16:00:47 2008 +0000
+++ b/games/flightgear/Makefile Mon Mar 17 18:01:52 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/14 14:49:53 drochner Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/17 18:01:52 drochner Exp $
 #
 
 DISTNAME=              FlightGear-1.0.0
@@ -21,7 +21,7 @@
 
 CONFIGURE_ARGS+=       --with-threads
 CONFIGURE_ARGS+=       --enable-sdl
-CFLAGS!=       sdl-config --cflags
+CFLAGS+=               -I${LOCALBASE}/include/SDL
 
 .include "../../audio/openal/buildlink3.mk"
 .include "../../audio/freealut/buildlink3.mk"



Home | Main Index | Thread Index | Old Index