summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-06-05 20:25:24 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-06-05 20:25:24 +0000
commitb7110ed9fbec6c5d61c6c5424aff224889f2d921 (patch)
tree76422e74a44a33097b295fb7b29e786184e6af2b /dev-java
parentadding kdepim-3.5.9-r2 and kitchensync-3.5.9-r1 to p.mask per IRC convo with ... (diff)
downloadhistorical-b7110ed9fbec6c5d61c6c5424aff224889f2d921.tar.gz
historical-b7110ed9fbec6c5d61c6c5424aff224889f2d921.tar.bz2
historical-b7110ed9fbec6c5d61c6c5424aff224889f2d921.zip
Add a built_with_use check for dev-java/antlr and the java use flag. Fixes bug #225003.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ant-antlr/ChangeLog8
-rw-r--r--dev-java/ant-antlr/Manifest4
-rw-r--r--dev-java/ant-antlr/ant-antlr-1.7.0.ebuild15
3 files changed, 20 insertions, 7 deletions
diff --git a/dev-java/ant-antlr/ChangeLog b/dev-java/ant-antlr/ChangeLog
index fc23ca6be93c..66bb197072fe 100644
--- a/dev-java/ant-antlr/ChangeLog
+++ b/dev-java/ant-antlr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/ant-antlr
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-antlr/ChangeLog,v 1.9 2007/05/12 17:46:35 wltjr Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-antlr/ChangeLog,v 1.10 2008/06/05 20:25:24 serkan Exp $
+
+ 05 Jun 2008; Serkan Kaba <serkan@gentoo.org> ant-antlr-1.7.0.ebuild:
+ Add a built_with_use check for dev-java/antlr and the java use flag. Fixes
+ bug #225003.
12 May 2007; William L. Thomson Jr. <wltjr@gentoo.org>
ant-antlr-1.7.0.ebuild:
diff --git a/dev-java/ant-antlr/Manifest b/dev-java/ant-antlr/Manifest
index 78c4afb901fe..0922dd9d5e78 100644
--- a/dev-java/ant-antlr/Manifest
+++ b/dev-java/ant-antlr/Manifest
@@ -1,5 +1,5 @@
DIST ant-1.7.0-gentoo.tar.bz2 11720 RMD160 51d24f2c0c98195ed6ef1852045201a567a5d9ea SHA1 41acb8398a5ac9713dec30d6305b5abc6c014fff SHA256 7b1e0c63bec193c010c3fcca7a3524e2e35cc4ca56b86e4571737ac1e169e35c
DIST apache-ant-1.7.0-src.tar.bz2 6831017 RMD160 e18ecde1996401f03529d80d2b6f3be2c55e64ab SHA1 3f01c35265ba50a49caafe1fb34ec8998bf45eb3 SHA256 a6698e8420f6d1cefd9e02c5a6b610b84495a3f9bfe1fc9e1b4fe8a8769e3779
-EBUILD ant-antlr-1.7.0.ebuild 346 RMD160 19e5f44293e751614f430150862dc64e196c2f59 SHA1 fda71418b0262184af7e2eb9091705e200916417 SHA256 4bde010e680347b6a39b8322460309121e511707438f2691355787d3780da55f
-MISC ChangeLog 1217 RMD160 b597e933667737fd6fac143a851ebb0a98c644f6 SHA1 98a71c5db7bde2487620b8c9173002630fd508c1 SHA256 25156f6abe1f6943b447686d1dfe47bdabed2aa32ce497df61da7e48a2ddc9ae
+EBUILD ant-antlr-1.7.0.ebuild 541 RMD160 50e3f08847fcf148d6b4adc72c41a214e49065ff SHA1 be0bf68e19748089c80ab61a236f98968e8f416f SHA256 73287efd44aa3512e4823b7e2c59505b114da228c664a704602bc66b68f29ee8
+MISC ChangeLog 1383 RMD160 2d42e1bdf344206ee84b60a330ea13cd11681983 SHA1 82e9421cd695651ef434c66d54bf079735bd5898 SHA256 1c42482f4666cafca8ef227449b4a37d1d4654945fd04066fcb9f8f3e1cd12bc
MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
diff --git a/dev-java/ant-antlr/ant-antlr-1.7.0.ebuild b/dev-java/ant-antlr/ant-antlr-1.7.0.ebuild
index 4d0699954d4d..848f84568b4d 100644
--- a/dev-java/ant-antlr/ant-antlr-1.7.0.ebuild
+++ b/dev-java/ant-antlr/ant-antlr-1.7.0.ebuild
@@ -1,10 +1,19 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-antlr/ant-antlr-1.7.0.ebuild,v 1.10 2007/05/12 17:46:35 wltjr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-antlr/ant-antlr-1.7.0.ebuild,v 1.11 2008/06/05 20:25:24 serkan Exp $
-inherit ant-tasks
+inherit java-pkg-2 ant-tasks
KEYWORDS="amd64 ~ia64 ppc ppc64 x86 ~x86-fbsd"
DEPEND=">=dev-java/antlr-2.7.5-r3"
RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ if ! built_with_use dev-java/antlr java; then
+ msg="dev-java/antlr needs to be built with the java use flag"
+ eerror ${msg}
+ die ${msg}
+ fi
+ java-pkg-2_pkg_setup
+}