pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/lua Add -fPIC to CFLAGS to make this work on more...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8dee1c3988b9
branches:  trunk
changeset: 482284:8dee1c3988b9
user:      kristerw <kristerw%pkgsrc.org@localhost>
date:      Sat Oct 23 19:10:25 2004 +0000

description:
Add -fPIC to CFLAGS to make this work on more architectures.
Bump PKGREVISION.

Thanks to Masao Uebayashi for the patch.

diffstat:

 lang/lua/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 841c975e585e -r 8dee1c3988b9 lang/lua/Makefile
--- a/lang/lua/Makefile Sat Oct 23 17:47:16 2004 +0000
+++ b/lang/lua/Makefile Sat Oct 23 19:10:25 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2004/10/15 21:17:50 minskim Exp $
+# $NetBSD: Makefile,v 1.19 2004/10/23 19:10:25 kristerw Exp $
 
 DISTNAME=      lua-5.0.2
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang
 MASTER_SITES=  ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
                ftp://ftp.ntua.gr/pub/lang/lua/ \
@@ -26,6 +26,7 @@
 ALL_TARGET=    all so
 INSTALL_TARGET=        install soinstall
 
+CFLAGS+=       -fPIC
 LIBS.Interix+= -ldl
 LIBS.SunOS+=   -ldl
 MAKE_ENV+=     LIBS="${LIBS}"



Home | Main Index | Thread Index | Old Index