diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2018-10-04 04:21:30 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2018-10-04 04:21:30 +0800 |
commit | 0fd0e1d43b9399c1ae2f80e97de588e28866a5f7 (patch) | |
tree | 526e03701d287796ca4948efa759c3ea5dbd8876 /devel | |
parent | 62634e3843723c3223421264936c4b735648d2d7 (diff) | |
download | freebsd-ports-gnome-0fd0e1d43b9399c1ae2f80e97de588e28866a5f7.tar.gz freebsd-ports-gnome-0fd0e1d43b9399c1ae2f80e97de588e28866a5f7.tar.zst freebsd-ports-gnome-0fd0e1d43b9399c1ae2f80e97de588e28866a5f7.zip |
- MEMCACHED with no DOCS: Remove dependency on asciidoc which is required
for ccache.1 to be generated due to being a development branch.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ccache/Makefile | 7 | ||||
-rw-r--r-- | devel/ccache/pkg-plist | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile index 8a65ba110049..c460ad41411a 100644 --- a/devel/ccache/Makefile +++ b/devel/ccache/Makefile @@ -75,8 +75,11 @@ USE_GITHUB= yes GH_TAGNAME= f7712082106bef085515f86ae47e7dbbd2a48b57 MASTER_SITES= DISTINFO_FILE= ${MASTERDIR}/distinfo.memcached +.if ${PORT_OPTIONS:MDOCS} BUILD_DEPENDS+= ${LOCALBASE}/bin/a2x:textproc/asciidoc ALL_TARGET= all docs +PLIST_FILES+= man/man1/ccache.1.gz +.endif .else # Only needed pre-3.5 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-configure.ac @@ -130,7 +133,11 @@ post-build-TINDERBOX-on: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ccache ${STAGEDIR}${PREFIX}/bin + # Memcached uses the 3.5 dev branch which requires asciidoc to generate + # ccache.1. +.if !${PORT_OPTIONS:MMEMCACHED} || ${PORT_OPTIONS:MDOCS} ${INSTALL_MAN} ${WRKSRC}/doc/ccache.1 ${STAGEDIR}${PREFIX}/man/man1 +.endif ${MKDIR} ${STAGEDIR}${PREFIX}/${CCLINKDIR}/world ${INSTALL_SCRIPT} ${WRKDIR}/world-ccache \ ${STAGEDIR}${PREFIX}/${CCLINKDIR}/world/ccache diff --git a/devel/ccache/pkg-plist b/devel/ccache/pkg-plist index c3327694fe5a..8f6ad6707c81 100644 --- a/devel/ccache/pkg-plist +++ b/devel/ccache/pkg-plist @@ -1,6 +1,6 @@ bin/ccache bin/ccache-update-links -man/man1/ccache.1.gz +%%NO_MEMCACHED%%man/man1/ccache.1.gz %%CCLINKDIR%%/world/ccache %%TINDERBOX%%%%DATADIR%%/ccache.tar @postexec echo "Create compiler links..." |