summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-22 22:26:04 +0000
committerSam James <sam@gentoo.org>2021-03-23 04:48:43 +0000
commit41543c0badfcd7ba9ee39386a3f4a8c8675135c0 (patch)
treeba33da93b399bb54271cafa3b72ac44ab7307bd8 /app-text/mupdf
parentapp-admin/stow: use HTTPS in HOMEPAGE, tiny style tweak (diff)
downloadgentoo-41543c0badfcd7ba9ee39386a3f4a8c8675135c0.tar.gz
gentoo-41543c0badfcd7ba9ee39386a3f4a8c8675135c0.tar.bz2
gentoo-41543c0badfcd7ba9ee39386a3f4a8c8675135c0.zip
app-text/mupdf: sort IUSE
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/mupdf')
-rw-r--r--app-text/mupdf/mupdf-1.18.0-r3.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/app-text/mupdf/mupdf-1.18.0-r3.ebuild b/app-text/mupdf/mupdf-1.18.0-r3.ebuild
index 72d2fde1d19..21ae5eb3fcf 100644
--- a/app-text/mupdf/mupdf-1.18.0-r3.ebuild
+++ b/app-text/mupdf/mupdf-1.18.0-r3.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${P}-source"
LICENSE="AGPL-3"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 x86"
-IUSE="X +javascript libressl opengl ssl"
+IUSE="+javascript libressl opengl ssl X"
REQUIRED_USE="opengl? ( javascript )"
# Although we use the bundled, patched version of freeglut in mupdf (because of
@@ -37,7 +37,8 @@ RDEPEND="
X? (
x11-libs/libX11
x11-libs/libXext
- )"
+ )
+"
DEPEND="${RDEPEND}"
PATCHES=(
@@ -112,11 +113,11 @@ _emake() {
}
src_compile() {
- _emake XCFLAGS="-fpic"
+ _emake XCFLAGS="-fPIC"
}
src_install() {
- if use X || use opengl ; then
+ if use opengl || use X ; then
domenu platform/debian/${PN}.desktop
doicon platform/debian/${PN}.xpm
else