Date: Tue, 14 May 2019 05:49:07 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501622 - head/devel/fastcrc Message-ID: <201905140549.x4E5n7Dj007119@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905140549.x4E5n7Dj007119>