Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2014 18:10:06 +0000 (UTC)
From:      Alex Kozlov <ak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367592 - head/www/opera
Message-ID:  <201409071810.s87IA6kR022065@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ak
Date: Sun Sep  7 18:10:05 2014
New Revision: 367592
URL: http://svnweb.freebsd.org/changeset/ports/367592
QAT: https://qat.redports.org/buildarchive/r367592/

Log:
  - Fix build on FreeBSD 9
  
  Reported by:	antoine

Modified:
  head/www/opera/Makefile
  head/www/opera/pkg-plist

Modified: head/www/opera/Makefile
==============================================================================
--- head/www/opera/Makefile	Sun Sep  7 18:02:23 2014	(r367591)
+++ head/www/opera/Makefile	Sun Sep  7 18:10:05 2014	(r367592)
@@ -68,6 +68,8 @@ OPERA_ARCH=	${ARCH:S,i386,intel,}
 
 .if ${OSVERSION} >= 1000054
 BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libstdc++.so.6:${PORTSDIR}/misc/compat9x
+.else
+PLIST_SUB+=	LIBSTDC="@comment "
 .endif
 
 post-extract:
@@ -97,7 +99,9 @@ do-configure:
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/opera ${STAGEDIR}${PREFIX}/bin/
 	${TAR} -C ${WRKSRC} -cf - lib man share | ${TAR} -C ${STAGEDIR}${PREFIX} -xf -
+.if ${OSVERSION} >= 1000054
 	${INSTALL_LIB} ${WRKSRC}/libstdc++.so.6 ${STAGEDIR}${PREFIX}/lib/opera
+.endif
 	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/libmap.d
 	${INSTALL_DATA} ${FILESDIR}/libmap.conf \
 		${STAGEDIR}${PREFIX}/etc/libmap.d/opera.conf

Modified: head/www/opera/pkg-plist
==============================================================================
--- head/www/opera/pkg-plist	Sun Sep  7 18:02:23 2014	(r367591)
+++ head/www/opera/pkg-plist	Sun Sep  7 18:10:05 2014	(r367592)
@@ -4,7 +4,7 @@ lib/opera/gstreamer/plugins/libgstoperam
 lib/opera/gstreamer/plugins/libgstoperavp8.so
 lib/opera/liboperagtk2.so
 lib/opera/liboperakde4.so
-lib/opera/libstdc++.so.6
+%%LIBSTDC%%lib/opera/libstdc++.so.6
 lib/opera/opera
 lib/opera/plugins/README
 lib/opera/pluginwrapper/operapluginwrapper



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