Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2012 18:41:17 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301736 - head/lang/clang-devel
Message-ID:  <201207301841.q6UIfHoN024957@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brooks
Date: Mon Jul 30 18:41:17 2012
New Revision: 301736
URL: http://svn.freebsd.org/changeset/ports/301736

Log:
  Install manpages even when docs are off.
  
  Depend on devel/binutils on older OS versions which are missing a
  require option
  
  PR:		ports/170049, ports/170036

Modified:
  head/lang/clang-devel/Makefile

Modified: head/lang/clang-devel/Makefile
==============================================================================
--- head/lang/clang-devel/Makefile	Mon Jul 30 18:40:23 2012	(r301735)
+++ head/lang/clang-devel/Makefile	Mon Jul 30 18:41:17 2012	(r301736)
@@ -7,7 +7,7 @@
 
 PORTNAME=	clang
 PORTVERSION=	3.2.r${SVN_REV}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang devel
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -92,6 +92,10 @@ RELTYPE=		Release
 BROKEN=		Does not compile on sparc64
 .endif
 
+.if ${OSVERSION} < 900033
+RUN_DEPENDS+=	${LOCALBASE}/bin/ld:${PORTSDIR}/devel/binutils
+.endif
+
 .if defined(BOOTSTRAP) || defined(SVN_FETCH)
 FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion
 
@@ -131,10 +135,8 @@ pre-build:
 	${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 \
@@ -151,10 +153,9 @@ post-install:
 	@${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
+.if !${PORT_OPTIONS:MDOCS}
 	@${RMDIR} ${DOCSDIR}/html/img
 .endif
 



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