summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-08 10:20:05 +0000
committerTim Biermann <tbier@posteo.de>2020-11-08 13:41:14 +0000
commit365d3564dc4af4209b25790c8357d385da2f30e2 (patch)
tree971d5cbcd4b1bba4ce0e0a60a6026f97be6f4d58
parente77856fc87bb2dd0513b9a55a5058ebc57ec81a6 (diff)
downloadcontrib-365d3564dc4af4209b25790c8357d385da2f30e2.tar.gz
contrib-365d3564dc4af4209b25790c8357d385da2f30e2.tar.xz
double-conversion: updated cmake syntax
-rw-r--r--double-conversion/.signature4
-rw-r--r--double-conversion/Pkgfile18
2 files changed, 11 insertions, 11 deletions
diff --git a/double-conversion/.signature b/double-conversion/.signature
index 2f6e13def..bf0503c7c 100644
--- a/double-conversion/.signature
+++ b/double-conversion/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF37Irx8jsd/Fo0jzzwlhFKXzMRwlreOdnoY39Pg28iNPnpPf48tnt4czdoe4kxY+L6WLe8YhCiSQFt66IFucnUwg=
-SHA256 (Pkgfile) = b105f2d553c95fe53bd73a284cefb150b63a4062711d87bb60ac6961a87fed91
+RWSagIOpLGJF37dU9b++0PSDgEiYkO3zUVAqzTK9VVYs5/3fslA9q8Jmyx44/xm6inOBfIAM3X6X7thXl5TWIKLdOvAt5zoNewg=
+SHA256 (Pkgfile) = b598b83582092c65ea1f190e158ad2a76f279c919f560cc92f36129f32c3eb7f
SHA256 (.footprint) = 608ccf24fd335af06b1871d651462533d636ab76acf97ac85ebee01f8852760e
SHA256 (double-conversion-v3.1.5.tar.gz) = a63ecb93182134ba4293fd5f22d6e08ca417caafa244afaa751cbfddf6415b13
diff --git a/double-conversion/Pkgfile b/double-conversion/Pkgfile
index ecd993924..6b994c53a 100644
--- a/double-conversion/Pkgfile
+++ b/double-conversion/Pkgfile
@@ -9,15 +9,15 @@ release=1
source=(https://github.com/google/double-conversion/archive/v$version/$name-v$version.tar.gz)
build() {
- [[ -e /usr/bin/ninja ]] && PKGMK_DC_OPTIONS=' -GNinja'
- cmake -S$name-$version -Bbuild $PKGMK_DC_OPTIONS \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
- -DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
- -Wno-dev \
- -DBUILD_SHARED_LIBS=ON
+ [[ -e /usr/bin/ninja ]] && PKGMK_DC+=' -G Ninja'
+ cmake -S $name-$version -B build $PKGMK_DC_OPTIONS \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_INSTALL_LIBDIR=lib \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
+ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
+ -DBUILD_SHARED_LIBS=ON \
+ -Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Generated by cgit