commit: ca8fa4cf1ede70cadf3129032308521ef0324837
parent: 94b21b547da8e5d570b191e2ebffaa70fbb49c58
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 24 Sep 2018 13:30:55 +0200
app-text/mandoc: Make it the system-wide man
Diffstat:
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/app-text/mandoc/mandoc-1.14.4.ebuild b/app-text/mandoc/mandoc-1.14.4.ebuild
@@ -15,7 +15,11 @@ KEYWORDS="~amd64 ~x86"
IUSE="static"
LIB_DEPEND="sys-libs/zlib[static-libs(+)]"
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
+RDEPEND="
+ !static? ( ${LIB_DEPEND//\[static-libs(+)]} )
+ !sys-apps/man-db
+ !sys-apps/man
+"
DEPEND="${RDEPEND}
static? ( ${LIB_DEPEND} )"
@@ -38,18 +42,6 @@ src_prepare() {
EXAMPLEDIR="${EPREFIX}/usr/share/examples/mandoc"
MANPATH_DEFAULT="${EPREFIX}/usr/man:${EPREFIX}/usr/share/man:${EPREFIX}/usr/local/man:${EPREFIX}/usr/local/share/man"
- BINM_MAN=mman
- BINM_SOELIM=msoelim
- BINM_APROPOS=mapropos
- BINM_WHATIS=mwhatis
- BINM_MAKEWHATIS=mmakewhatis
- MANM_MAN=mandoc_man
- MANM_MDOC=mandoc_mdoc
- MANM_ROFF=mandoc_roff
- MANM_EQN=mandoc_eqn
- MANM_TBL=mandoc_tbl
- MANM_MANCONF=mman.conf
-
CFLAGS="${CFLAGS} ${CPPFLAGS}"
LDFLAGS="${LDFLAGS} $(usex static -static '')"
AR="$(tc-getAR)"