Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2013 11:45:19 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336514 - head/www/opera
Message-ID:  <201312151145.rBFBjJN6080681@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sun Dec 15 11:45:19 2013
New Revision: 336514
URL: http://svnweb.freebsd.org/changeset/ports/336514

Log:
  - new option COMPAT9
  - add USES=desktop-file-utils

Modified:
  head/www/opera/Makefile

Modified: head/www/opera/Makefile
==============================================================================
--- head/www/opera/Makefile	Sun Dec 15 11:43:28 2013	(r336513)
+++ head/www/opera/Makefile	Sun Dec 15 11:45:19 2013	(r336514)
@@ -16,8 +16,8 @@ DISTNAME=	${PORTNAME}-${OPERA_VER}-${OPE
 MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	Blazingly fast, full-featured, standards-compliant browser
 
-LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2 \
-		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
+LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2 \
+		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
 BUILD_DEPENDS=	${LOCALBASE}/bin/update-mime-database:${PORTSDIR}/misc/shared-mime-info
 RUN_DEPENDS=	${LOCALBASE}/bin/update-mime-database:${PORTSDIR}/misc/shared-mime-info
 
@@ -27,9 +27,9 @@ OPERA_VER?=	12.16
 OPERA_BUILD?=	1860
 MASTER_SITES_VER_PATH=	unix/${OPERA_VER:S/.//}
 
+USES=		desktop-file-utils
 USE_XZ=		yes
 USE_XORG=	x11 xext sm ice xft xrender
-USE_GNOME=	desktopfileutils
 INSTALLS_ICONS=	yes
 
 MAN1=		opera.1
@@ -38,11 +38,15 @@ MANCOMPRESSED=	yes
 NO_BUILD=	yes
 EXPLICIT_PACKAGE_DEPENDS=	yes
 
-OPTIONS_DEFINE=	CUPS VIDEO GTK2 KDE4
+OPTIONS_DEFINE=	CUPS VIDEO GTK2 KDE4 COMPAT9
 OPTIONS_DEFAULT=	CUPS VIDEO
+NO_OPTIONS_SORT=yes
 
 CUPS_DESC=	support for printing (requires CUPS)
 VIDEO_DESC=	support for HTML5 video (requires GStreamer)
+COMPAT9_DESC=	use libstdc++.so.6 from compat9x instead of gcc46
+
+CUPS_LIB_DEPENDS=	libcups.so:${PORTSDIR}/print/cups-client
 
 .include <bsd.port.options.mk>
 
@@ -57,10 +61,6 @@ DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 .endif
 .endif
 
-.if ${PORT_OPTIONS:MCUPS}
-LIB_DEPENDS+=	cups:${PORTSDIR}/print/cups-client
-.endif
-
 .if ${PORT_OPTIONS:MVIDEO}
 USE_GSTREAMER+=	vorbis ogg theora vp8 good
 .endif
@@ -84,7 +84,11 @@ IGNORE=		only for FreeBSD 7.x and higher
 .endif
 
 .if ${OSVERSION} >= 1000054
+.if ${PORT_OPTIONS:MCOMPAT9}
 RUN_DEPENDS+=	${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
+.else
+RUN_DEPENDS+=	${LOCALBASE}/lib/gcc46/libstdc++.so.6:${PORTSDIR}/lang/gcc46
+.endif
 .endif
 
 post-extract:



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