Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 20:06:21 +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: r338164 - head/www/opera
Message-ID:  <201312302006.rBUK6LxR095656@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Dec 30 20:06:21 2013
New Revision: 338164
URL: http://svnweb.freebsd.org/changeset/ports/338164

Log:
  - add more sources of libstdc++.so.6

Modified:
  head/www/opera/Makefile

Modified: head/www/opera/Makefile
==============================================================================
--- head/www/opera/Makefile	Mon Dec 30 19:41:21 2013	(r338163)
+++ head/www/opera/Makefile	Mon Dec 30 20:06:21 2013	(r338164)
@@ -38,13 +38,18 @@ MANCOMPRESSED=	yes
 NO_BUILD=	yes
 EXPLICIT_PACKAGE_DEPENDS=	yes
 
-OPTIONS_DEFINE=	CUPS VIDEO GTK2 KDE4 COMPAT9
-OPTIONS_DEFAULT=	CUPS VIDEO
+OPTIONS_DEFINE=	CUPS VIDEO GTK2 KDE4
+OPTIONS_SINGLE=	LIBSTDCXX
+OPTIONS_SINGLE_LIBSTDCXX=	COMPAT9 GCCXX GCC42 GCC46
+OPTIONS_DEFAULT=	CUPS VIDEO COMPAT9
 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
+COMPAT9_DESC=	use libstdc++.so.6 from compat9x
+GCCXX_DESC=	use libstdc++.so.6 from lang/gcc
+GCC42_DESC=	use libstdc++.so.6 from lang/gcc42
+GCC46_DESC=	use libstdc++.so.6 from lang/gcc46
 
 CUPS_LIB_DEPENDS=	libcups.so:${PORTSDIR}/print/cups-client
 
@@ -86,9 +91,16 @@ IGNORE=		only for FreeBSD 7.x and higher
 .if ${OSVERSION} >= 1000054
 .if ${PORT_OPTIONS:MCOMPAT9}
 RUN_DEPENDS+=	${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
-.else
+.endif
+.if ${PORT_OPTIONS:MGCC42}
+RUN_DEPENDS+=	${LOCALBASE}/lib/gcc42/libstdc++.so.6:${PORTSDIR}/lang/gcc42
+.endif
+.if ${PORT_OPTIONS:MGCC46}
 RUN_DEPENDS+=	${LOCALBASE}/lib/gcc46/libstdc++.so.6:${PORTSDIR}/lang/gcc46
 .endif
+.if ${PORT_OPTIONS:MGCCXX}
+RUN_DEPENDS+=	${LOCALBASE}/lib/gcc46/libstdc++.so.6:${PORTSDIR}/lang/gcc
+.endif
 .endif
 
 post-extract:



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