summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn>2015-09-13 01:20:05 +0000
committertnn <tnn>2015-09-13 01:20:05 +0000
commitb704a739256def2808f8b9f2872d199a345cf41a (patch)
tree010bdfe70b7ce548976bb5988cc7021798a2386b /graphics
parentca3ebb091107b9fc78153499e95fc6eb695c4698 (diff)
downloadpkgsrc-b704a739256def2808f8b9f2872d199a345cf41a.tar.gz
interim fix for PR pkg/50173 (devel/libelf include directory)
XXX shouldn't devel/libelf in fact have a builtin.mk?
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/options.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index 74dfaa28bc5..6502b7a0b08 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.36 2015/09/12 16:50:24 tnn Exp $
+# $NetBSD: options.mk,v 1.37 2015/09/13 01:20:05 tnn Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS= llvm dri
@@ -132,6 +132,7 @@ GALLIUM_DRIVERS+= radeonsi
CONFIGURE_ARGS+= --enable-gallium-llvm
CONFIGURE_ARGS+= --enable-r600-llvm-compiler
.include "../../devel/libelf/buildlink3.mk"
+CPPFLAGS+= -I${BUILDLINK_PREFIX.libelf}/include/libelf
.include "../../lang/libLLVM/buildlink3.mk"
CONFIGURE_ENV+= ac_cv_path_ac_pt_LLVM_CONFIG=${LLVM_CONFIG_PATH}
.else # !llvm