diff -urN /usr/portage/dev-lang/perl/perl-5.8.4-r1.ebuild /usr/local/portage/dev-lang/perl/perl-5.8.4-r1.ebuild --- /usr/portage/dev-lang/perl/perl-5.8.4-r1.ebuild Sat Aug 7 03:39:30 2004 +++ /usr/local/portage/dev-lang/perl/perl-5.8.4-r1.ebuild Wed Aug 18 12:15:25 2004 @@ -16,7 +16,7 @@ LIBPERL="libperl.so.${PERLSLOT}.${SHORT_PV}" LICENSE="Artistic GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~ppc64 ~s390 ~macos" IUSE="berkdb doc gdbm threads uclibc" DEPEND="!uclibc? ( sys-apps/groff ) @@ -111,6 +111,12 @@ # sparc64. epatch ${FILESDIR}/${P}-nonblock.patch + + # Config.pm on Mac OS X defaults to installing some files into + # /Network/Library, which fails because /Network is a read-only + # file system. Replace this with /System. (Maybe there should be + # a USE flag for this). + epatch ${FILESDIR}/${P}-macos-install-dirs.patch } src_configure() {