--- parted-1.4.24-r1.ebuild Wed Mar 27 08:06:43 2002 +++ parted-1.4.24-r1.ebuild Wed Mar 27 11:19:10 2002 @@ -15,6 +15,15 @@ nls? ( >=sys-devel/gettext-0.10.38 ) python? ( >=dev-lang/python-2.0 )" +src_unpack() { + unpack ${A} + if [ -z "`use nls`" ] + then + touch ${S}/parted/libintl.h + touch ${S}/debug/clearfat/libintl.h + find ${S}/libparted/ -type d -exec touch {}/libintl.h \; + fi +} src_compile() {