Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 65272 | Differences between
and this patch

Collapse All | Expand All

(-)/var/tmp/portage/glib-1.2.10-r5/work/glib-1.2.10//ltmain.sh (+33 lines)
Lines 1079-1084 Link Here
1079
	    # These systems don't actually have c library (as such)
1079
	    # These systems don't actually have c library (as such)
1080
	    continue
1080
	    continue
1081
	    ;;
1081
	    ;;
1082
	  *-*-rhapsody* | *-*-darwin1.[012])
1083
	    # Rhapsody C library is in the System framework
1084
	    deplibs="$deplibs -framework System"
1085
	    continue
1086
	    ;;
1082
	  esac
1087
	  esac
1083
	elif test "$arg" = "-lm"; then
1088
	elif test "$arg" = "-lm"; then
1084
	  case "$host" in
1089
	  case "$host" in
Lines 1086-1091 Link Here
1086
	    # These systems don't actually have math library (as such)
1091
	    # These systems don't actually have math library (as such)
1087
	    continue
1092
	    continue
1088
	    ;;
1093
	    ;;
1094
	  *-*-rhapsody* | *-*-darwin1.[012])
1095
	    # Rhapsody math library is in the System framework
1096
	    deplibs="$deplibs -framework System"
1097
	    continue
1098
	    ;;
1089
	  esac
1099
	  esac
1090
	fi
1100
	fi
1091
	deplibs="$deplibs $arg"
1101
	deplibs="$deplibs $arg"
Lines 1753-1758 Link Here
1753
	  versuffix="-$major-$age-$revision"
1763
	  versuffix="-$major-$age-$revision"
1754
	  ;;
1764
	  ;;
1755
1765
1766
	darwin)
1767
	  # Like Linux, but with the current version available in
1768
	  # verstring for coding it into the library header
1769
	  major=.`expr $current - $age`
1770
	  versuffix="$major.$age.$revision"
1771
	  # Darwin ld doesn't like 0 for these options...
1772
	  minor_current=`expr $current + 1`
1773
	  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
1774
	  ;;
1775
1756
	*)
1776
	*)
1757
	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
1777
	  $echo "$modename: unknown library version type \`$version_type'" 1>&2
1758
	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
1778
	  echo "Fatal configuration error.  See the $PACKAGE docs for more information." 1>&2
Lines 1763-1769 Link Here
1763
	# Clear the version info if we defaulted, and they specified a release.
1783
	# Clear the version info if we defaulted, and they specified a release.
1764
	if test -z "$vinfo" && test -n "$release"; then
1784
	if test -z "$vinfo" && test -n "$release"; then
1765
	  major=
1785
	  major=
1786
	  case "$version_type" in
1787
	  darwin)
1788
	    # we can't check for "0.0" in archive_cmds due to quoting
1789
	    # problems, so we reset it completely
1790
	    verstring=""
1791
	    ;;
1792
	  *)
1766
	  verstring="0.0"
1793
	  verstring="0.0"
1794
	    ;;
1795
	  esac
1767
	  if test "$need_version" = no; then
1796
	  if test "$need_version" = no; then
1768
	    versuffix=
1797
	    versuffix=
1769
	  else
1798
	  else
Lines 1795-1800 Link Here
1795
	*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
1824
	*-*-cygwin* | *-*-mingw* | *-*-os2* | *-*-beos*)
1796
	  # these systems don't actually have a c library (as such)!
1825
	  # these systems don't actually have a c library (as such)!
1797
	  ;;
1826
	  ;;
1827
        *-*-rhapsody* | *-*-darwin1.[012])
1828
	  # Rhapsody C library is in the System framework
1829
	  deplibs="$deplibs -framework System"
1830
	  ;;
1798
	*)
1831
	*)
1799
	  # Add libc to deplibs on all other systems.
1832
	  # Add libc to deplibs on all other systems.
1800
	  deplibs="$deplibs -lc"
1833
	  deplibs="$deplibs -lc"

Return to bug 65272