diff options
author | sno <sno> | 2009-09-20 21:15:44 +0000 |
---|---|---|
committer | sno <sno> | 2009-09-20 21:15:44 +0000 |
commit | 6b89a3c095a31b465a144b4ef5230f8f8d364310 (patch) | |
tree | c26f37e61e0a8437b3f9bc790f14292c102ac64a /textproc | |
parent | 5ad289c535e0d9c8d94dad0d5e8ee8243c51f858 (diff) | |
download | pkgsrc-6b89a3c095a31b465a144b4ef5230f8f8d364310.tar.gz |
patching patches/patch-ab to work for FreeBSD, too
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/xmlrpc-c/distinfo | 4 | ||||
-rw-r--r-- | textproc/xmlrpc-c/patches/patch-ab | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/textproc/xmlrpc-c/distinfo b/textproc/xmlrpc-c/distinfo index 85e2b9d2865..675af0c0671 100644 --- a/textproc/xmlrpc-c/distinfo +++ b/textproc/xmlrpc-c/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.5 2009/01/11 14:08:02 wiz Exp $ +$NetBSD: distinfo,v 1.6 2009/09/20 21:15:44 sno Exp $ SHA1 (xmlrpc-c-1.09.00.tgz) = bd4571ca3bc23c1fe9dd002659fcc2aa3d4ce8a6 RMD160 (xmlrpc-c-1.09.00.tgz) = ef098edef126dfd5a14334e6a1e4e7919be4b40c Size (xmlrpc-c-1.09.00.tgz) = 701817 bytes SHA1 (patch-aa) = ff3f7c7d0195c10f57df4ea047eb87a5bdac5cd1 -SHA1 (patch-ab) = d3e76ddae5c22e72277878cdecc02b97e3ce95b9 +SHA1 (patch-ab) = 5c2822312b368888df101d26985979e904e0f046 SHA1 (patch-ac) = 805aebdaa736a08482a4f82559938d38f794ab81 SHA1 (patch-ad) = 8b7ad5b7aacb6b13f04792bc157e228deaf2de72 SHA1 (patch-ae) = 683239483a9bfee5defe2b0c8f3ef9fd0d5735f9 diff --git a/textproc/xmlrpc-c/patches/patch-ab b/textproc/xmlrpc-c/patches/patch-ab index e217e2806e9..bacfe330bba 100644 --- a/textproc/xmlrpc-c/patches/patch-ab +++ b/textproc/xmlrpc-c/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.4 2008/09/20 19:55:01 adrianp Exp $ +$NetBSD: patch-ab,v 1.5 2009/09/20 21:15:44 sno Exp $ ---- Makefile.config.in.orig 2006-09-28 03:15:55.000000000 +0100 -+++ Makefile.config.in -@@ -168,6 +168,15 @@ ifeq ($(findstring solaris,$(HOST_OS)),F +--- Makefile.config.in.orig 2006-09-28 04:15:55.000000000 +0200 ++++ Makefile.config.in 2009-09-20 23:05:15.000000000 +0200 +@@ -168,6 +168,15 @@ CFLAGS_SHLIB = -Kpic endif @@ -18,7 +18,7 @@ $NetBSD: patch-ab,v 1.4 2008/09/20 19:55:01 adrianp Exp $ ifeq ($(HOST_OS),aix) SHARED_LIB_TYPE = unix SHLIB_SUFFIX = a -@@ -204,12 +213,22 @@ ifeq ($(HOST_OS),osf) +@@ -204,12 +213,31 @@ LDFLAGS_SHLIB = -shared -expect_unresolved endif @@ -37,6 +37,15 @@ $NetBSD: patch-ab,v 1.4 2008/09/20 19:55:01 adrianp Exp $ + SHARED_LIB_TYPE = unix + SHLIB_SUFFIX = so + shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) ++ shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) ++ CFLAGS_SHLIB = -fPIC ++ LDFLAGS_SHLIB = -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB) ++endif ++ ++ifeq ($(findstring freebsd,$(HOST_OS)),freebsd) ++ SHARED_LIB_TYPE = unix ++ SHLIB_SUFFIX = so ++ shlibfn = $(1:%=%.$(SHLIB_SUFFIX).$(MAJ).$(MIN)) shliblefn = $(1:%=%.$(SHLIB_SUFFIX)) - CFLAGS_SHLIB = -fpic + CFLAGS_SHLIB = -fPIC |