From owner-svn-ports-head@freebsd.org Fri Oct 4 20:45:24 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B4F9B138D18; Fri, 4 Oct 2019 20:45:24 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46lMMS4DXXz3LDH; Fri, 4 Oct 2019 20:45:24 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 707581E79; Fri, 4 Oct 2019 20:45:24 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x94KjOK1027077; Fri, 4 Oct 2019 20:45:24 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x94KjOdP027076; Fri, 4 Oct 2019 20:45:24 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201910042045.x94KjOdP027076@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Fri, 4 Oct 2019 20:45:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r513779 - head/www/anyterm X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/www/anyterm X-SVN-Commit-Revision: 513779 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Oct 2019 20:45:24 -0000 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}|' \