aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2003-11-20 05:43:52 +0800
committertrevor <trevor@FreeBSD.org>2003-11-20 05:43:52 +0800
commit7c0fa13834bdcca9e1d613434477c01bcf0cfbf4 (patch)
tree651b6b87912cd05176b3b71a8502cb21c90669af /x11
parent244615727828bf82c3acd2d68d11cc5a9a2a4ee4 (diff)
downloadfreebsd-ports-gnome-7c0fa13834bdcca9e1d613434477c01bcf0cfbf4.tar.gz
freebsd-ports-gnome-7c0fa13834bdcca9e1d613434477c01bcf0cfbf4.tar.zst
freebsd-ports-gnome-7c0fa13834bdcca9e1d613434477c01bcf0cfbf4.zip
Run the Linux ldconfig after installation (PORTREVISION bumped to 1).
Diffstat (limited to 'x11')
-rw-r--r--x11/linux-XFree86-libs/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11/linux-XFree86-libs/Makefile b/x11/linux-XFree86-libs/Makefile
index 58ab56bb42af..0754ad1c1a09 100644
--- a/x11/linux-XFree86-libs/Makefile
+++ b/x11/linux-XFree86-libs/Makefile
@@ -7,7 +7,7 @@
PORTNAME= XFree86-libs
PORTVERSION= 4.3.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= x11 linux
MASTER_SITES= ${MASTER_SITE_REDHAT_LINUX}
MASTER_SITE_SUBDIR= updates/9/en/os/i386
@@ -36,4 +36,10 @@ pre-install:
${ECHO_CMD} @dirrm ${ii} >> ${PLIST}
.endfor
+post-install:
+ ${RM} -f ${LINUXBASE}/etc/ld.so.cache
+ ${FIND} ${LINUXBASE} -name lib -type d | ${SED} 's:${LINUXBASE}::g' \
+ > ${LINUXBASE}/etc/ld.so.conf
+ chroot ${LINUXBASE} sbin/ldconfig
+
.include "../../x11-toolkits/linux-gtk/Makefile"