components/lcms/patches/004-ltmain.sh.patch
changeset 174 187aa0541610
equal deleted inserted replaced
173:69315e61a221 174:187aa0541610
       
     1 --- ltmain.sh	2006-10-16 22:22:11.000000000 -0700
       
     2 +++ ltmain.sh	2011-03-30 09:04:38.929871299 -0700
       
     3 @@ -5972,17 +5972,6 @@
       
     4  	  # Determine the prefix the user has applied to our future dir.
       
     5  	  inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"`
       
     6  
       
     7 -	  # Don't allow the user to place us outside of our expected
       
     8 -	  # location b/c this prevents finding dependent libraries that
       
     9 -	  # are installed to the same prefix.
       
    10 -	  # At present, this check doesn't affect windows .dll's that
       
    11 -	  # are installed into $libdir/../bin (currently, that works fine)
       
    12 -	  # but it's something to keep an eye on.
       
    13 -	  if test "$inst_prefix_dir" = "$destdir"; then
       
    14 -	    $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2
       
    15 -	    exit $EXIT_FAILURE
       
    16 -	  fi
       
    17 -
       
    18  	  if test -n "$inst_prefix_dir"; then
       
    19  	    # Stick the inst_prefix_dir data into the link command.
       
    20  	    relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`