aboutsummaryrefslogtreecommitdiffstats
path: root/games/xbl
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-15 03:46:21 +0800
committerade <ade@FreeBSD.org>2000-10-15 03:46:21 +0800
commitf6a8c3e7a1066b85b0e4aaa49d6318d46c675996 (patch)
tree10016726d59f37c69550de5a3ca0e68f468a84d9 /games/xbl
parent4133057c48e90b0cede0246cbda2197575688dbd (diff)
downloadfreebsd-ports-gnome-f6a8c3e7a1066b85b0e4aaa49d6318d46c675996.tar.gz
freebsd-ports-gnome-f6a8c3e7a1066b85b0e4aaa49d6318d46c675996.tar.zst
freebsd-ports-gnome-f6a8c3e7a1066b85b0e4aaa49d6318d46c675996.zip
SUpport X11BASE properly
PR: 21971 Submitted by: Ports Fury
Diffstat (limited to 'games/xbl')
-rw-r--r--games/xbl/Makefile3
-rw-r--r--games/xbl/files/patch-aa4
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@