pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

clang-git: Rework package and allow to use pkgdiff(1)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Feb 13 15:48:57 2016 +0100
Changeset:	f77afa2f75ad025c0add25b8d14eba7eb5ce2d4c

Modified Files:
	clang-git/Makefile

Log Message:
clang-git: Rework package and allow to use pkgdiff(1)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f77afa2f75ad025c0add25b8d14eba7eb5ce2d4c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 clang-git/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diffs:
diff --git a/clang-git/Makefile b/clang-git/Makefile
index f393a81..de6c2ff 100644
--- a/clang-git/Makefile
+++ b/clang-git/Makefile
@@ -4,14 +4,15 @@ PKGNAME=	clang-3.9.0
 CATEGORIES=	lang devel
 
 GIT_REPOSITORIES=	clang
-GIT_REPO.clang=		git://github.com/llvm-mirror/clang.git
+GIT_REPO.clang=		https://github.com/llvm-mirror/clang.git
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://clang.llvm.org/
 COMMENT=	C language family frontend for LLVM
 LICENSE=	modified-bsd
 
-WRKSRC=			${WRKDIR}/build
+WRKSRC=			${WRKDIR}
+CONFIGURE_DIRS=		${WRKDIR}/build
 
 USE_LANGUAGES=		c c++
 USE_CMAKE+=		yes
@@ -76,7 +77,7 @@ CMAKE_ARGS+=			-DCLANG_DEFAULT_CXX_STDLIB:STRING="libstdc++"
 .endif
 
 post-extract:
-	${RUN} mkdir -p ${WRKSRC}
+	${RUN} mkdir -p ${WRKSRC}/build
 
 .include "../../devel/googletest/buildlink3.mk"
 .include "../../textproc/libxml2/buildlink3.mk"


Home | Main Index | Thread Index | Old Index