1
0
forked from ports/contrib

fontforge: updated cmake syntax

This commit is contained in:
Tim Biermann 2020-11-08 11:10:17 +00:00
parent 48ff218626
commit 05a5ea2566
2 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF38FVeP+eDZB62S8CruxTwkNjnryKTl4bgygo9Y08bA6EUfEYjkunCPCaKdirN3FzmVbY9THOW+LYrIwBuk4dAw8=
SHA256 (Pkgfile) = 44e07000ace38ad04f42f7c6e5fea13249e5f9a549c47538a6e32a0bf293f73d
RWSagIOpLGJF34FcAuyBvYQc02cIQmE1/iTds9mnGY5TaAzrpXtx/aGhtdoCiqPl/MzurrfCQBtaSHrN6Rl7yiql3SKdq7zNzgI=
SHA256 (Pkgfile) = 2edaf09d769fef3956d315423295fba30108a6dbce7a5494fab66e628c02fdfc
SHA256 (.footprint) = 80b6d4704b9b3301d4cb5d12f9005f85cde727bc002c4a47f2772160f0cfa56c
SHA256 (fontforge-20200314.tar.xz) = cd190b237353dc3f48ddca7b0b3439da8ec4fcf27911d14cc1ccc76c1a47c861

View File

@ -14,17 +14,17 @@ if [ -e '/usr/lib/ccache' ]; then
PATH=$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')
fi
cmake -S$name-$version -Bbuild -GNinja ${PKGMK_FONTFORGE} \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-Wno-dev \
-DENABLE_MAINTAINER_TOOLS=TRUE \
-DENABLE_FONTFORGE_EXTRAS=TRUE \
-DUNIX=TRUE \
-DENABLE_DOCS=FALSE
cmake -S $name-$version -B build -G Ninja $PKGMK_FONTFORGE \
-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" \
-D ENABLE_MAINTAINER_TOOLS=TRUE \
-D ENABLE_FONTFORGE_EXTRAS=TRUE \
-D UNIX=TRUE \
-D ENABLE_DOCS=FALSE \
-Wno-dev
sed -i 's|-R/usr/lib||g' build/build.ninja