mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
9b08785f18
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@
38 lines
853 B
Makefile
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>
|