Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 10:20:16 -0600
From:      "Schroeder, Chad" <Chad.Schroeder@lodgenet.com>
To:        <chinsan@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: xmlrpc-c-devel-1.11.00_2
Message-ID:  <87D91DEDB1111C44BBFB9E3E90FF1E6E02574CF2@host.lodgenet.com>

next in thread | raw e-mail | index | archive | help

I would like to submit the following.  This patch (against trunk) allows
for the shared libraries
to be built and installed on a FreeBSD system.

If you have any questions, please let me know.

Thank you,
Chad

Index: config.mk.in
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- config.mk.in        (revision 1615)
+++ config.mk.in        (working copy)
@@ -232,6 +232,18 @@
   NEED_WL_RPATH=3Dyes
 endif
=20
+ifeq ($(findstring freebsd,$(HOST_OS)),freebsd)
+  SHARED_LIB_TYPE =3D unix
+  SHLIB_SUFFIX =3D so
+  MUST_BUILD_SHLIB =3D Y
+  MUST_BUILD_SHLIBLE =3D Y
+  shlibfn =3D $(1:%=3D%.$(SHLIB_SUFFIX).$(MAJ).$(MIN))
+  shliblefn =3D $(1:%=3D%.$(SHLIB_SUFFIX))
+  CFLAGS_SHLIB =3D -fpic
+  LDFLAGS_SHLIB =3D -shared -Wl,-soname,$(SONAME) $(SHLIB_CLIB)
+  NEED_WL_RPATH=3Dyes
+endif
+
 ifeq ($(HOST_OS),dragonfly)
   SHARED_LIB_TYPE =3D unix
   MUST_BUILD_SHLIB =3D Y


Chad J. Schroeder
Software Systems Engineer
Engineering & Technology Development
LodgeNet Interactive Corporation
3900 West Innovation Street
Sioux Falls, SD 57107-7002
Phone: 605-988-1489
Fax: 605-988-1491
chad.schroeder@lodgenet.com


This e-mail and attached files contain LodgeNet confidential information
intended for the exclusive use of the individual(s) to whom addressed.
If you are not the intended recipient, please immediately delete this
e-mail (and attached files) and treat the information as confidential.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87D91DEDB1111C44BBFB9E3E90FF1E6E02574CF2>