pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xmlrpc-c patching patches/patch-ab to work fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/09c77f1bc61a
branches:  trunk
changeset: 399500:09c77f1bc61a
user:      sno <sno%pkgsrc.org@localhost>
date:      Sun Sep 20 21:15:44 2009 +0000

description:
patching patches/patch-ab to work for FreeBSD, too

diffstat:

 textproc/xmlrpc-c/distinfo         |   4 ++--
 textproc/xmlrpc-c/patches/patch-ab |  19 ++++++++++++++-----
 2 files changed, 16 insertions(+), 7 deletions(-)

diffs (57 lines):

diff -r 6d944317f66c -r 09c77f1bc61a textproc/xmlrpc-c/distinfo
--- a/textproc/xmlrpc-c/distinfo        Sun Sep 20 19:55:40 2009 +0000
+++ b/textproc/xmlrpc-c/distinfo        Sun Sep 20 21:15:44 2009 +0000
@@ -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 -r 6d944317f66c -r 09c77f1bc61a textproc/xmlrpc-c/patches/patch-ab
--- a/textproc/xmlrpc-c/patches/patch-ab        Sun Sep 20 19:55:40 2009 +0000
+++ b/textproc/xmlrpc-c/patches/patch-ab        Sun Sep 20 21:15:44 2009 +0000
@@ -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 @@
  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 @@
 +  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



Home | Main Index | Thread Index | Old Index