ports/63203: amd64-fix: lang/lua
Hendrik Scholz
hendrik at scholz.net
Sun Feb 22 02:40:19 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list