[22729] trunk/dports/graphics/aalib/files/patch-ltmain.sh.diff

source_changes at macosforge.org source_changes at macosforge.org
Mon Mar 12 20:46:07 PDT 2007


Revision: 22729
          http://trac.macosforge.org/projects/macports/changeset/22729
Author:   yves at macports.org
Date:     2007-03-12 20:46:07 -0700 (Mon, 12 Mar 2007)

Log Message:
-----------
Remove offending hunk in ltmain.sh patch (may be useful for freebsd, but freebsd ports don't use it ...)
fix for ticket:10657

Modified Paths:
--------------
    trunk/dports/graphics/aalib/files/patch-ltmain.sh.diff

Modified: trunk/dports/graphics/aalib/files/patch-ltmain.sh.diff
===================================================================
--- trunk/dports/graphics/aalib/files/patch-ltmain.sh.diff	2007-03-13 01:56:08 UTC (rev 22728)
+++ trunk/dports/graphics/aalib/files/patch-ltmain.sh.diff	2007-03-13 03:46:07 UTC (rev 22729)
@@ -4755,40 +4755,6 @@
  };
  
  /* This works around a problem in FreeBSD linker */
-@@ -2617,27 +4280,27 @@
- 	  fi
- 
- 	  pic_flag_for_symtable=
--	  case "$host" in
-+	  case $host in
- 	  # compiling the symbol table file with pic_flag works around
- 	  # a FreeBSD bug that causes programs to crash when -lm is
- 	  # linked before any other PIC object.  But we must not use
- 	  # pic_flag when linking with -static.  The problem exists in
- 	  # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
--	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
-+	  *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
- 	    case "$compile_command " in
- 	    *" -static "*) ;;
--	    *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";;
-+	    *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";;
- 	    esac;;
- 	  *-*-hpux*)
- 	    case "$compile_command " in
- 	    *" -static "*) ;;
--	    *) pic_flag_for_symtable=" $pic_flag -DPIC";;
-+	    *) pic_flag_for_symtable=" $pic_flag";;
- 	    esac
- 	  esac
- 
- 	  # Now compile the dynamic symbol file.
--	  $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
--	  $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
-+	  $show "(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")"
-+	  $run eval '(cd $output_objdir && $LTCC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $?
- 
- 	  # Clean up the generated files.
- 	  $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T"
 @@ -2662,7 +4325,7 @@
  	finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
        fi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070312/8e6e6194/attachment.html


More information about the macports-changes mailing list