--- pcmanfm-2.0.orig/ltmain.sh	2011-04-14 20:46:32.000000000 +0200
+++ pcmanfm-2.0/ltmain.sh	2011-04-16 11:59:52.000000000 +0200
@@ -4216,19 +4216,6 @@ func_mode_link ()
 	  prev=
 	  continue
 	  ;;
-	framework)
-	  case $host in
-	    *-*-darwin*)
-	      case "$deplibs " in
-		*" $qarg.ltframework "*) ;;
-		*) deplibs="$deplibs $qarg.ltframework" # this is fixed later
-		   ;;
-	      esac
-	      ;;
-	  esac
-	  prev=
-	  continue
-	  ;;
 	inst_prefix)
 	  inst_prefix_dir="$arg"
 	  prev=
@@ -4452,11 +4439,6 @@ func_mode_link ()
 	continue
 	;;
 
-      -framework)
-	prev=framework
-	continue
-	;;
-
       -inst-prefix-dir)
 	prev=inst_prefix
 	continue