openbsd-ports/www/retawq/patches/patch-tool_tlsmode
2008-12-08 18:04:52 +00:00

15 lines
613 B
Plaintext

$OpenBSD: patch-tool_tlsmode,v 1.1 2008/12/08 18:04:52 pirofti Exp $
--- tool/tlsmode.orig Sun Mar 19 09:21:23 2006
+++ tool/tlsmode Mon Dec 8 19:58:57 2008
@@ -38,8 +38,8 @@ case "x$option_tls" in
cflags=`libgnutls-config --cflags`;
liblink=`libgnutls-config --libs` ;;
x2) # xopenssl | xOpenSSL)
- cflags=`pkg-config --cflags openssl`;
- liblink=`pkg-config --libs openssl` ;;
+ cflags='-I/usr/include/openssl';
+ liblink='-L/usr/lib/ -lcrypto -lssl';;
x3) # xmatrixssl | xMatrixSSL)
liblink='-lmatrixssl' ;;
*) echo "$me: bad OPTION_TLS parameter" >&2; (exit 1); exit 1 ;;