public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dns/openresolv: ChangeLog openresolv-1.5.ebuild
       [not found] <E1JfiJ1-0008M0-Ue@stork.gentoo.org>
@ 2008-03-30  5:45 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2008-03-30  5:45 UTC (permalink / raw
  To: gentoo-dev, vapier

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-30  5:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JfiJ1-0008M0-Ue@stork.gentoo.org>
2008-03-30  5:45 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-dns/openresolv: ChangeLog openresolv-1.5.ebuild Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox