Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Sep 2018 16:55:05 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r480806 - in head/devel/gearmand: . files
Message-ID:  <201809271655.w8RGt5gK022773@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Sep 27 16:55:05 2018
New Revision: 480806
URL: https://svnweb.freebsd.org/changeset/ports/480806

Log:
  - Fix build on powerpc64
  
  PR:		231743
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Added:
  head/devel/gearmand/files/patch-libtest_timer.hpp   (contents, props changed)
Modified:
  head/devel/gearmand/Makefile
  head/devel/gearmand/files/patch-configure

Modified: head/devel/gearmand/Makefile
==============================================================================
--- head/devel/gearmand/Makefile	Thu Sep 27 16:32:02 2018	(r480805)
+++ head/devel/gearmand/Makefile	Thu Sep 27 16:55:05 2018	(r480806)
@@ -11,7 +11,6 @@ MAINTAINER=	bdrewery@FreeBSD.org
 COMMENT=	Gearman C Server and Library
 
 BROKEN_sparc64=		fails to build: cannot link with boost
-BROKEN_powerpc64=	fails to build: checking for the Boost program_options library... no
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
 LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
@@ -23,7 +22,8 @@ CONFLICTS=	p5-Gearman-Server-1.* gearmand-1.1.*
 USERS=		gearmand
 GROUPS=		gearmand
 
-USES=		pathfix gmake perl5 python:build libtool
+USES=		compiler:c++11-lang pathfix gmake perl5 python:build libtool
+USE_CXXSTD=	c++11
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes

Modified: head/devel/gearmand/files/patch-configure
==============================================================================
--- head/devel/gearmand/files/patch-configure	Thu Sep 27 16:32:02 2018	(r480805)
+++ head/devel/gearmand/files/patch-configure	Thu Sep 27 16:55:05 2018	(r480806)
@@ -1,5 +1,17 @@
 --- ./configure.orig	2013-07-17 10:46:57.000000000 -0400
 +++ ./configure	2013-07-17 10:46:57.000000000 -0400
+@@ -16842,11 +16842,6 @@
+ $as_echo "$boost_cv_lib_version" >&6; }
+     # e.g. "134" for 1_34_1 or "135" for 1_35
+     boost_major_version=`echo "$boost_cv_lib_version" | sed 's/_//;s/_.*//'`
+-    case $boost_major_version in #(
+-      '' | *[!0-9]*)
+-        as_fn_error $? "invalid value: boost_major_version=$boost_major_version" "$LINENO" 5
+-        ;;
+-    esac
+ fi
+ CPPFLAGS=$boost_save_CPPFLAGS
+
 @@ -17972,7 +17972,7 @@
  
  else

Added: head/devel/gearmand/files/patch-libtest_timer.hpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/gearmand/files/patch-libtest_timer.hpp	Thu Sep 27 16:55:05 2018	(r480806)
@@ -0,0 +1,10 @@
+--- libtest/timer.hpp.orig	2018-09-26 15:24:37 UTC
++++ libtest/timer.hpp
+@@ -39,6 +39,7 @@
+ #include <cstdlib>
+ #include <ctime>
+ #include <iostream>
++#include <stdint.h>
+ 
+ 
+ namespace libtest {



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