aboutsummaryrefslogtreecommitdiff
path: root/devel/ptlib26
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2009-11-13 14:02:41 +0000
committerWen Heping <wen@FreeBSD.org>2009-11-13 14:02:41 +0000
commitc3da7cc13a04902ae035afc93c7743fb5892691e (patch)
tree2cec1014b6e9f1eec31be8a4bb788b339637e1d5 /devel/ptlib26
parentd2ee8033d07342a0e6eadf71f8523e83110fe14b (diff)
downloadports-c3da7cc13a04902ae035afc93c7743fb5892691e.tar.gz
ports-c3da7cc13a04902ae035afc93c7743fb5892691e.zip
Notes
Diffstat (limited to 'devel/ptlib26')
-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