pkgsrc-WIP-changes archive

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

libcxx-git: Revamp package for 4.0.0 (build broken)



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Sep 11 13:22:55 2016 +0200
Changeset:	13889f860ac9872853b97672e2d2456137057cba

Modified Files:
	libcxx-git/Makefile

Log Message:
libcxx-git: Revamp package for 4.0.0 (build broken)

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

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

diffstat:
 libcxx-git/Makefile | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diffs:
diff --git a/libcxx-git/Makefile b/libcxx-git/Makefile
index 6447d77..7de3273 100644
--- a/libcxx-git/Makefile
+++ b/libcxx-git/Makefile
@@ -1,31 +1,32 @@
 # $NetBSD: Makefile.common,v 1.7 2015/07/20 05:49:53 adam Exp $
 
-PKGNAME=	libcxx-3.9.0
+PKGNAME=	libcxx-4.0.0
 CATEGORIES=	lang devel
 
 GIT_REPOSITORIES=	libcxx
-GIT_REPO.libcxx=		https://github.com/llvm-mirror/libcxx.git
+GIT_REPO.libcxx=	https://github.com/llvm-mirror/libcxx.git
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://libcxx.llvm.org/
 COMMENT=	C++ Standard Library
 LICENSE=	modified-bsd OR mit
 
-WRKSRC=			${WRKDIR}/build
+WRKSRC=			${WRKDIR}/${PKGBASE}
+CONFIGURE_DIRS=		${WRKDIR}/build
+CMAKE_ARG_PATH=		${WRKSRC}
 
 USE_LANGUAGES=		c c++
 USE_CMAKE=		yes
 GCC_REQD+=		4.8
 
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE=Release
-CMAKE_ARGS+=	-DCMAKE_C_COMPILER=gcc
-CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=g++
-
-CMAKE_ARG_PATH=	${WRKDIR}/libcxx
+CMAKE_ARGS+=	-DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=	-DCMAKE_CXX_COMPILER=${CXX:Q}
 
 post-extract:
-	${RUN} mkdir -p ${WRKSRC}
+	${RUN} mkdir -p ${WRKDIR}/build
 
 .include "../../wip/mk/git-package.mk"
+DEPENDS+=       llvm-${PKGVERSION_NOREV}{,nb*}:../../wip/llvm-git
 .include "../../wip/llvm-git/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index