Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2009 23:45:15 GMT
From:      "Alexander V. Chernikov" <melifaro@ipfw.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140518: [maintainer update] devel/ptlib26 fix
Message-ID:  <200911122345.nACNjFcf025968@www.freebsd.org>
Resent-Message-ID: <200911122350.nACNo202074784@freefall.freebsd.org>

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

>Number:         140518
>Category:       ports
>Synopsis:       [maintainer update] devel/ptlib26 fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 12 23:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander V. Chernikov
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD ws.ipfw.ru 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Fri Oct 23 22:14:57 MSD 2009     root@ws.ipfw.ru:/var/ports_tmp/usj/obj/usr/src/sys/WS  amd64
>Description:
Fix DT_SONAME variable in libpt
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN _ptlib26/Makefile ptlib26/Makefile
--- _ptlib26/Makefile	2009-11-13 02:41:24.000000000 +0300
+++ ptlib26/Makefile	2009-11-13 02:21:43.000000000 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	ptlib
 PORTVERSION=	2.6.5
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNOME}
 MASTER_SITE_SUBDIR=	sources/ptlib/2.6
diff -urN _ptlib26/files/patch-make__lib.mak ptlib26/files/patch-make__lib.mak
--- _ptlib26/files/patch-make__lib.mak	1970-01-01 03:00:00.000000000 +0300
+++ ptlib26/files/patch-make__lib.mak	2009-11-13 02:36:40.000000000 +0300
@@ -0,0 +1,17 @@
+--- make/lib.mak.orig	2009-09-21 04:25:30.000000000 +0400
++++ make/lib.mak	2009-11-13 02:36:27.000000000 +0300
+@@ -97,8 +97,12 @@
+     ifeq ($(OSTYPE),mingw)
+       LDSOOPTS += -Wl,--kill-at
+     else
+-      ifneq ($(OSTYPE),Darwin)
+-        LDSOOPTS += -Wl,-soname,$(LIB_SONAME)
++      ifeq ($(OSTYPE),FreeBSD)
++	LDSOOPTS += -Wl,-soname,$(subst .$(LIB_SUFFIX),,$(LIB_FILENAME))-$(MAJOR_VERSION).$(MINOR_VERSION).$(LIB_SUFFIX).$(BUILD_NUMBER)
++      else
++        ifneq ($(OSTYPE),Darwin)
++          LDSOOPTS += -Wl,-soname,$(LIB_SONAME)
++        endif
+       endif
+     endif
+   endif


>Release-Note:
>Audit-Trail:
>Unformatted:



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