1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00

FreeBSD: Add /usr/dt/lib to runtime linker

Create $LOCALBASE/libdata/ldconfig/cde
which points the runtime linker to /usr/dt/lib

There is no need to invoke ldconfig manually
after this.
This commit is contained in:
Marcin Cieslak 2012-09-25 01:48:27 +02:00 committed by Jon Trulson
parent a8c2232e48
commit 91f228411e

View file

@ -78,6 +78,8 @@ FILESET=CDE-SHLIBS
retval=0
CDE_TOP=CDE_INSTALLATION_TOP
CDE_CONF_TOP=CDE_CONFIGURATION_TOP
LOCALBASE=/usr/local
LDCONFIGFILE="${LOCALBASE}/libdata/ldconfig/cde"
HandleOption $*
@ -88,6 +90,7 @@ CDE_CONF_TOP=CDE_CONFIGURATION_TOP
RemoveShlibFiles
rm -rf $LDCONFIGFILE
/sbin/ldconfig -R
VerifyInstalledFiles
@ -97,7 +100,8 @@ CDE_CONF_TOP=CDE_CONFIGURATION_TOP
MakeTheLink
/sbin/ldconfig -m "${DT_TOP}/lib"
echo "${DT_OPT}/lib" > $LDCONFIGFILE
/sbin/ldconfig -R
elif [ "$OPERATION" = "verify" ]
then