security/pvk: Document SSL requirement and honor its flags

Approved by:	SSL blanket
This commit is contained in:
John Marino 2016-09-11 06:16:39 +00:00
parent ed4a11e326
commit 784a3ea79b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421801

View File

@ -11,7 +11,14 @@ EXTRACT_SUFX= .tgz.bin
MAINTAINER= sobomax@FreeBSD.org
COMMENT= Tool to convert a RSA key in PEM format into a PVK file and vice versa
USES= ssl
WRKSRC= ${WRKDIR}
CFLAGS+= -I${OPENSSLINC}
LDFLAGS+= -L${OPENSSLLIB}
post-patch:
${REINPLACE_CMD} -e 's|\(-lcrypto\)|$$(LDFLAGS) \1|g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pvk ${STAGEDIR}${PREFIX}/bin