svn commit: r417095 - head/sysutils/spiped
Colin Percival
cperciva at FreeBSD.org
Sat Jun 18 23:35:04 UTC 2016
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 \
More information about the svn-ports-head
mailing list