aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/osg/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/osg/Makefile b/graphics/osg/Makefile
index 4641c6b0a4c8..2e33df9a05de 100644
--- a/graphics/osg/Makefile
+++ b/graphics/osg/Makefile
@@ -95,7 +95,8 @@ PLIST_SUB+= GIF="@comment "
.if defined(WITH_INVENTOR)
FORCE_REQUIRE+= Inventor
-LIB_DEPENDS+= Inventor:${PORTSDIR}/graphics/inventor
+BUILD_DEPENDS+= ${LOCALBASE}/lib/libInventor.so:${PORTSDIR}/graphics/inventor
+RUN_DEPENDS+= ${LOCALBASE}/lib/libInventor.so:${PORTSDIR}/graphics/inventor
PLIST_SUB+= INVENTOR=""
.else
FORCE_IGNORE+= Inventor