summaryrefslogtreecommitdiff
path: root/lang/siod/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-09-28 04:02:59 +0000
committerdmcmahill <dmcmahill>2002-09-28 04:02:59 +0000
commit5e54a0f0a68f56a68a929358310e1b37e2fd931d (patch)
treee9dff9a2f2ac8f6abb1e649c41b123c5f0cb22c7 /lang/siod/patches
parentaed396da7829b7e72e8fab65785d7abef0e83c8c (diff)
downloadpkgsrc-5e54a0f0a68f56a68a929358310e1b37e2fd931d.tar.gz
add -fPIC -DPIC to CFLAGS for NetBSD. Needed by sparc, ppc, and maybe
others.
Diffstat (limited to 'lang/siod/patches')
-rw-r--r--lang/siod/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/siod/patches/patch-aa b/lang/siod/patches/patch-aa
index 5f4985cc5bf..00513f95f6a 100644
--- a/lang/siod/patches/patch-aa
+++ b/lang/siod/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2002/08/12 16:21:13 agc Exp $
+$NetBSD: patch-aa,v 1.3 2002/09/28 04:03:00 dmcmahill Exp $
NetBSD definition for makefile, and make solaris into SunOS so
that we can use ${OPSYS}.
@@ -42,7 +42,7 @@ that we can use ${OPSYS}.
+ $(MAKE) $(LDLP) \
+ PROGS="siod ndbm.so tar.so parser_pratt.so ss.so regex.so" \
+ LD=ld \
-+ CFLAGS="$(GCCW) $(CDEBUG) -DSUN5 -O2 $(SLD) -I${INCDIR}" \
++ CFLAGS="$(GCCW) $(CDEBUG) -DSUN5 -O2 $(SLD) -I${INCDIR} -fPIC -DPIC" \
+ LD_EXE_FLAGS="-Wl,-R$(LIBDIR) -L${LIBDIR} -Wl,-R$(LIBSIODDIR) -L${LIBSIODDIR}" \
+ LD_EXE_LIBS="-lm" \
+ LD_LIB_FLAGS="-G" \