FreeBSD: Add /usr/dt/lib to runtime linker - update
authorMarcin Cieslak <saper@saper.info>
Tue, 25 Sep 2012 00:59:06 +0000 (00:59 +0000)
committerJon Trulson <jon@radscan.com>
Tue, 25 Sep 2012 01:21:12 +0000 (19:21 -0600)
On Mon, 24 Sep 2012, Jon Trulson wrote:

> On Tue, 25 Sep 2012, Marcin Cieslak wrote:
>
> Applied.

I'm sorry - it turns out this one does not fully
work as expected.

This one is better (it's relative to the old master)
- so it might cause a conflict:

cde/admin/IntegTools/post_install/freebsd/configShlibs.src

index 3807af30cdfaa76e4760b99b6870dbd92913c7a1..f50578d70a7a672e2a0a93540bd28e0c5bf48026 100755 (executable)
@@ -97,7 +97,8 @@ CDE_CONF_TOP=CDE_CONFIGURATION_TOP
 
     MakeTheLink
 
-    /sbin/ldconfig -m "${DT_TOP}/lib"
+    echo $CDE_TOP/lib > $LDCONFIGFILE
+    /sbin/ldconfig -m $CDE_TOP/lib
 
   elif [ "$OPERATION" = "verify" ]
   then