summaryrefslogtreecommitdiff
path: root/physfs
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-08 12:12:30 +0000
committerTim Biermann <tbier@posteo.de>2020-11-08 13:41:14 +0000
commit15c64022ca86418f3b780c83ae3e5decf0e2638a (patch)
tree7ee8f2e5449ce74ab8e2e4df59b3f9c6399c7de2 /physfs
parent8703fb3cc57e014fe5a74b545b123593d76a9cef (diff)
downloadcontrib-15c64022ca86418f3b780c83ae3e5decf0e2638a.tar.gz
contrib-15c64022ca86418f3b780c83ae3e5decf0e2638a.tar.xz
physfs: updated cmake syntax
Diffstat (limited to 'physfs')
-rw-r--r--physfs/.signature4
-rw-r--r--physfs/Pkgfile16
2 files changed, 10 insertions, 10 deletions
diff --git a/physfs/.signature b/physfs/.signature
index d6c5408b0..174d451f5 100644
--- a/physfs/.signature
+++ b/physfs/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF31QZzYX5ylVrniUIBbimQacKjwIHGma06Q72cmUopx4liRgDURtB8HSP9pAZ8xfXUIQly2szHRVit5m9NljM4gs=
-SHA256 (Pkgfile) = 097f962fde63505fc9ac4d20f7ea4fb0f9a220822ed22dc9db0297903607b12d
+RWSagIOpLGJF35kMzmOIniNGjAuq4ZWenK7tAqcIx5rMirqWm49bvT5pIZ7HIp1Uz+yja05SXDVDigqWMXGGZS0AunRYc8bsbQ0=
+SHA256 (Pkgfile) = 776377e14ed4a23ac3525413bd75a91f97ce7bf1bc28c319500fb990bbaa5b6a
SHA256 (.footprint) = 8ba663dcab105d02e7ab226a96784c85f568c7f6300468d917e30dcb5677639b
SHA256 (physfs-3.0.2.tar.bz2) = 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863
diff --git a/physfs/Pkgfile b/physfs/Pkgfile
index 5d55a2285..73d5242a9 100644
--- a/physfs/Pkgfile
+++ b/physfs/Pkgfile
@@ -9,15 +9,15 @@ release=1
source=(https://icculus.org/$name/downloads/$name-$version.tar.bz2)
build() {
- [[ -e /usr/bin/ninja ]] && PKGMK_PHYSFS_OPTIONS=' -GNinja'
+ [[ -e /usr/bin/ninja ]] && PKGMK_PHYSFS+=' -G Ninja'
- cmake -S$name-$version -Bbuild $PKGMK_PHYSFS_OPTIONS \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
- -DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
- -Wno-dev \
- -DPHYSFS_BUILD_TEST=OFF
+ cmake -S $name-$version -B build $PKGMK_PHYSFS \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
+ -D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
+ -D PHYSFS_BUILD_TEST=OFF \
+ -Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Generated by cgit