diff options
author | netchild <netchild@FreeBSD.org> | 2006-01-25 18:57:36 +0000 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2006-01-25 18:57:36 +0000 |
commit | 6cacb89d4c980da9c93e294cac263a189c494f1b (patch) | |
tree | 10b837368af0f682e031df75a030a833d98c6db8 /x11 | |
parent | b6925162343e8e6f806624926cd8697f663bb646 (diff) | |
download | FreeBSD-ports-6cacb89d4c980da9c93e294cac263a189c494f1b.zip FreeBSD-ports-6cacb89d4c980da9c93e294cac263a189c494f1b.tar.gz |
The read-only LINUXBASE case (after installing the ports, of course) has
to besolved differently, since the ldconfig call has to be chrooted, else
the linux ldconfig will cache some FreeBSD native libs which results in
not being able to start some programs:
- remove the symlink (linux_base)
- revert to chroot the ldconfig call (with internal functionality this
time)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/linux-XFree86-libs/Makefile | 2 | ||||
-rw-r--r-- | x11/linux-XFree86-libs/files/pkg-install.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/x11/linux-XFree86-libs/Makefile b/x11/linux-XFree86-libs/Makefile index 8f2655c..21ca8fe 100644 --- a/x11/linux-XFree86-libs/Makefile +++ b/x11/linux-XFree86-libs/Makefile @@ -7,7 +7,7 @@ PORTNAME= XFree86-libs PORTVERSION= 4.3.99.902 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11 linux MASTER_SITES= ${MASTER_SITE_SUSE} \ ftp://ftp.in2p3.fr/pub/linux/suse/update/9.1/rpm/i586/ \ diff --git a/x11/linux-XFree86-libs/files/pkg-install.in b/x11/linux-XFree86-libs/files/pkg-install.in index 8a60e55..2e61086 100644 --- a/x11/linux-XFree86-libs/files/pkg-install.in +++ b/x11/linux-XFree86-libs/files/pkg-install.in @@ -6,7 +6,7 @@ export PATH if [ "$2" = "POST-INSTALL" ]; then grep -q /usr/X11R6/lib %%LINUXBASE%%/etc/ld.so.conf if [ $? -eq 0 ]; then - %%LINUXBASE%%/sbin/ldconfig + %%LINUXBASE%%/sbin/ldconfig -r %%LINUXBASE%% else echo '*************************' echo 'WARNING: You do not have /usr/X11R6/lib in %%LINUXBASE%%/etc/ld.so.conf (probably because you do not use the default linux_base port and those non-default linux_base ports have a bug in this regard), please add it and run %%LINUXBASE%%/sbin/ldconfig as root to be able to use applications which make use of the linux X11 port.' | fmt |