Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 21:10:40 GMT
From:      "4721@hushmail.com" <4721@hushmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170036: [patch] lang/clang-devel: always build/install manpages
Message-ID:  <201207202110.q6KLAefZ010402@red.freebsd.org>
Resent-Message-ID: <201207202120.q6KLKG7j034843@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         170036
>Category:       ports
>Synopsis:       [patch] lang/clang-devel: always build/install manpages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 20 21:20:16 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     4721@hushmail.com
>Release:        
>Organization:
>Environment:
>Description:
patch makes manual page always built/installed. docs option only controlling html
documentation.

also moved single directory rmdir into packing list.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: lang/clang-devel/pkg-plist
===================================================================
--- lang/clang-devel/pkg-plist	(revision 301219)
+++ lang/clang-devel/pkg-plist	(working copy)
@@ -474,6 +474,7 @@
 @dirrm %%PYTHON_SITELIBDIR%%/Resources
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/ps
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html/clang
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/html/img
 %%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm %%DATADIR%%
Index: lang/clang-devel/Makefile
===================================================================
--- lang/clang-devel/Makefile	(revision 301219)
+++ lang/clang-devel/Makefile	(working copy)
@@ -130,10 +130,8 @@
 	${LN} -sf ${LOCALBASE}/lib/libLLVMSupport.a ${WRKSRC}/${RELTYPE}/lib/
 	cd ${WRKSRC}/utils/unittest && ${GMAKE}
 
-.if ${PORT_OPTIONS:MDOCS}
 post-build:
 	@cd ${WRKSRC}/tools/clang/docs/tools && ${GMAKE} clang.1
-.endif
 
 post-install:
 	@${INSTALL_SCRIPT} ${WRKSRC}/tools/clang/tools/scan-build/ccc-analyzer \
@@ -150,12 +148,8 @@
 	@${MKDIR} ${DATADIR}
 	@${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/scanview.css ${DATADIR}
 	@${INSTALL_DATA} ${WRKSRC}/tools/clang/tools/scan-build/sorttable.js ${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
 	@${INSTALL_MAN} ${WRKSRC}/tools/clang/docs/tools/clang.1 \
 	    ${MANPREFIX}/man/man1/
-.else
-	@${RMDIR} ${DOCSDIR}/html/img
-.endif
 
 TEST_CMD=	'(cd ${WRKSRC}/test; ${SETENV} ${MAKE_ENV} ${GMAKE} check)'
 regression-test: ${BUILD_COOKIE}


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207202110.q6KLAefZ010402>