Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2018 17:46:22 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488726 - head/databases/kbibtex
Message-ID:  <201812301746.wBUHkMmB013246@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Dec 30 17:46:22 2018
New Revision: 488726
URL: https://svnweb.freebsd.org/changeset/ports/488726

Log:
  databases/kbibtex: make webengine optional (used for non i386/amd64 architectures)
  
  - switch to useing WebKit if WebEngine is deselected
  
  PR:		234461
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/databases/kbibtex/Makefile

Modified: head/databases/kbibtex/Makefile
==============================================================================
--- head/databases/kbibtex/Makefile	Sun Dec 30 17:34:01 2018	(r488725)
+++ head/databases/kbibtex/Makefile	Sun Dec 30 17:46:22 2018	(r488726)
@@ -16,16 +16,25 @@ LIB_DEPENDS=	libicuuc.so:devel/icu \
 		libpoppler-qt5.so:graphics/poppler-qt5 \
 		libqoauth-qt5.so:net/qoauth-qt5
 
-USES=		cmake desktop-file-utils gettext iconv kde:5 qt:5 \
-		shared-mime-info tar:xz
+USES=		cmake compiler:c++11-lang desktop-file-utils gettext gnome \
+		iconv kde:5 qt:5 shared-mime-info tar:xz
 USE_GNOME=	libxml2 libxslt
 USE_KDE=	auth bookmarks codecs completion config configwidgets \
 		coreaddons crash ecm i18n iconthemes itemviews jobwidgets \
 		kio parts service solid sonnet textwidgets wallet \
 		widgetsaddons xmlgui
-USE_QT=		concurrent core dbus declarative gui location network printsupport \
-		webchannel webengine widgets xml xmlpatterns \
+USE_QT=		concurrent core dbus declarative gui location network \
+		printsupport webchannel widgets xml xmlpatterns \
 		buildtools_build qmake_build
 USE_LDCONFIG=	yes
+
+OPTIONS_DEFINE=	WEBENGINE
+OPTIONS_DEFAULT_amd64=	WEBENGINE
+OPTIONS_DEFAULT_i386=	WEBENGINE
+
+WEBENGINE_DESC=		Add dependency on qt5-webengine
+WEBENGINE_USE=		QT=webengine
+WEBENGINE_USE_OFF=	QT=webkit
+WEBENGINE_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_Qt5WebEngineWidgets
 
 .include <bsd.port.mk>



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