Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2016 00:05:57 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424365 - head/security/gpgme
Message-ID:  <201610210005.u9L05vIL063732@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Fri Oct 21 00:05:57 2016
New Revision: 424365
URL: https://svnweb.freebsd.org/changeset/ports/424365

Log:
  Really fix build on 9.x for the c++ and Qt5 bindings;
  require libc++.

Modified:
  head/security/gpgme/Makefile

Modified: head/security/gpgme/Makefile
==============================================================================
--- head/security/gpgme/Makefile	Thu Oct 20 22:30:20 2016	(r424364)
+++ head/security/gpgme/Makefile	Fri Oct 21 00:05:57 2016	(r424365)
@@ -87,6 +87,12 @@ CONFLICTS_INSTALL=	py*-pyme-[0-9]*
 .include <bsd.port.pre.mk>
 
 .if defined(SLAVEPORT)
+.  if (${SLAVEPORT} == "cpp" || ${SLAVEPORT} == "qt5")
+.    if ${OPSYS} == FreeBSD && ${OSVERSION} < 1001000
+BUILD_DEPENDS+=	${LOCALBASE}/lib/c++/libstdc++.so:devel/libc++
+CXXFLAGS+=	-stdlib=libc++ -I${LOCALBASE}/include/c++/v1
+.    endif
+.  endif
 .  if ${SLAVEPORT} == "python"
 .    if ${PYTHON_REL} >= 3000
 CONFIGURE_ARGS+=--enable-languages="python3"



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