Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 461012

Summary: x11-apps/xsm-1.0.2: Uses deprecated variable CONFIGURE_OPTIONS
Product: Gentoo Linux Reporter: Roman Žilka <roman.zilka>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roman Žilka 2013-03-09 20:03:31 UTC
emerge =x11-apps/xsm-1.0.2 says (amd64 hardened):
QA: configure
CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS
to preserve namespace.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-10 18:59:32 UTC
This is already fixed in 1.0.3:

-# $Header: /var/cvsroot/gentoo-x86/x11-apps/xsm/xsm-1.0.2.ebuild,v 1.10 2012/05/11 03:06:45 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/xsm/xsm-1.0.3.ebuild,v 1.1 2013/02/18 20:02:05 chithanh Exp $
 
-EAPI=3
+EAPI=5
 
 inherit xorg-2
 
 DESCRIPTION="X Session Manager"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="rsh"
 RDEPEND="x11-libs/libXaw
        x11-libs/libX11
@@ -24,7 +24,10 @@
                einfo "Removing symlink ${XSMPATH}"
                rm -f ${XSMPATH} || die "failed to remove symlink ${XSMPATH}"
        fi
-
-       CONFIGURE_OPTIONS="$(use_with rsh rsh /usr/bin/rsh)"
        xorg-2_pkg_setup
 }
+
+src_configure() {
+       XORG_CONFIGURE_OPTIONS="$(use_with rsh rsh /usr/bin/rsh)"
+       xorg-2_src_configure
+}