aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libosmesa/Makefile
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2013-01-15 20:28:41 +0800
committergahr <gahr@FreeBSD.org>2013-01-15 20:28:41 +0800
commitb3179be8772afed0f8d886cf7d58dcd095ef0dfe (patch)
treea1b916b81dabb3c019b7f0fd988fd36888d43b22 /graphics/libosmesa/Makefile
parentee857feb6b41160ea73b3abcce1ec34d5b47bfc7 (diff)
downloadfreebsd-ports-gnome-b3179be8772afed0f8d886cf7d58dcd095ef0dfe.tar.gz
freebsd-ports-gnome-b3179be8772afed0f8d886cf7d58dcd095ef0dfe.tar.zst
freebsd-ports-gnome-b3179be8772afed0f8d886cf7d58dcd095ef0dfe.zip
- Fix build on !(i386 || amd64)
Reported by: Anton Shterenlikht <mexas@bristol.ac.uk>
Diffstat (limited to 'graphics/libosmesa/Makefile')
-rw-r--r--graphics/libosmesa/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile
index cbd15b385b16..3e6729baecc3 100644
--- a/graphics/libosmesa/Makefile
+++ b/graphics/libosmesa/Makefile
@@ -40,6 +40,9 @@ SCONS_BUILD_DIR=${WRKSRC}/build/freebsd-x86
.elif ${ARCH} == "amd64"
SCONS_ARGS+= machine=x86_64
SCONS_BUILD_DIR=${WRKSRC}/build/freebsd-x86_64
+.else
+SCONS_ARGS+= machine=generic
+SCONS_BUILD_DIR=${WRKSRC}/build/freebsd
.endif
INCLUDES= gl.h gl_mangle.h glext.h glx.h glx_mangle.h \