Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461012 - x11-apps/xsm-1.0.2: Uses deprecated variable CONFIGURE_OPTIONS
Summary: x11-apps/xsm-1.0.2: Uses deprecated variable CONFIGURE_OPTIONS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-09 20:03 UTC by Roman Žilka
Modified: 2013-03-10 18:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
+}