From owner-freebsd-ports@FreeBSD.ORG Tue Jan 20 16:42:00 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9B6B106566C; Tue, 20 Jan 2009 16:42:00 +0000 (UTC) (envelope-from Chad.Schroeder@lodgenet.com) Received: from garbo.lodgenet.com (garbo.lodgenet.com [204.124.121.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2D7E98FC19; Tue, 20 Jan 2009 16:41:59 +0000 (UTC) (envelope-from Chad.Schroeder@lodgenet.com) Received: from hardy.lodgenet.com (hardy.lodgenet.com [10.16.101.109]) by garbo.lodgenet.com (8.12.11.20060308/8.12.11) with ESMTP id n0KGKH08016871; Tue, 20 Jan 2009 10:20:17 -0600 Received: from sfcoex02.lodgenet.com (Not Verified[10.16.100.165]) by hardy.lodgenet.com with MailMarshal (v6, 4, 1, 5038) id ; Tue, 20 Jan 2009 10:20:17 -0600 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 20 Jan 2009 10:20:16 -0600 Message-ID: <87D91DEDB1111C44BBFB9E3E90FF1E6E02574CF2@host.lodgenet.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: FreeBSD Port: xmlrpc-c-devel-1.11.00_2 Thread-Index: Acl7GvrOkZm8WeMNSleZ5tlmTMA8Ig== From: "Schroeder, Chad" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@FreeBSD.org Subject: FreeBSD Port: xmlrpc-c-devel-1.11.00_2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 16:42:00 -0000 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.