From b66c21f4af5b0e7a40a6d80a7188b4ced2ce175b Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Sat, 14 Oct 2000 19:46:21 +0000 Subject: SUpport X11BASE properly PR: 21971 Submitted by: Ports Fury --- games/xbl/Makefile | 3 ++- games/xbl/files/patch-aa | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'games/xbl') diff --git a/games/xbl/Makefile b/games/xbl/Makefile index 1055bcce804a..43ce6fce20f4 100644 --- a/games/xbl/Makefile +++ b/games/xbl/Makefile @@ -15,7 +15,8 @@ MAINTAINER= ports@FreeBSD.org USE_X_PREFIX= yes GNU_CONFIGURE= yes -CFLAGS+= -I${PREFIX}/include +CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \ + LIBS="-L${X11BASE}/lib" MANN= xbl.n .include diff --git a/games/xbl/files/patch-aa b/games/xbl/files/patch-aa index a171bdec511e..dc17d8f49088 100644 --- a/games/xbl/files/patch-aa +++ b/games/xbl/files/patch-aa @@ -29,7 +29,7 @@ # The default value if overrided by configure if xmkmf or imake exists. # -SCOREDIR=/usr/local/lib/xbl -+SCOREDIR=$(PREFIX)/lib/xbl ++SCOREDIR=$(PREFIX)/lib/X11/xbl @SCOREDIR@ # Directory where put man pages. @@ -54,7 +54,7 @@ -DXBLVERSION=\"$(XBLVERSION)\" \ -DGROUP_GID=$(GROUP_GID) \ - $(USE_SETGID) @DEFS@ -g -+ $(USE_SETGID) @DEFS@ @CFLAGS@ ++ $(USE_SETGID) @DEFS@ @CPPFLAGS@ @CFLAGS@ # For link edit options LDOPTIONS=$(CFLAGS) LDOPTIONS=@LDOPTIONS@ -- cgit v1.2.3