diff lib/jsoncpp/jsoncpp.sh @ 549:bad483aace64

vanilla: use prefix= instead
author David Demelier <markand@malikania.fr>
date Sun, 23 Jun 2019 15:13:10 +0200
parents eec0faf3636c
children 25cecc6dca48
line wrap: on
line diff
--- a/lib/jsoncpp/jsoncpp.sh	Tue Apr 16 20:01:00 2019 +0200
+++ b/lib/jsoncpp/jsoncpp.sh	Sun Jun 23 15:13:10 2019 +0200
@@ -23,9 +23,9 @@
 PKGDOWNLOAD="https://github.com/open-source-parsers/$PKGNAME/archive/$PKGVERSION.tar.gz"
 PKGDEPENDS="dev/meson"
 
-: ${CC:=gcc}
+: ${CC:=clang}
 : ${CFLAGS:=-O2}
-: ${CXX:=g++}
+: ${CXX:=clang++}
 : ${CXXFLAGS:=-O2}
 : ${LDFLAGS:=}
 
@@ -45,6 +45,8 @@
 		--buildtype release \
 		--default-library shared \
 		. build
+	# https://github.com/open-source-parsers/jsoncpp/issues/910
+	rm -f version
 	ninja -C build
 	DESTDIR=$DESTDIR ninja -C build install