Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 23:08:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499489 - in head/databases/libzdb: . files
Message-ID:  <201904202308.x3KN8YY4073076@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904202308.x3KN8YY4073076>