Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159630264
D13896.id38041.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D13896.id38041.diff
View Options
Index: head/devel/libspice-server/Makefile
===================================================================
--- head/devel/libspice-server/Makefile
+++ head/devel/libspice-server/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libspice-server
DISTVERSION= 0.14.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://www.spice-space.org/download/releases/
DISTNAME= spice-${PORTVERSION}
@@ -14,7 +15,6 @@
LIB_DEPENDS= libopus.so:audio/opus
BUILD_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol
-RUN_DEPENDS= spice-protocol>=0.12.10:devel/spice-protocol
OPTIONS_DEFINE= GSTREAMER LZ4 SASL STATISTICS
OPTIONS_DEFAULT= GSTREAMER LZ4 SASL
@@ -33,7 +33,7 @@
STATISTICS_CONFIGURE_ENABLE= statistics
-USES= gmake jpeg libtool localbase:ldflag pkgconfig \
+USES= autoreconf gmake jpeg libtool localbase:ldflag pkgconfig \
ssl tar:bzip2
USE_GNOME= glib20
Index: head/devel/libspice-server/files/patch-configure.ac
===================================================================
--- head/devel/libspice-server/files/patch-configure.ac
+++ head/devel/libspice-server/files/patch-configure.ac
@@ -0,0 +1,31 @@
+--- configure.ac.orig 2018-01-13 04:00:56 UTC
++++ configure.ac
+@@ -62,7 +62,7 @@ AC_SUBST(SPICE_LT_VERSION)
+
+ # Check for the CPU we are using
+ case $host_cpu in
+- x86_64)
++ x86_64|amd64)
+ ;;
+ *)
+ SPICE_WARNING([spice-server on non-x86_64 architectures has not been extensively tested])
+@@ -186,10 +186,18 @@ if test "x$enable_celt051" = "xyes"; then
+ AS_VAR_APPEND([SPICE_REQUIRES], [" celt051 >= $CELT051_REQUIRED"]))
+ fi
+
++OPENSSL_PKGCONF_USED=1
++if test -n "${OPENSSL_LIBS}" || test -n "${OPENSSL_CFLAGS}"; then
++ OPENSSL_PKGCONF_USED=0
++fi
+ PKG_CHECK_MODULES(SSL, openssl)
+ AC_SUBST(SSL_CFLAGS)
+ AC_SUBST(SSL_LIBS)
+-AS_VAR_APPEND([SPICE_REQUIRES], [" openssl"])
++if test "{OPENSSL_PKGCONF_USED}" = 1; then
++ AS_VAR_APPEND([SPICE_REQUIRES], [" openssl"])
++else
++ AS_VAR_APPEND([SPICE_NONPKGCONFIG_LIBS], [" $SSL_LIBS"])
++fi
+
+ AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
+ AC_MSG_CHECKING([for jpeglib.h])
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 17, 11:16 AM (3 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34021770
Default Alt Text
D13896.id38041.diff (2 KB)
Attached To
Mode
D13896: devel/libspice-server: fix pc file generation
Attached
Detach File
Event Timeline
Log In to Comment