From a8b9a73fd66533a9b224c521b17efcedcb70b071 Mon Sep 17 00:00:00 2001 From: Alexander Leidinger Date: Wed, 25 Jan 2006 18:57:36 +0000 Subject: 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) --- emulators/linux_base-8/Makefile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'emulators/linux_base-8') diff --git a/emulators/linux_base-8/Makefile b/emulators/linux_base-8/Makefile index 8a5ea1c80839..47df2715eb1f 100644 --- a/emulators/linux_base-8/Makefile +++ b/emulators/linux_base-8/Makefile @@ -8,7 +8,7 @@ PORTNAME= linux_base-8 PORTVERSION= 8.0 -PORTREVISION= 11 +PORTREVISION= 12 CATEGORIES= emulators linux MASTER_SITES= http://download.fedoralegacy.org/redhat/%SUBDIR%/ \ ftp://mirror.switch.ch/mirror/ximian/mono/redhat-80-i386/:ft @@ -103,12 +103,6 @@ MD5_FILE= ${MASTERDIR}/distinfo.${ARCH} .include -.if ${OSVERSION} >= 700013 -LDCONFIG_TARGET= /var/run/linux-ld.so.cache -.else -LDCONFIG_TARGET= ${PREFIX}/etc/ld.so.cache -.endif - DBPATH= /var/lib/rpm RPM= LC_ALL=C rpm RPMFLAGS= --root ${PREFIX} --dbpath ${DBPATH} --nodeps \ @@ -190,10 +184,7 @@ do-install: @${LN} -sf /var/tmp ${PREFIX}/usr/tmp @${CHOWN} root:wheel ${PREFIX}/var/lock ${PREFIX}/var/spool/mail @${CHMOD} 755 ${PREFIX}/var/lock ${PREFIX}/var/spool/mail -.if ${OSVERSION} >= 700013 - @${LN} -sf ${LDCONFIG_TARGET} ${PREFIX}/etc/ld.so.cache -.endif - @${PREFIX}/sbin/ldconfig -C ${LDCONFIG_TARGET} + @${PREFIX}/sbin/ldconfig -r ${PREFIX} post-install: @${ECHO} '' -- cgit v1.2.3