Date: Sat, 18 Jun 2016 23:35:02 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417095 - head/sysutils/spiped Message-ID: <201606182335.u5INZ2k1086449@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cperciva Date: Sat Jun 18 23:35:02 2016 New Revision: 417095 URL: https://svnweb.freebsd.org/changeset/ports/417095 Log: Teach sysutils/spiped about libcrypto versions: * Add USE_OPENSSL * Add -I${OPENSSLINC} to CFLAGS * Pass -L${OPENSSLLIB} to the linker Thanks to: brnrd Modified: head/sysutils/spiped/Makefile Modified: head/sysutils/spiped/Makefile ============================================================================== --- head/sysutils/spiped/Makefile Sat Jun 18 22:17:12 2016 (r417094) +++ head/sysutils/spiped/Makefile Sat Jun 18 23:35:02 2016 (r417095) @@ -2,6 +2,7 @@ PORTNAME= spiped PORTVERSION= 1.5.0 +PORTREVISION= 1 CATEGORIES= sysutils security MASTER_SITES= http://www.tarsnap.com/spiped/ @@ -14,13 +15,16 @@ LICENSE_FILE= ${WRKSRC}/COPYRIGHT # The spiped build only needs C99, but this will help to get us a compiler # which has support for AESNI on x86 systems USES= compiler:c11 tar:tgz +USE_OPENSSL= YES # Install into ${STAGEDIR}${PREFIX} MAKE_ARGS+= BINDIR=${STAGEDIR}${PREFIX}/bin MAKE_ARGS+= MAN1DIR=${STAGEDIR}${PREFIX}/man/man1 -# Force __BSD_VISIBLE on since it works and improves performance -MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE" +# Force __BSD_VISIBLE on since it works and improves performance; +# add -I and -L directories for OpenSSL +MAKE_ARGS+= CFLAGS="-O2 -D__BSD_VISIBLE -I${OPENSSLINC}" +MAKE_ARGS+= LDADD_EXTRA="-L${OPENSSLLIB}" PORTDOCS= BUILDING CHANGELOG COPYRIGHT README STYLE PLIST_FILES= bin/spipe \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606182335.u5INZ2k1086449>