summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-11-19 21:43:52 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-11-19 21:43:52 +0000
commit98d5ecbdb204548cc540743ab736e2923e41a690 (patch)
tree14de68341f52728e7ade6e107c32e049e81cd552
parentFix packing list. Fix generation of pango.modules file (still (diff)
Run the Linux ldconfig after installation (PORTREVISION bumped to 1).
Notes
Notes: svn path=/head/; revision=94409
-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"