ncpamixer: fixed build with newer ncurses
This commit is contained in:
parent
b0264c2c11
commit
66829a5aec
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3y8DdVvTM29B1TmvGjGAHGgcKbSrvegalPwedTPltD7tQtrwnhwQSn2+1CSKVepYw4DLMjOojaFQ4G+hUNriagc=
|
||||
SHA256 (Pkgfile) = c196c323eff06125078bd457ea27cab33c1635520b87cc456473b1c5660b3907
|
||||
RWSagIOpLGJF3yyG1eMUOiB+v9JpXpfUkr6OVnmbTiWLKn5yEXkcwns4venyPwz1qVGUhWD3Zh/pQpMCb6JgJq3vJZcljHLJHg0=
|
||||
SHA256 (Pkgfile) = c860c23f30e4d627723fdd44b755daf7598d89785ecbbc01e735383e83ec0f72
|
||||
SHA256 (.footprint) = 9e08e0076af6c98e27353c88de914fbb4a9aea6dab1a365a9670e0e270aa3d25
|
||||
SHA256 (ncpamixer-1.3.7.tar.gz) = 8a647b333875e117449fdfa3167ed50cfebe2c2254ae2618eaa5e64a5e5db3a6
|
||||
SHA256 (ncpamixer.1) = 6871a5ed5cd2ecbb95ce1db6b17dfe683c597b004783d2065ce8e8154a1884c1
|
||||
|
@ -13,10 +13,12 @@ source=(https://github.com/fulhax/ncpamixer/archive/$version/$name-$version.tar.
|
||||
build() {
|
||||
prt-get isinst git pandoc-bin || PKGMK_NCPAMIXER+=' -D BUILD_MANPAGES=OFF'
|
||||
|
||||
sed -i "/-Werror/d" $name-$version/src/CMakeLists.txt
|
||||
|
||||
cmake -S $name-$version/src -B build -G Ninja $PKGMK_NCPAMIXER \
|
||||
-D CMAKE_INSTALL_PREFIX=/usr \
|
||||
-D CMAKE_BUILD_TYPE=Release \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
||||
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNCURSES_INTERNALS" \
|
||||
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
|
Loading…
x
Reference in New Issue
Block a user