diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-10-14 19:46:21 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-10-14 19:46:21 +0000 |
commit | b66c21f4af5b0e7a40a6d80a7188b4ced2ce175b (patch) | |
tree | 8cd2f6a089aa07f50415109e684c848e9864ecf6 /games/xbl | |
parent | Fix Imakefile breakage under XFree86 4.x (diff) |
SUpport X11BASE properly
PR: 21971
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=33831
Diffstat (limited to 'games/xbl')
-rw-r--r-- | games/xbl/Makefile | 3 | ||||
-rw-r--r-- | games/xbl/files/patch-aa | 4 |
2 files changed, 4 insertions, 3 deletions
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 <bsd.port.mk> 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@ |