]> Pileus Git - ~andy/sunrise/blobdiff - net-nntp/nzbperl/nzbperl-0.6.8.ebuild
dev-db/cppdb: Add ~amd64 keyword, EAPI bump
[~andy/sunrise] / net-nntp / nzbperl / nzbperl-0.6.8.ebuild
index 6304891f368f2b799b71f599f56666f2b11e8a67..cbb9b95291ff5c61a0a18e86ba669251635090ad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -30,7 +30,7 @@ src_install() {
 }
 
 pkg_postinst() {
-       if ! built_with_use dev-lang/perl ithreads; then
+       if has_version dev-lang/perl[-ithreads]; then
                ewarn "WARNING: dev-lang/perl was built with ithreads disabled, please start nzbperl"
                ewarn "with --dthreadct 0 to use single-threaded nzbperl OR remerge dev-lang/perl"
                ewarn "with ithreads in your USE flags."