diff options
author | joerg <joerg@pkgsrc.org> | 2015-09-23 20:47:42 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-09-23 20:47:42 +0000 |
commit | 72ec1197cb21e197b35bc6fcafb263e2c85acd12 (patch) | |
tree | 67fe9b8a5d0de836ff6da28053c2aef9b68986fd /misc | |
parent | 73854d87d8c0d63afc00940700ad451e3762f251 (diff) | |
download | pkgsrc-72ec1197cb21e197b35bc6fcafb263e2c85acd12.tar.gz |
Apply big hammer for disabling JavaDoc linting in all cases.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/libreoffice4/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/misc/libreoffice4/Makefile b/misc/libreoffice4/Makefile index 6a23be5dd6b..e1560f11415 100644 --- a/misc/libreoffice4/Makefile +++ b/misc/libreoffice4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.80 2015/09/08 19:39:38 wiz Exp $ +# $NetBSD: Makefile,v 1.81 2015/09/23 20:47:42 joerg Exp $ VERREL= 4.4.5 VERRC= 2 @@ -227,6 +227,14 @@ post-extract: mkdir ${WRKSRC}/tmp # mkdir ${WRKSRC}/${OBJDIR} +.if !empty(PKG_OPTIONS:Mjava) +CONFIGURE_ARGS+= JAVADOC=${TOOLS_DIR}/bin/javadoc + +pre-configure: + printf '#!/bin/sh\nexec ${PKG_JAVA_HOME}/bin/javadoc -Xdoclint:none "$$@"' > ${TOOLS_DIR}/bin/javadoc + ${CHMOD} a+x ${TOOLS_DIR}/bin/javadoc +.endif + do-install: cd ${WRKSRC} && make DESTDIR="${DESTDIR}" PREFIXDIR="${PREFIX}" distro-pack-install # make install cleans ${DESTDIR}${PREFIX}/*, so bin etc. are removed. |