aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2010-05-01 00:33:56 +0800
committerbrooks <brooks@FreeBSD.org>2010-05-01 00:33:56 +0800
commitc682bb09679c24cc677ae27b784ddce82bd07480 (patch)
treeb350da7c8fddeb8531a639941311e55243bcfd3e
parent1f9fa7a102b90d3ad412f11364e562a3cf4a5f8d (diff)
downloadfreebsd-ports-gnome-c682bb09679c24cc677ae27b784ddce82bd07480.tar.gz
freebsd-ports-gnome-c682bb09679c24cc677ae27b784ddce82bd07480.tar.zst
freebsd-ports-gnome-c682bb09679c24cc677ae27b784ddce82bd07480.zip
Actually don't install the documentation in the NOPORTDOCS case. The
manpage is also not installed in that case. Reported by: QAT
-rw-r--r--devel/clang/Makefile5
-rw-r--r--lang/clang-devel/Makefile5
-rw-r--r--lang/clang/Makefile5
3 files changed, 6 insertions, 9 deletions
diff --git a/devel/clang/Makefile b/devel/clang/Makefile
index 106825fff8b5..17b0a0ac364a 100644
--- a/devel/clang/Makefile
+++ b/devel/clang/Makefile
@@ -52,9 +52,8 @@ CONFIGURE_ARGS+= --enable-optimized
DOCSRCDIR=
.else
DOCSRCDIR= docs
-.endif
-
MAN1= clang.1
+.endif
.include <bsd.port.pre.mk>
@@ -73,7 +72,7 @@ post-patch:
${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
${WRKSRC}/Makefile.config.in
${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
- ${WRKSRC}/Makefile
+ ${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
${WRKSRC}/tools/clang/tools/scan-build/scan-build
diff --git a/lang/clang-devel/Makefile b/lang/clang-devel/Makefile
index 106825fff8b5..17b0a0ac364a 100644
--- a/lang/clang-devel/Makefile
+++ b/lang/clang-devel/Makefile
@@ -52,9 +52,8 @@ CONFIGURE_ARGS+= --enable-optimized
DOCSRCDIR=
.else
DOCSRCDIR= docs
-.endif
-
MAN1= clang.1
+.endif
.include <bsd.port.pre.mk>
@@ -73,7 +72,7 @@ post-patch:
${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
${WRKSRC}/Makefile.config.in
${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
- ${WRKSRC}/Makefile
+ ${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
${WRKSRC}/tools/clang/tools/scan-build/scan-build
diff --git a/lang/clang/Makefile b/lang/clang/Makefile
index 106825fff8b5..17b0a0ac364a 100644
--- a/lang/clang/Makefile
+++ b/lang/clang/Makefile
@@ -52,9 +52,8 @@ CONFIGURE_ARGS+= --enable-optimized
DOCSRCDIR=
.else
DOCSRCDIR= docs
-.endif
-
MAN1= clang.1
+.endif
.include <bsd.port.pre.mk>
@@ -73,7 +72,7 @@ post-patch:
${REINPLACE_CMD} -e 's|\(PROJ_mandir.*:=\).*$$|\1${MANPREFIX}/man|g' \
${WRKSRC}/Makefile.config.in
${REINPLACE_CMD} -e 's|%%DOCSRCDIR%%|${DOCSRCDIR}|' \
- ${WRKSRC}/Makefile
+ ${WRKSRC}/Makefile ${WRKSRC}/tools/clang/Makefile
${REINPLACE_CMD} -e 's|/usr/bin/env perl|${PERL}|' \
${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
${WRKSRC}/tools/clang/tools/scan-build/scan-build