svn commit: r367592 - head/www/opera
Alex Kozlov
ak at FreeBSD.org
Sun Sep 7 18:10:06 UTC 2014
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
More information about the svn-ports-head
mailing list