mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
13 lines
488 B
Text
13 lines
488 B
Text
--- src/configure.orig 2014-10-11 14:00:45 UTC
|
|
+++ src/configure
|
|
@@ -46,8 +46,8 @@ then
|
|
echo -n "Checking for OpenSSL... "
|
|
echo "Checking for OpenSSL... " 1>& 5
|
|
|
|
-OPENSSL_INCLUDE="$(${PKG_CONFIG} openssl --cflags 2>& 5 || true)"
|
|
-OPENSSL_LIBS="$(${PKG_CONFIG} openssl --libs 2>& 5 || true)"
|
|
+OPENSSL_INCLUDE="-I${OPENSSLINC}"
|
|
+OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
|
if [ -z "$OPENSSL_LIBS" ]
|
|
then
|
|
echo "OpenSSL not found via pkg-config, using hardcoded library names" 1>& 5
|