Date: Mon, 18 Feb 2019 01:41:19 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493234 - head/astro/opencpn Message-ID: <201902180141.x1I1fJgs027201@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Mon Feb 18 01:41:18 2019 New Revision: 493234 URL: https://svnweb.freebsd.org/changeset/ports/493234 Log: GCC architectures don't support SSE, SSSE or AVX. Don't use them on GCC-based architectures to fix build. While here, set USES= gl gnome as per modern standards, and pet portlint. PR: 235294 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/astro/opencpn/Makefile Modified: head/astro/opencpn/Makefile ============================================================================== --- head/astro/opencpn/Makefile Mon Feb 18 01:34:55 2019 (r493233) +++ head/astro/opencpn/Makefile Mon Feb 18 01:41:18 2019 (r493234) @@ -11,6 +11,8 @@ COMMENT= Concise ChartPlotter/Navigator LICENSE= GPLv2+ +BROKEN_aarch64= Fails to compile: use of undeclared identifier rand + LIB_DEPENDS= libportaudio.so:audio/portaudio \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ @@ -20,7 +22,7 @@ USE_GITHUB= yes GH_ACCOUNT= ${GH_PROJECT} GH_PROJECT= OpenCPN -USES= cmake compiler:c++11-lib gettext-tools localbase +USES= cmake compiler:c++11-lib gettext-tools gl gnome localbase USE_CXXSTD= c++11 USE_GL= gl USE_GNOME= cairo gdkpixbuf2 gtk20 @@ -32,8 +34,6 @@ CMAKE_ARGS= -DBUNDLE_DOCS=ON -DBUNDLE_GSHHS=CRUDE -DBU LDFLAGS+= -Wl,-E # plugins LDFLAGS+= -Wl,--as-needed # ICE, SM, Xext -BROKEN_aarch64= Fails to compile: use of undeclared identifier rand - OPTIONS_DEFINE= DOCS post-patch: @@ -41,5 +41,9 @@ post-patch: ${WRKSRC}/src/mygdal/cpl_csv.cpp \ ${WRKSRC}/src/mygdal/cpl_findfile.cpp \ ${WRKSRC}/data/doc/help_en_US.html +.if exists(/usr/lib/libstdc++.so) + @${REINPLACE_CMD} -e '/-msse/d' -e '/-mssse3/d' \ + -e '/-mavx2/d' ${WRKSRC}/CMakeLists.txt +.endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902180141.x1I1fJgs027201>