--- /usr/portage/sci-astronomy/celestia/celestia-1.4.1.ebuild 2006-05-07 00:36:11.000000000 +0200 +++ /usr/local/portage/sci-astronomy/celestia/celestia-1.4.1.ebuild 2006-09-01 19:31:44.000000000 +0200 @@ -73,10 +73,13 @@ fi epatch "${FILESDIR}/celestia-1.4.1-gcc-4.1.patch" - epatch "${FILESDIR}/makefile.am.patch" - autoconf - automake + if use kde ; then + epatch "${FILESDIR}/makefile.am.patch" + + autoconf + automake + fi econf \ --with-${mygui} \