summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-05-05 11:09:25 +0200
committerUlrich Müller <ulm@gentoo.org>2018-05-05 11:11:25 +0200
commit51305c1dab5eee82e12c314e503bcd68602c5dc5 (patch)
tree65f1c61b3023352ced089ef2bb7ecddcd0dd43a1 /app-doc
parentdev-ruby/celluloid: add ruby24 (diff)
downloadgentoo-51305c1dab5eee82e12c314e503bcd68602c5dc5.tar.gz
gentoo-51305c1dab5eee82e12c314e503bcd68602c5dc5.tar.bz2
gentoo-51305c1dab5eee82e12c314e503bcd68602c5dc5.zip
app-doc/pms: Support two-sided printing.
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/pms/pms-7_p20180430-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/app-doc/pms/pms-7_p20180430-r1.ebuild b/app-doc/pms/pms-7_p20180430-r1.ebuild
index 16db01b4e623..6808b7f4d4d1 100644
--- a/app-doc/pms/pms-7_p20180430-r1.ebuild
+++ b/app-doc/pms/pms-7_p20180430-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="!binary? ( https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz )
LICENSE="CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="binary html"
+IUSE="binary html twoside"
# texlive-bibtexextra: plainurl.bst
# texlive-latexextra: chngcntr, isodate, marginnote, paralist, tocbibind
@@ -35,8 +35,10 @@ src_compile() {
if ! use binary; then
# just in case; we shouldn't be generating any fonts
export VARTEXFONTS="${T}/fonts"
- emake
+ emake $(usex twoside TWOSIDE=yes "")
use html && emake html
+ else
+ use twoside && ewarn "USE=twoside is not supported with USE=binary"
fi
}