summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2021-05-02 01:55:06 +0200
committerMatt Turner <mattst88@gentoo.org>2021-05-02 11:24:48 -0400
commit555523ed86e5e3eecb035af5b27a156dcd01fa79 (patch)
tree75b28bce315c44d4146acbfd12641fbb765043e1 /x11-libs/libXfont2
parentx11-libs/libXext: Define XORG_CONFIGURE_OPTIONS in src_configure (diff)
downloadgentoo-555523ed86e5e3eecb035af5b27a156dcd01fa79.tar.gz
gentoo-555523ed86e5e3eecb035af5b27a156dcd01fa79.tar.bz2
gentoo-555523ed86e5e3eecb035af5b27a156dcd01fa79.zip
x11-libs/libXfont2: Define XORG_CONFIGURE_OPTIONS in src_configure
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: David Seifert <soap@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-libs/libXfont2')
-rw-r--r--x11-libs/libXfont2/libXfont2-2.0.4.ebuild5
-rw-r--r--x11-libs/libXfont2/libXfont2-9999.ebuild7
2 files changed, 7 insertions, 5 deletions
diff --git a/x11-libs/libXfont2/libXfont2-2.0.4.ebuild b/x11-libs/libXfont2/libXfont2-2.0.4.ebuild
index 22ade10fa26c..7a77ae024711 100644
--- a/x11-libs/libXfont2/libXfont2-2.0.4.ebuild
+++ b/x11-libs/libXfont2/libXfont2-2.0.4.ebuild
@@ -21,8 +21,8 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto
x11-libs/xtrans"
-pkg_setup() {
- XORG_CONFIGURE_OPTIONS=(
+src_configure() {
+ local XORG_CONFIGURE_OPTIONS=(
$(use_enable ipv6)
$(use_enable doc devel-docs)
$(use_with doc xmlto)
@@ -30,4 +30,5 @@ pkg_setup() {
$(use_enable truetype freetype)
--without-fop
)
+ xorg-3_src_configure
}
diff --git a/x11-libs/libXfont2/libXfont2-9999.ebuild b/x11-libs/libXfont2/libXfont2-9999.ebuild
index cfd74911baa4..cc2376f181c1 100644
--- a/x11-libs/libXfont2/libXfont2-9999.ebuild
+++ b/x11-libs/libXfont2/libXfont2-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -21,8 +21,8 @@ DEPEND="${RDEPEND}
x11-base/xorg-proto
x11-libs/xtrans"
-pkg_setup() {
- XORG_CONFIGURE_OPTIONS=(
+src_configure() {
+ local XORG_CONFIGURE_OPTIONS=(
$(use_enable ipv6)
$(use_enable doc devel-docs)
$(use_with doc xmlto)
@@ -30,4 +30,5 @@ pkg_setup() {
$(use_enable truetype freetype)
--without-fop
)
+ xorg-3_src_configure
}