scons-utils.eclass: Modernize the example to use usex
authorMichał Górny <mgorny@gentoo.org>
Fri, 1 Jan 2016 09:13:59 +0000 (10:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 8 Jan 2016 05:14:36 +0000 (06:14 +0100)
eclass/scons-utils.eclass

index e1b3a1b64184fdfc3f43330b132020f07c7e10d8..2c52b5918e070a6ee3407abef6effdbd789d4fb2 100644 (file)
 # @CODE
 # inherit scons-utils toolchain-funcs
 #
-# EAPI=4
+# EAPI=5
 #
 # src_configure() {
 #      MYSCONS=(
 #              CC="$(tc-getCC)"
-#              $(use_scons nls ENABLE_NLS)
+#              ENABLE_NLS=$(usex nls)
 #      )
 # }
 #