Skip to content

Instantly share code, notes, and snippets.

@jbergstroem
Created March 6, 2014 22:49
Show Gist options
  • Select an option

  • Save jbergstroem/9401473 to your computer and use it in GitHub Desktop.

Select an option

Save jbergstroem/9401473 to your computer and use it in GitHub Desktop.
Add IUSE=snapshot to nodejs 0.11
--- a/nodejs-0.11.11.ebuild 2014-02-26 17:22:35.000000000 +1100
+++ b/nodejs-0.11.11.ebuild 2014-03-07 09:44:22.154698013 +1100
@@ -18,7 +18,7 @@
LICENSE="Apache-1.1 Apache-2.0 BSD BSD-2 MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
-IUSE="+npm"
+IUSE="+npm +snapshot"
RDEPEND="dev-libs/openssl"
DEPEND="${RDEPEND}"
@@ -40,6 +40,7 @@
src_configure() {
local myconf=""
! use npm && myconf="--without-npm"
+ ! use snapshot && myconf="${myconf} --without-snapshot"
# Use target arch detection logic, see v8-3.18 ebuilds
case ${CHOST} in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment