dev-util/plan9port: X always needs fontconfig/freetype now

Closes: https://bugs.gentoo.org/907941
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-06-06 08:09:27 +01:00
parent 02d2a2efaf
commit e8076c0848

View File

@@ -19,14 +19,14 @@ LICENSE="
"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="X aqua freefonts truetype"
IUSE="X aqua freefonts"
REQUIRED_USE="?? ( X aqua )"
DEPEND="
X? ( x11-apps/xauth )
truetype? (
X? (
media-libs/freetype
media-libs/fontconfig
x11-apps/xauth
)
"
RDEPEND="${DEPEND}"
@@ -94,7 +94,10 @@ src_configure() {
)
if use X; then
myconf+=( WSYSTYPE=x11 )
myconf+=(
WSYSTYPE=x11
FONTSRV=fontsrv
)
elif use aqua; then
local wsystype="$(awk '{if ($1 > 10.5) print "osx-cocoa"; else print "osx"}' \
<<< "${MACOSX_DEPLOYMENT_TARGET}")"
@@ -103,12 +106,6 @@ src_configure() {
myconf+=( WSYSTYPE=nowsys )
fi
if use truetype; then
myconf+=( FONTSRV=fontsrv )
else
myconf+=( FONTSRV= )
fi
printf '%s\n' "${myconf[@]}" >> LOCAL.config ||
die "cannot create configuration"
}