summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-01-27 03:38:35 +0000
committerPatrick Li <pat@FreeBSD.org>2002-01-27 03:38:35 +0000
commita11e2ffbeb05fe0cd38f1b61c1bcd042670d7914 (patch)
tree221fc0ff0b058647e558d2e221e9068ee03cd9c1
parentFix conflicts during compilation since libc now has strcasestr (diff)
Fix build when X is not installed
PR: 34104 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=53815
-rw-r--r--graphics/linux_mesa3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/linux_mesa3/Makefile b/graphics/linux_mesa3/Makefile
index 770da77ce400..4d70ca6f07d0 100644
--- a/graphics/linux_mesa3/Makefile
+++ b/graphics/linux_mesa3/Makefile
@@ -32,7 +32,9 @@ INSTALL= ${LINUXBASE}/usr/bin/install
GNU_CONFIGURE= yes
CONFIGURE_TARGET= #
-CONFIGURE_ARGS= --libdir="${PREFIX}/usr/X11R6/lib" \
+CONFIGURE_ARGS+= --x-libraries="${LINUXBASE}/usr/X11R6/lib" \
+ --x-includes="${LINUXBASE}/usr/X11R6/include" \
+ --libdir="${PREFIX}/usr/X11R6/lib" \
--includedir="${PREFIX}/usr/X11R6/include"
CONFIGURE_ENV= PATH="${LINUXBASE}/bin:${LINUXBASE}/usr/bin:${PATH}" \
GL_MAJOR_VER="${GL_MAJOR_VER}" \