summaryrefslogtreecommitdiff
path: root/graphics/inventor
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/inventor')
-rw-r--r--graphics/inventor/Makefile3
-rw-r--r--graphics/inventor/files/patch-ivcommondefs4
2 files changed, 3 insertions, 4 deletions
diff --git a/graphics/inventor/Makefile b/graphics/inventor/Makefile
index 23aa65a190b6..3db6c2940deb 100644
--- a/graphics/inventor/Makefile
+++ b/graphics/inventor/Makefile
@@ -25,9 +25,8 @@ USE_GL= glw
USE_GMAKE= yes
USE_ICONV= yes
USE_MOTIF= yes
-INSTALLS_SHLIB= yes
+USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386
-#PREFIX= ${X11BASE} # not a good manner
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV= LD_LIBRARY_PATH=${WRKSRC}/lib:${WRKSRC}/libSoXt
diff --git a/graphics/inventor/files/patch-ivcommondefs b/graphics/inventor/files/patch-ivcommondefs
index bda11238ef45..53aaf37ce68d 100644
--- a/graphics/inventor/files/patch-ivcommondefs
+++ b/graphics/inventor/files/patch-ivcommondefs
@@ -18,7 +18,7 @@
LCOPTS += $(LINUXOPTS)
-X11DIR = /usr/X11R6
-+X11DIR = ${X11BASE}
++X11DIR = ${LOCALBASE}
X11INCDIR = $(X11DIR)/include
X11LIBDIR = $(X11DIR)/lib
@@ -61,7 +61,7 @@
#
+ifeq ($(usingFreeBSD), 1)
-+IVPREFIX = ${X11BASE}
++IVPREFIX = ${LOCALBASE}
+else
IVPREFIX = /usr
+endif