pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/lua-expat Add -fPIC to CFLAGS. Fixes broken b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/990718c2c23b
branches:  trunk
changeset: 545906:990718c2c23b
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Aug 17 07:08:24 2008 +0000

description:
Add -fPIC to CFLAGS. Fixes broken build on amd64 and probably others.

diffstat:

 textproc/lua-expat/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 245abff1220e -r 990718c2c23b textproc/lua-expat/Makefile
--- a/textproc/lua-expat/Makefile       Sun Aug 17 07:02:39 2008 +0000
+++ b/textproc/lua-expat/Makefile       Sun Aug 17 07:08:24 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2007/02/22 19:01:26 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/08/17 07:08:24 dholland Exp $
 #
 
 DISTNAME=      luaexpat-1.0a
@@ -14,6 +14,8 @@
 USE_TOOLS+=    gmake
 MAKE_FILE=     makefile
 
+CFLAGS+=       -fPIC
+
 INSTALLATION_DIRS=     lib
 
 do-install:



Home | Main Index | Thread Index | Old Index