Files
ports/www/nextcloud_notify_push/Makefile
T
semarie 9b08785f18 rust ports cleanup: use MODCARGO_WANTLIB in WANTLIB
fix WANTLIB for simple ports. rust ports are expected to use MODCARGO_WANTLIB
instead of hardcoding values (which will be soon different across archs).

replace "c c++abi pthread" by ${MODCARGO_WANTLIB} in WANTLIB

no changes, as it is the current value of MODCARGO_WANTLIB (even if buggy).

ok tb@
2024-01-01 09:02:15 +00:00

38 lines
853 B
Makefile

# ring-v0.16.20 does not support those archs
NOT_FOR_ARCHS = powerpc64 riscv64 sparc64
# 20220112 - build often fails due to out of memory
# memory allocation of 402653184 bytes failed
# error: could not compile `notify_push`
NOT_FOR_ARCHS+= i386
COMMENT = update notifications for nextcloud clients
GH_ACCOUNT = nextcloud
GH_PROJECT = notify_push
GH_TAGNAME = v0.6.6
CATEGORIES = www
# AGPLv3
PERMIT_PACKAGE = Yes
# a tarball is shipped on github, but without Cargo.lock, and contains linux binaries..
# SITES = https://github.com/nextcloud/notify_push/releases/download/v0.1.7/
COMPILER = base-clang ports-gcc
MODULES = devel/cargo
.include "crates.inc"
MODCARGO_CRATES_KEEP += libsqlite3-sys
WANTLIB += ${MODCARGO_WANTLIB} m
CONFIGURE_STYLE = cargo
SEPARATE_BUILD = Yes
BUILD_DEPENDS += security/rust-ring
.include <bsd.port.mk>