1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/security/otpw/Makefile
Ed Maste f07698cd8d security/otpw: set LLD_UNSAFE to avoid linking with lld
lld does not have built-in search paths, so direct link invocations that
specify a library (e.g. -lcrypto) but do not specify a search path
(e.g. -L/usr/lib) will fail.

PR:		214864
Submitted by:	krion
Approved by:	portmgr (LLD_UNSAFE blanket)
2017-12-27 00:32:31 +00:00

30 lines
692 B
Makefile

# $FreeBSD$
PORTNAME= otpw
PORTVERSION= 1.5
CATEGORIES= security
MASTER_SITES= https://www.cl.cam.ac.uk/~mgk25/download/ \
LOCAL/jkim
MAINTAINER= jkim@FreeBSD.org
COMMENT= One-time password login package by Markus Kuhn
LICENSE= GPLv2+
GROUPS= ${PORTNAME}
USERS= ${PORTNAME}
MAKE_ARGS= CC="${CC}"
USES= gmake
LLD_UNSAFE= yes # lld lacks built-in search paths
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/otpw-gen ${STAGEDIR}${PREFIX}/bin
${INSTALL_LIB} ${WRKSRC}/pam_otpw.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_MAN} ${WRKSRC}/otpw-gen.1.gz \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/pam_otpw.8.gz \
${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>