aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--graphics/libx3dtk/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/libx3dtk/Makefile b/graphics/libx3dtk/Makefile
index e0825d6e8a77..5c9d3e37d2de 100644
--- a/graphics/libx3dtk/Makefile
+++ b/graphics/libx3dtk/Makefile
@@ -44,6 +44,8 @@ post-patch:
do-configure:
cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} \
+ INCLUDEPATH=${X11BASE}/include \
+ LIBS=-L${X11BASE}/lib \
PARSER=LIBXML \
LIBXML_DIR=${LOCALBASE} \
JPEG=YES \
@@ -55,6 +57,8 @@ do-configure:
PREFIX="${PREFIX}"
cd ${WRKSRC}/examples && ${SETENV} ${MAKE_ENV} ${QMAKE} \
-spec ${QMAKESPEC} \
+ INCLUDEPATH=${X11BASE}/include \
+ LIBS=-L${X11BASE}/lib \
PARSER=LIBXML \
LIBXML_DIR=${LOCALBASE} \
JPEG=YES \