Problem occurs on sparc64-solaris9 where libc does not have iconv built in. Also, according to git, CURRENT's libiconv is OLD_ICONV.
Suggested patch, which also turns on verbose compilation: --- git.spec 2007/08/23 13:37:10 1.1 +++ git.spec 2007/08/23 15:56:27 1.2 @@ -39,7 +39,7 @@ Group: SCM License: GPL Version: %{V_git} -Release: 20070816 +Release: 20070822 # list of sources Source0: http://www.kernel.org/pub/software/scm/git/git-%{V_git}.tar.gz @@ -100,14 +100,18 @@ %build # build GIT core + # mdiers: the way $libs is used in ALL_LDFLAGS does not work for -liconv. ( cd git-%{V_git} - libs="-liconv" + libs="" case "%{l_platform -t}" in *-linux* ) libs="$libs -ldl" ;; esac ( echo "CC := %{l_cc}" echo "ALL_CFLAGS := %{l_cflags -O} %{l_cppflags} \$(ALL_CFLAGS)" echo "ALL_LDFLAGS := %{l_ldflags} \$(ALL_LDFLAGS) $libs" + echo "V = Verbose" + echo "NEEDS_LIBICONV = Yes" + echo "OLD_ICONV = Yes" echo "INSTALL = %{l_shtool} install -c" echo "TAR = %{l_tar}" echo "CURLDIR = %{l_prefix}" -- Michael Diers | Software Developer | http://www.elego.de/ ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org