mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
1d10ed5f78
- Switch to USES=autoreconf - Strip libraries - While here, add LICENSE_FILE PR: 195127 Submitted by: liangtai.s16@gmail.com (maintainer)
22 lines
631 B
Plaintext
22 lines
631 B
Plaintext
--- configure.ac.orig 2014-06-10 07:40:26.000000000 +0900
|
|
+++ configure.ac 2014-06-13 07:24:14.000000000 +0900
|
|
@@ -86,15 +86,16 @@
|
|
)
|
|
)
|
|
)
|
|
-AC_SEARCH_LIBS(ftime, [compat], , [enable_http=no])
|
|
|
|
AS_IF([test "$enable_http" != "no"], [
|
|
openssl="openssl"
|
|
AC_DEFINE([OP_ENABLE_HTTP], [1], [Enable HTTP support])
|
|
- PKG_CHECK_MODULES([URL_DEPS], [openssl])
|
|
])
|
|
AM_CONDITIONAL(OP_ENABLE_HTTP, [test "$enable_http" != "no"])
|
|
AC_SUBST([openssl])
|
|
+AC_CHECK_LIB(ssl, SSL_read,
|
|
+ [AC_CHECK_HEADERS(openssl/ssl.h, LIBS="$LIBS -lssl -lcrypto",,)],,
|
|
+ -lcrypto -lssl)
|
|
|
|
PKG_CHECK_MODULES([DEPS], [ogg >= 1.3 opus >= 1.0.1])
|
|
|