summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-06 08:09:27 +0100
committerSam James <sam@gentoo.org>2023-06-06 08:09:32 +0100
commite8076c08482bae16dc99c53a7590603de560f29d (patch)
treeca4d75b28eda1e97db83bc44e3acad7c4ecb4c0a /dev-util/plan9port
parentsys-libs/libunwind: add comment re MY_P (diff)
downloadgentoo-e8076c08482bae16dc99c53a7590603de560f29d.tar.gz
gentoo-e8076c08482bae16dc99c53a7590603de560f29d.tar.bz2
gentoo-e8076c08482bae16dc99c53a7590603de560f29d.zip
dev-util/plan9port: X always needs fontconfig/freetype now
Closes: https://bugs.gentoo.org/907941 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/plan9port')
-rw-r--r--dev-util/plan9port/plan9port-0_pre20230331-r1.ebuild (renamed from dev-util/plan9port/plan9port-0_pre20230331.ebuild)17
1 files changed, 7 insertions, 10 deletions
diff --git a/dev-util/plan9port/plan9port-0_pre20230331.ebuild b/dev-util/plan9port/plan9port-0_pre20230331-r1.ebuild
index a5172d77bb8d..4373389cdfc5 100644
--- a/dev-util/plan9port/plan9port-0_pre20230331.ebuild
+++ b/dev-util/plan9port/plan9port-0_pre20230331-r1.ebuild
@@ -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"
}