On 21:09 Sat 29 Mar , Mike Frysinger (vapier) wrote: > 1.1 net-dns/openresolv/openresolv-1.5.ebuild > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/openresolv/openresolv-1.5.ebuild?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/openresolv/openresolv-1.5.ebuild?rev=1.1&content-type=text/plain
> src_install() { > emake DESTDIR="${D}" install || die "Failed to install" > } > > pkg_config() { > if [ "${ROOT}" != "/" ]; then > eerror "We cannot configure unless \$ROOT=/" > return 1 > fi > > if [ -n "$(resolvconf -l)" ]; then > einfo "${PN} already has DNS information" > else > ebegin "Copying /etc/resolv.conf to resolvconf -a dummy" > resolvconf -a dummy </etc/resolv.conf > eend $? || return $? > einfo "The dummy interface will disappear when you next reboot" > fi > } It'd be nice to let people know about pkg_config() -- does portage do that automatically now? Thanks, Donnie -- gentoo-dev@lists.gentoo.org mailing list