svn commit: r499489 - in head/databases/libzdb: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Apr 20 23:08:40 UTC 2019
Author: sunpoet
Date: Sat Apr 20 23:08:34 2019
New Revision: 499489
URL: https://svnweb.freebsd.org/changeset/ports/499489
Log:
Fix build on powerpc
PR: 237200
Submitted by: pkubaj
Added:
head/databases/libzdb/files/
head/databases/libzdb/files/patch-test-zdbpp.cpp (contents, props changed)
Modified:
head/databases/libzdb/Makefile
Modified: head/databases/libzdb/Makefile
==============================================================================
--- head/databases/libzdb/Makefile Sat Apr 20 23:08:10 2019 (r499488)
+++ head/databases/libzdb/Makefile Sat Apr 20 23:08:34 2019 (r499489)
@@ -12,7 +12,7 @@ COMMENT= Thread-safe connection pool library
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USES= gmake libtool localbase pathfix
+USES= compiler:c11 gmake libtool localbase pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
@@ -29,7 +29,16 @@ PGSQL_CONFIGURE_WITH= postgresql=${LOCALBASE}/bin/pg_c
PGSQL_USES= pgsql
SQLITE_CONFIGURE_WITH= sqlite=${LOCALBASE}
SQLITE_USES= sqlite
-SSL_CONFIGURE_ENABLE= openssl=${OPENSSLBASE}
SSL_USES= ssl
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSSL}
+.if ${SSL_DEFAULT} == base
+CONFIGURE_ARGS+= --enable-openssl
+.else
+CONFIGURE_ARGS+= --enable-openssl=${OPENSSLBASE}
+.endif
+.endif
.include <bsd.port.mk>
Added: head/databases/libzdb/files/patch-test-zdbpp.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/libzdb/files/patch-test-zdbpp.cpp Sat Apr 20 23:08:34 2019 (r499489)
@@ -0,0 +1,7 @@
+--- test/zdbpp.cpp.orig 2019-04-03 23:00:49 UTC
++++ test/zdbpp.cpp
+@@ -1,3 +1,4 @@
++#include <cassert>
+ #include <iostream>
+ #include <string>
+ #include <map>
More information about the svn-ports-head
mailing list