mirror of
				git://git.code.sf.net/p/cdesktopenv/code
				synced 2025-03-09 15:50:02 +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:
		
							parent
							
								
									a8c2232e48
								
							
						
					
					
						commit
						91f228411e
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue