aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-11-13 22:02:41 +0800
committerwen <wen@FreeBSD.org>2009-11-13 22:02:41 +0800
commit015f00a8acc0b5adae9a57fa44f6b969c1b486d9 (patch)
tree4d7e5d31d634a3815ca36adc1878483f739b30f4
parenta69fd322ad3b8514d37e3c8fe35d94898401d83a (diff)
downloadfreebsd-ports-gnome-015f00a8acc0b5adae9a57fa44f6b969c1b486d9.tar.gz
freebsd-ports-gnome-015f00a8acc0b5adae9a57fa44f6b969c1b486d9.tar.zst
freebsd-ports-gnome-015f00a8acc0b5adae9a57fa44f6b969c1b486d9.zip
- Fix DT_SONAME variable in libpt
PR: ports/140518 Submitted by: "Alexander V. Chernikov" <melifaro@ipfw.ru> (maintainer)
-rw-r--r--devel/ptlib26/Makefile1
-rw-r--r--devel/ptlib26/files/patch-make__lib.mak17
2 files changed, 18 insertions, 0 deletions
diff --git a/devel/ptlib26/Makefile b/devel/ptlib26/Makefile
index 7388b5a9506a..cfd144bd9145 100644
--- a/devel/ptlib26/Makefile
+++ b/devel/ptlib26/Makefile
@@ -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 --git a/devel/ptlib26/files/patch-make__lib.mak b/devel/ptlib26/files/patch-make__lib.mak
new file mode 100644
index 000000000000..d0fe1cdccd3f
--- /dev/null
+++ b/devel/ptlib26/files/patch-make__lib.mak
@@ -0,0 +1,17 @@
+--- make/lib.mak.orig 2009-11-13 21:10:07.000000000 +0800
++++ make/lib.mak 2009-11-13 21:16:47.000000000 +0800
+@@ -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