diff options
author | 2004-04-03 14:52:23 +0000 | |
---|---|---|
committer | 2004-04-03 14:52:23 +0000 | |
commit | 0d56ae07546eb30999a45c4178bcb69dc83019c6 (patch) | |
tree | 77c9c6416e9fb396bdaa06ecf571c39772c5fa7e | |
parent | Stable on sparc wrt bug #46258. (diff) | |
download | historical-0d56ae07546eb30999a45c4178bcb69dc83019c6.tar.gz historical-0d56ae07546eb30999a45c4178bcb69dc83019c6.tar.bz2 historical-0d56ae07546eb30999a45c4178bcb69dc83019c6.zip |
Added tcpd IUSE flag check. Thanks to Cory Visi <cory@visi.name> for the suggestion. Closing bug #34016
-rw-r--r-- | app-text/dgs/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/dgs/Manifest | 6 | ||||
-rw-r--r-- | app-text/dgs/dgs-0.5.10-r1.ebuild | 16 |
3 files changed, 20 insertions, 8 deletions
diff --git a/app-text/dgs/ChangeLog b/app-text/dgs/ChangeLog index cace610901b1..903b02445250 100644 --- a/app-text/dgs/ChangeLog +++ b/app-text/dgs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/dgs # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dgs/ChangeLog,v 1.12 2004/03/07 19:31:20 psi29a Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dgs/ChangeLog,v 1.13 2004/04/03 14:52:23 usata Exp $ + + 03 Apr 2004; Mamoru KOMACHI <usata@gentoo.org> dgs-0.5.10-r1.ebuild: + Added tcpd IUSE flag check. Thanks to Cory Visi <cory@visi.name> for the + suggestion. Closing bug #34016 07 Mar 2004; Bret Curtis <psi29a@gentoo.org> dgs-0.5.10-r1.ebuild: Added ~mips to KEYWORDS diff --git a/app-text/dgs/Manifest b/app-text/dgs/Manifest index 39bf8e55796a..04a7140424fc 100644 --- a/app-text/dgs/Manifest +++ b/app-text/dgs/Manifest @@ -1,4 +1,4 @@ -MD5 afb493dcb9f059f8d916137de620a84e ChangeLog 1683 -MD5 1b0728e1c2edf441b16ac5a2e7e88144 dgs-0.5.10-r1.ebuild 1034 -MD5 c80e720c69104e2ac5daec31d4b9affc files/dgs-0.5.10-gs-time_.h-gentoo.diff 415 +MD5 75f45723f8fcc985ea6a8c2c82f099f8 dgs-0.5.10-r1.ebuild 1343 +MD5 3b714904cd5c68a4d773b240c1996fab ChangeLog 1862 MD5 451b8d732d17eb1e16e6fd6b116411d9 files/digest-dgs-0.5.10-r1 63 +MD5 c80e720c69104e2ac5daec31d4b9affc files/dgs-0.5.10-gs-time_.h-gentoo.diff 415 diff --git a/app-text/dgs/dgs-0.5.10-r1.ebuild b/app-text/dgs/dgs-0.5.10-r1.ebuild index c8695c31f061..5dfffae9dd8c 100644 --- a/app-text/dgs/dgs-0.5.10-r1.ebuild +++ b/app-text/dgs/dgs-0.5.10-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dgs/dgs-0.5.10-r1.ebuild,v 1.21 2004/03/07 19:31:20 psi29a Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dgs/dgs-0.5.10-r1.ebuild,v 1.22 2004/04/03 14:52:23 usata Exp $ inherit gnuconfig @@ -11,12 +11,20 @@ HOMEPAGE="http://www.gyve.org/dgs/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc alpha amd64 hppa ~mips" +IUSE="tcpd" RDEPEND="=dev-libs/glib-1.2* virtual/x11" DEPEND="${RDEPEND} sys-apps/texinfo - >=sys-apps/tcp-wrappers-7.6" + tcpd? ( >=sys-apps/tcp-wrappers-7.6 )" + +pkg_setup() { + if has_version 'sys-apps/tcp-wrappers' && [ -z "`use tcpd`" ]; then + ewarn "tcp-wrappers will be detected by the package and support will be enabled" + ewarn "The package presently provides no way to disable tcp-wrappers support if you don't want it" + fi +} src_unpack() { unpack ${A} @@ -26,12 +34,12 @@ src_unpack() { } src_compile() { - econf --with-x + econf --with-x || die make || die } src_install() { - einstall + einstall || die rm -rf ${D}/usr/share/man/manm newman ${S}/DPS/demos/xepsf/xepsf.man xepsf.1 |