Bug 187243 - [PATCH] lang/clang34: fix scan-build reports
Summary: [PATCH] lang/clang34: fix scan-build reports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-04 03:20 UTC by Dmitry Marakasov
Modified: 2014-03-05 15:58 UTC (History)
1 user (show)

See Also:


Attachments
clang34-3.4.patch (1.42 KB, patch)
2014-03-04 03:20 UTC, Dmitry Marakasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov 2014-03-04 03:20:00 UTC
I've altead submitted this by email but it seems to have been lost.

- Fix scan-build reports: do replace %%DATADIR%% placeholders with actual paths
- While here, silence post-extract and post-patch

Port maintainer (brooks@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.02.18 (mode: change, diff: ports)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-04 03:20:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->brooks

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-04 23:04:49 UTC
Author: brooks
Date: Tue Mar  4 23:04:41 2014
New Revision: 347084
URL: http://svnweb.freebsd.org/changeset/ports/347084
QAT: https://qat.redports.org/buildarchive/r347084/

Log:
  Replace %%DATADIR%% in patched scan-build.
  
  PR:		ports/187193, ports/187243
  Submitted by:	Li-Wen Hsu <lwhsu@FreeBSD.org>

Modified:
  head/lang/clang32/Makefile
  head/lang/clang33/Makefile
  head/lang/clang34/Makefile

Modified: head/lang/clang32/Makefile
==============================================================================
--- head/lang/clang32/Makefile	Tue Mar  4 23:00:19 2014	(r347083)
+++ head/lang/clang32/Makefile	Tue Mar  4 23:04:41 2014	(r347084)
@@ -2,7 +2,7 @@
 
 PORTNAME=	clang
 DISTVERSION=	3.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang devel
 MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
 PKGNAMESUFFIX=	${LLVM_SUFFIX}
@@ -102,6 +102,8 @@ post-patch:
 	    ${WRKSRC}/Makefile.config.in
 	${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
 	    ${WRKSRC}/tools/clang/lib/Frontend/InitHeaderSearch.cpp
+	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}/|g' \
+	    ${WRKSRC}/tools/clang/tools/scan-build/scan-build
 
 pre-build:
 	${LN} -sf ${LLVM_PREFIX}/include/llvm/Intrinsics.gen \

Modified: head/lang/clang33/Makefile
==============================================================================
--- head/lang/clang33/Makefile	Tue Mar  4 23:00:19 2014	(r347083)
+++ head/lang/clang33/Makefile	Tue Mar  4 23:04:41 2014	(r347084)
@@ -2,7 +2,7 @@
 
 PORTNAME=	clang
 DISTVERSION=	3.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	lang devel
 MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
 PKGNAMESUFFIX=	${LLVM_SUFFIX}
@@ -103,6 +103,8 @@ post-patch:
 	    ${WRKSRC}/Makefile.config.in
 	${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
 	    ${WRKSRC}/tools/clang/lib/Frontend/InitHeaderSearch.cpp
+	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}/|g' \
+	    ${WRKSRC}/tools/clang/tools/scan-build/scan-build
 
 pre-build:
 	${LN} -sf ${LLVM_PREFIX}/include/llvm/IR/Intrinsics.gen \

Modified: head/lang/clang34/Makefile
==============================================================================
--- head/lang/clang34/Makefile	Tue Mar  4 23:00:19 2014	(r347083)
+++ head/lang/clang34/Makefile	Tue Mar  4 23:04:41 2014	(r347084)
@@ -2,7 +2,7 @@
 
 PORTNAME=	clang
 DISTVERSION=	3.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang devel
 MASTER_SITES=	http://llvm.org/releases/${PORTVERSION}/
 PKGNAMESUFFIX=	${LLVM_SUFFIX}
@@ -109,6 +109,8 @@ post-patch:
 	    ${WRKSRC}/Makefile.config.in
 	${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
 	    ${WRKSRC}/tools/clang/lib/Frontend/InitHeaderSearch.cpp
+	${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}/|g' \
+	    ${WRKSRC}/tools/clang/tools/scan-build/scan-build
 
 pre-build:
 	${LN} -sf ${LLVM_PREFIX}/include/llvm/IR/Intrinsics.gen \
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Brooks Davis freebsd_committer freebsd_triage 2014-03-05 15:58:12 UTC
State Changed
From-To: open->closed

%%DATADIR%% fixed.