aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/linux_glx/Makefile2
-rw-r--r--graphics/linux_glx/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/graphics/linux_glx/Makefile b/graphics/linux_glx/Makefile
index 5ea087826491..1243e5ef2fa6 100644
--- a/graphics/linux_glx/Makefile
+++ b/graphics/linux_glx/Makefile
@@ -27,5 +27,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libGL.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/libGLU.so ${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/libglut.so ${PREFIX}/lib
+post-install:
+ @ ${PREFIX}/sbin/ldconfig
.include <bsd.port.mk>
diff --git a/graphics/linux_glx/pkg-plist b/graphics/linux_glx/pkg-plist
index c2070a2991fb..46785665b62f 100644
--- a/graphics/linux_glx/pkg-plist
+++ b/graphics/linux_glx/pkg-plist
@@ -1,3 +1,5 @@
lib/libGL.so
lib/libGLU.so
lib/libglut.so
+@exec %D/sbin/ldconfig
+@unexec %D/sbin/ldconfig