Disable hidden deps, sync WANTLIB and zap the bundled libressl copy.

gawk hidden dep spotted in phessler's aarch64 bulk build, json-c noticed
after Makefile scrutiny.

Zap the LibreSSL copy so that we know it starts being built instead
using the system libs.

ok tb@ jmatthew@ (maintainer)
This commit is contained in:
jca 2022-08-16 00:58:44 +00:00
parent af58169317
commit ba62589b85
1 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,5 @@
V = 0.9.0
REVISION = 0
COMMENT = tools for using PIV tokens as an SSH agent, encryption, etc.
DISTNAME = pivy-$V
@ -15,7 +16,10 @@ MAINTAINER = Jonathan Matthew <jmatthew@openbsd.org>
# MPLv2
PERMIT_PACKAGE = Yes
WANTLIB = c edit crypto pcsclite z
WANTLIB = c edit crypto pcsclite util z
MODULES = gnu
MODGNU_CONFIG_GUESS_DIRS = openssh
LIB_DEPENDS = security/pcsc-lite
RUN_DEPENDS = security/ccid
@ -26,11 +30,14 @@ NO_TEST = Yes
MAKE_FLAGS = CC="${CC}" \
COPTFLAGS="${CFLAGS}" \
prefix=${PREFIX}
prefix=${PREFIX} \
JSONC_VER=""
post-extract:
rm -Rf ${WRKDIST}/libressl
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pivy
${INSTALL_DATA} ${WRKSRC}/README.adoc ${PREFIX}/share/doc/pivy
.include <bsd.port.mk>