Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jun 2016 22:10:55 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417093 - in head/net-im: cutegram libqtelegram-ae telegramqml
Message-ID:  <201606182210.u5IMAtGG053628@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sat Jun 18 22:10:55 2016
New Revision: 417093
URL: https://svnweb.freebsd.org/changeset/ports/417093

Log:
  Fix build with libc++ 3.8.0.
  
  PR:		209967
  Submitted by:	me
  Approved by:	Henry Hu <henry.hu.sh at gmail.com> (maintainer)

Modified:
  head/net-im/cutegram/Makefile
  head/net-im/libqtelegram-ae/Makefile
  head/net-im/telegramqml/Makefile

Modified: head/net-im/cutegram/Makefile
==============================================================================
--- head/net-im/cutegram/Makefile	Sat Jun 18 22:07:12 2016	(r417092)
+++ head/net-im/cutegram/Makefile	Sat Jun 18 22:10:55 2016	(r417093)
@@ -24,10 +24,17 @@ GH_TAGNAME=	91bf14b:tools
 USES=		qmake:outsource desktop-file-utils
 USE_QT5=	qmake_build buildtools_build core qml quick sql xml multimedia \
 		widgets dbus webkit quickcontrols graphicaleffects sql-sqlite3
+USE_OPENSSL=	yes
+QMAKE_ARGS=	LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae" \
+		TELEGRAMQML_INCLUDE_PATH="${LOCALBASE}/include/telegramqml"
 INSTALLS_ICONS=	yes
 
 post-extract:
 	@${RMDIR} ${WRKSRC}/Cutegram/asemantools && \
 	${MV} ${WRKSRC_tools} ${WRKSRC}/Cutegram/asemantools
 
+post-patch:
+	@${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \
+               ${WRKSRC}/Cutegram/Cutegram.pro
+
 .include <bsd.port.mk>

Modified: head/net-im/libqtelegram-ae/Makefile
==============================================================================
--- head/net-im/libqtelegram-ae/Makefile	Sat Jun 18 22:07:12 2016	(r417092)
+++ head/net-im/libqtelegram-ae/Makefile	Sat Jun 18 22:10:55 2016	(r417093)
@@ -19,6 +19,11 @@ GH_PROJECT=	libqtelegram-aseman-edition
 
 USES=		qmake:outsource
 USE_QT5=	qmake_build buildtools_build core gui network multimedia
+USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
+post-patch:
+	@${REINPLACE_CMD} -e "/OPENSSL_INCLUDE_PATH/d" \
+		${WRKSRC}/libqtelegram-ae.pri
+
 .include <bsd.port.mk>

Modified: head/net-im/telegramqml/Makefile
==============================================================================
--- head/net-im/telegramqml/Makefile	Sat Jun 18 22:07:12 2016	(r417092)
+++ head/net-im/telegramqml/Makefile	Sat Jun 18 22:10:55 2016	(r417093)
@@ -20,7 +20,13 @@ GH_PROJECT=	TelegramQML
 
 USES=		qmake:outsource
 USE_QT5=	qmake_build buildtools_build core qml quick sql xml multimedia
+USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
-QMAKE_ARGS=	BUILD_MODE+=lib
+QMAKE_ARGS=	BUILD_MODE+=lib \
+		LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae"
+
+post-patch:
+	@${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \
+		${WRKSRC}/telegramqml.pri
 
 .include <bsd.port.mk>



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