From owner-svn-ports-all@freebsd.org Tue May 14 05:49:08 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F97515A5D05; Tue, 14 May 2019 05:49:08 +0000 (UTC) (envelope-from tobik@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 C3F16860A0; Tue, 14 May 2019 05:49:07 +0000 (UTC) (envelope-from tobik@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 99E301CD8C; Tue, 14 May 2019 05:49:07 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4E5n71j007120; Tue, 14 May 2019 05:49:07 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4E5n7Dj007119; Tue, 14 May 2019 05:49:07 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201905140549.x4E5n7Dj007119@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 14 May 2019 05:49:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501622 - head/devel/fastcrc X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/devel/fastcrc X-SVN-Commit-Revision: 501622 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C3F16860A0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.96)[-0.957,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2019 05:49:08 -0000 Author: tobik Date: Tue May 14 05:49:06 2019 New Revision: 501622 URL: https://svnweb.freebsd.org/changeset/ports/501622 Log: devel/fastcrc: Unbreak build with lld ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in fastcrc.o >>> referenced by fastcrc.asm >>> fastcrc.o:(.text+0x854) http://beefy11.nyi.freebsd.org/data/head-i386-default/p501351_s347498/logs/errors/fastcrc-1.0.log While here simplify do-install. Modified: head/devel/fastcrc/Makefile Modified: head/devel/fastcrc/Makefile ============================================================================== --- head/devel/fastcrc/Makefile Tue May 14 05:26:05 2019 (r501621) +++ head/devel/fastcrc/Makefile Tue May 14 05:49:06 2019 (r501622) @@ -20,13 +20,13 @@ OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ 's|gcc|$${CC}| ; \ + s@^LDOPT=.*@& -z notext@ ; \ /strip/d' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/fc ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/fastcrc.h ${STAGEDIR}${PREFIX}/include - ${INSTALL_DATA} ${WRKSRC}/libfcrc.so.1 ${STAGEDIR}${PREFIX}/lib - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfcrc.so.1 + ${INSTALL_LIB} ${WRKSRC}/libfcrc.so.1 ${STAGEDIR}${PREFIX}/lib ${LN} -fs libfcrc.so.1 ${STAGEDIR}${PREFIX}/lib/libfcrc.so do-install-DOCS-on: