svn commit: r488726 - head/databases/kbibtex

Tobias C. Berner tcberner at FreeBSD.org
Sun Dec 30 17:46:23 UTC 2018


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 at 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>


More information about the svn-ports-all mailing list