--- trunk/core/newt/newt-0.52.10-r1.smage2 2008/12/25 01:14:54 421 +++ trunk/core/newt/newt-0.52.10-r1.smage2 2008/12/25 01:30:48 422 @@ -35,6 +35,9 @@ # fix libdir sed -i "s:\(libdir =\).*:\1 \$(prefix)/$(mlibdir):g" Makefile.in || die + # fix tcl version + sed -i "s:-ltcl[0-9].[0-9]:-ltcl$(readlink /usr/bin/tclsh | sed 's/tclsh//'):" Makefile.in || die + # use DESTDIR instead of instroot sed -i 's:instroot:DESTDIR:g' ${SRCDIR}/Makefile.in || die } @@ -44,7 +47,7 @@ cd ${SRCDIR} mconfigure || die - mmake -j1 PYTHONVERS=python$(get_python_version) RPM_OPT_FLAGS="${CFLAGS}" || die + mmake -j1 LIBTCL=-ltcl8.5 PYTHONVERS=python$(get_python_version) RPM_OPT_FLAGS="${CFLAGS}" || die } src_install()