Date: Fri, 4 Oct 2019 20:45:24 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513779 - head/www/anyterm Message-ID: <201910042045.x94KjOdP027076@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Fri Oct 4 20:45:23 2019 New Revision: 513779 URL: https://svnweb.freebsd.org/changeset/ports/513779 Log: www/anyterm: fix build on arm and GCC architectures Linking with boost requires C++11 compiler. Passing -L/usr/lib makes the compiler link against base libstdc++, which causes build failures on architectures that have libstdc++ in base. PR: 241034 Approved by: linimon (mentor), douglas@douglasthrift.net (maintainer) Modified: head/www/anyterm/Makefile Modified: head/www/anyterm/Makefile ============================================================================== --- head/www/anyterm/Makefile Fri Oct 4 20:40:33 2019 (r513778) +++ head/www/anyterm/Makefile Fri Oct 4 20:45:23 2019 (r513779) @@ -17,13 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_system.so:devel/boost-libs -BROKEN_aarch64= does not build: libstdc++.so: undefined reference to __floatunditf@GCC_4.2.0 -BROKEN_armv6= does not build: libstdc++.so: undefined reference to __aeabi_idiv@GCC_3.5 -BROKEN_armv7= does not build: libstdc++.so: undefined reference to __aeabi_idiv@GCC_3.5 -BROKEN_powerpc64= Does not build: ld: cannot find -lboost_system - USE_RC_SUBR= anytermd -USES= gmake iconv localbase tar:tbz2 +USES= compiler:c++11-lang gmake iconv localbase tar:tbz2 USE_GCC= any ALL_TARGET= default_target PLIST_FILES= man/man1/anytermd.1.gz \ @@ -41,6 +36,7 @@ post-patch: -e '/^COMPILE_FLAGS=/s|$$| ${CXXFLAGS}|' \ -e 's|$${OPTIMISE_FLAGS}||' \ -e 's|$$(LINK_FLAGS)|& -L${ICONV_PREFIX}/lib ${ICONV_LIB} |' \ + -e 's| -L/usr/lib||' \ ${WRKSRC}/common.mk @${REINPLACE_CMD} \ -e '/^COMPILE_FLAGS=/s|$$| ${CXXFLAGS}|' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910042045.x94KjOdP027076>