--- pptpclient-1.1.0.ebuild.orig 2002-10-22 22:39:27.000000000 -0500 +++ pptpclient-1.1.0.ebuild 2002-10-22 22:39:45.000000000 -0500 @@ -8,11 +8,13 @@ HOMEPAGE="http://pptpclient.sourceforge.net/" SRC_URI="mirror://sourceforge/pptpclient/pptp-linux-${PV}-1.tar.gz" -DEPEND="net-dialup/ppp" +DEPEND="net-dialup/ppp + sys-devel/perl + tcltk? ( dev-perl/perl-tk )" SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86" +KEYWORDS="x86 ppc" src_compile() { cd ${S} @@ -26,7 +28,11 @@ cd ${S} insinto /etc/ppp doins options.pptp - dosbin pptp-command pptp_fe.pl xpptp_fe.pl + dosbin pptp-command pptp_fe.pl + + if [ -n "`use tcltk`" ] ; then + dosbin xpptp_fe.pl + fi cd pptp-linux-${PV} dosbin pptp