Date: Sat, 21 Feb 2004 21:37:50 -0500 (EST) From: Hendrik Scholz <hendrik@scholz.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: him@richardkiss.com Subject: ports/63203: amd64-fix: lang/lua Message-ID: <20040222023750.F37BB39819@slurmcan.wormulon.net> Resent-Message-ID: <200402220240.i1M2eJtY016855@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63203 >Category: ports >Synopsis: amd64-fix: lang/lua >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 21 18:40:19 PST 2004 >Closed-Date: >Last-Modified: >Originator: Hendrik Scholz >Release: FreeBSD 5.2.1-RC amd64 >Organization: >Environment: System: FreeBSD slurmcan.wormulon.net 5.2.1-RC FreeBSD 5.2.1-RC #0: Sat Jan 31 12:38:34 GMT 2004 root@ngoc.NUXI.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Add -fPIC on amd64. Reported by: bento http://bento.freebsd.org/errorlogs/amd64-5-latest/lua-5.0.1.log >How-To-Repeat: >Fix: --- lua-amd64.diff begins here --- Index: Makefile =================================================================== RCS file: /home/FreeBSD-CVS/ports/lang/lua/Makefile,v retrieving revision 1.17 diff -u -r1.17 Makefile --- Makefile 1 Feb 2004 18:28:24 -0000 1.17 +++ Makefile 22 Feb 2004 02:36:51 -0000 @@ -44,4 +44,8 @@ @cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html *.gif ${DOCSDIR} .endif +.if ${MACHINE_ARCH:L} == "amd64" +CFLAGS+= "-fPIC" +.endif + .include <bsd.port.mk> --- lua-amd64.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040222023750.F37BB39819>