diff options
author | dholland <dholland@pkgsrc.org> | 2008-08-17 06:14:20 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2008-08-17 06:14:20 +0000 |
commit | d57fe9cad8a3ba4bd821e39dafdcc2e9d92de595 (patch) | |
tree | 5dd10b404f4cd67af46aabc898cc10d7774d8e2a /graphics | |
parent | 26d3528506e45accfb79f334fc8704939bfb9c73 (diff) | |
download | pkgsrc-d57fe9cad8a3ba4bd821e39dafdcc2e9d92de595.tar.gz |
Use -fPIC for the shared object. Fixes broken build on amd64 and
probably others.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/py-gdchart/distinfo | 4 | ||||
-rw-r--r-- | graphics/py-gdchart/patches/patch-aa | 13 |
2 files changed, 9 insertions, 8 deletions
diff --git a/graphics/py-gdchart/distinfo b/graphics/py-gdchart/distinfo index 607bb260c34..e021d870965 100644 --- a/graphics/py-gdchart/distinfo +++ b/graphics/py-gdchart/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2005/12/20 11:57:41 joerg Exp $ +$NetBSD: distinfo,v 1.9 2008/08/17 06:14:20 dholland Exp $ SHA1 (gdchart-py-0.6.tar.gz) = 20547e8550bb8c925a3b9776739f9a5e93ce8692 RMD160 (gdchart-py-0.6.tar.gz) = 6c8e430e53ab7adf2b83a8493afe570474532a26 Size (gdchart-py-0.6.tar.gz) = 321891 bytes -SHA1 (patch-aa) = d668c308d54aceedd09f4c5e39c5ad33f32c0e47 +SHA1 (patch-aa) = 41dff5a28491fed9e955a44e02f2003a9482f85e SHA1 (patch-ab) = b4acbd6a23b97056ae18ab9a91c1d5a0b2424eb2 diff --git a/graphics/py-gdchart/patches/patch-aa b/graphics/py-gdchart/patches/patch-aa index 50a4d4cf394..75b4e85239c 100644 --- a/graphics/py-gdchart/patches/patch-aa +++ b/graphics/py-gdchart/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.4 2004/08/27 06:29:08 jlam Exp $ +$NetBSD: patch-aa,v 1.5 2008/08/17 06:14:21 dholland Exp $ ---- Makefile.orig Fri Mar 16 19:08:18 2001 -+++ Makefile Wed Jul 2 13:09:19 2003 -@@ -12,10 +12,10 @@ +--- Makefile.orig 2001-03-16 14:08:18.000000000 -0500 ++++ Makefile 2008-08-17 02:14:47.000000000 -0400 +@@ -12,10 +12,11 @@ # SO Extension for shared libs. HAVE_JPEG = 1 @@ -14,10 +14,11 @@ $NetBSD: patch-aa,v 1.4 2004/08/27 06:29:08 jlam Exp $ +LIB_DIRS = -L${LOCALBASE}/lib -L/usr/lib ${COMPILER_RPATH_FLAG}${LOCALBASE}/lib -L${X11PREFIX}/lib ${COMPILER_RPATH_FLAG}${X11PREFIX}/lib +GCC = ${CC} +CFLAGS ?= -Wall -fpic -O2 ++CFLAGS+=-fPIC # Linux LD = $(GCC) -shared -@@ -31,21 +31,19 @@ +@@ -31,21 +32,19 @@ SO = .so # Shouldn't need to touch anything below this point. @@ -47,7 +48,7 @@ $NetBSD: patch-aa,v 1.4 2004/08/27 06:29:08 jlam Exp $ TARGET = gdchart$(SO) PY_SRC = gdc_py.c -@@ -53,19 +51,11 @@ +@@ -53,19 +52,11 @@ PY_OBJ = $(PY_SRC:.c=.o) all: $(TARGET) |