Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 11:52:54 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r483474 - in head/devel/gearmand-devel: . files
Message-ID:  <201810301152.w9UBqs66004399@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Oct 30 11:52:54 2018
New Revision: 483474
URL: https://svnweb.freebsd.org/changeset/ports/483474

Log:
  Fix build on powerpc64 the same way as non-devel port.  Probably
  fixes sparc64 as well.
  
  PR:		232096
  Submitted by:	Piotr Kubaj

Modified:
  head/devel/gearmand-devel/Makefile
  head/devel/gearmand-devel/files/patch-configure

Modified: head/devel/gearmand-devel/Makefile
==============================================================================
--- head/devel/gearmand-devel/Makefile	Tue Oct 30 11:49:32 2018	(r483473)
+++ head/devel/gearmand-devel/Makefile	Tue Oct 30 11:52:54 2018	(r483474)
@@ -11,9 +11,6 @@ PKGNAMESUFFIX=	-devel
 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=	boost-libs>=0:devel/boost-libs \
 		${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
 LIB_DEPENDS=	libevent.so:devel/libevent \
@@ -24,7 +21,7 @@ CONFLICTS=	p5-Gearman-Server-1.* gearmand-1.0.*
 USERS=		gearmand
 GROUPS=		gearmand
 
-USES=		pathfix perl5 gmake gperf libtool python:build
+USES=		compiler:c++11-lang pathfix perl5 gmake gperf libtool python:build
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes

Modified: head/devel/gearmand-devel/files/patch-configure
==============================================================================
--- head/devel/gearmand-devel/files/patch-configure	Tue Oct 30 11:49:32 2018	(r483473)
+++ head/devel/gearmand-devel/files/patch-configure	Tue Oct 30 11:52:54 2018	(r483474)
@@ -1,6 +1,18 @@
---- ./configure.orig	2013-06-06 19:06:29.000000000 -0400
-+++ ./configure	2013-07-17 14:33:54.000000000 -0400
-@@ -17976,7 +17976,7 @@
+--- configure.orig	2013-06-06 23:06:29 UTC
++++ configure
+@@ -16844,11 +16844,6 @@ fi
+ $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
+ 
+@@ -17976,7 +17971,7 @@ fi
  done
  test -n "$CURL_CONFIG" || CURL_CONFIG="no"
  
@@ -9,7 +21,7 @@
  
        :
  
-@@ -17986,7 +17986,7 @@
+@@ -17986,7 +17981,7 @@ $as_echo "#define HAVE_LIBCURL 0" >>confdefs.h
  
  else
  
@@ -18,7 +30,7 @@
  
  	CURL_CFLAGS="`$CURL_CONFIG $curl_config_args --cflags`"
  
-@@ -17996,7 +17996,7 @@
+@@ -17996,7 +17991,7 @@ else
  
  fi
  
@@ -27,7 +39,7 @@
  
  	CURL_LIBS="`$CURL_CONFIG $curl_config_args --libs`"
  
-@@ -23954,8 +23954,8 @@
+@@ -23954,8 +23949,8 @@ else
        LIBS="$PTHREAD_LIBS"
        ac_ext=c
  ac_cpp='$CPP $CPPFLAGS'



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