ports/devel/libspice-server/files/patch-configure.ac
Muhammad Moinur Rahman 200b1ecfd4 devel/libspice-server: Update version 0.15.0=>0.15.2
- Adopt port as maintainers domain has expired

Changelog: https://gitlab.freedesktop.org/spice/spice/-/tags/v0.15.2

Approved by:	portmgr (blanket)
2024-01-10 13:44:50 +01:00

20 lines
590 B
Text

--- configure.ac.orig 2023-05-12 08:37:06 UTC
+++ configure.ac
@@ -42,6 +42,7 @@ fi
if test x"$ac_cv_prog_cc_c99" = xno; then
AC_MSG_ERROR([C99 compiler is required.])
fi
+AC_PROG_CPP
AC_PROG_INSTALL
AC_CANONICAL_HOST
LT_INIT([disable-static])
@@ -205,7 +206,8 @@ AC_SUBST(SSL_LIBS)
PKG_CHECK_MODULES(SSL, openssl >= 1.0.0)
AC_SUBST(SSL_CFLAGS)
AC_SUBST(SSL_LIBS)
-AS_VAR_APPEND([SPICE_REQUIRES], [" openssl"])
+dnl OpenSSL in the base system is not managed by pkgconfig
+dnl AS_VAR_APPEND([SPICE_REQUIRES], [" openssl"])
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $SSL_CFLAGS"