? p Index: cups-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-print/cups/cups-9999.ebuild,v retrieving revision 1.18 diff -u -b -B -r1.18 cups-9999.ebuild --- cups-9999.ebuild 31 Aug 2012 10:37:11 -0000 1.18 +++ cups-9999.ebuild 31 Aug 2012 10:42:40 -0000 @@ -164,11 +164,11 @@ fi econf \ - --libdir=/usr/$(get_libdir) \ - --localstatedir=/var \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ + --localstatedir="${EPREFIX}"/var \ --with-cups-user=lp \ --with-cups-group=lp \ - --with-docdir=/usr/share/cups/html \ + --with-docdir="${EPREFIX}"/usr/share/cups/html \ --with-languages="${LINGUAS}" \ --with-system-groups=lpadmin \ $(use_enable acl) \ @@ -193,9 +193,9 @@ # install in /usr/libexec always, instead of using /usr/lib/cups, as that # makes more sense when facing multilib support. - sed -i -e 's:SERVERBIN.*:SERVERBIN = "$(BUILDROOT)"/usr/libexec/cups:' Makedefs || die - sed -i -e 's:#define CUPS_SERVERBIN.*:#define CUPS_SERVERBIN "/usr/libexec/cups":' config.h || die - sed -i -e 's:cups_serverbin=.*:cups_serverbin=/usr/libexec/cups:' cups-config || die + sed -i -e 's:SERVERBIN.*:SERVERBIN = "$(BUILDROOT)${EPREFIX}"/usr/libexec/cups:' Makedefs || die + sed -i -e 's:#define CUPS_SERVERBIN.*:#define CUPS_SERVERBIN "${EPREFIX}/usr/libexec/cups":' config.h || die + sed -i -e 's:cups_serverbin=.*:cups_serverbin=${EPREFIX}/usr/libexec/cups:' cups-config || die } src_install() { @@ -269,10 +269,6 @@ elog "For information about installing a printer and general cups setup" elog "take a look at: http://www.gentoo.org/doc/en/printing-howto.xml" echo - elog "Network browsing for printers is now switched off by default in the config file." - elog "To (re-)enable it, edit /etc/cups/cupsd.conf and set \"Browsing On\", " - elog "afterwards re-start or reload cups." - echo # not slotted - at most one value if [[ "${REPLACING_VERSIONS}" ]] && [[ "${REPLACING_VERSIONS}" < "1.6" ]]; then