From b82f94e1ce7ba3fb6f5fc366bda3ea930cc103ec Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Tue, 22 Apr 2014 17:14:44 +0000 Subject: [PATCH] Update to 2.0.8 Fix pthsem.m4 macros to avoid [] to disappear (this allow net/linknx to generate a working test for conf --- devel/pthsem/Makefile | 6 ++++-- devel/pthsem/distinfo | 4 ++-- devel/pthsem/files/patch-pth.m4 | 11 +++++++++++ devel/pthsem/pkg-plist | 2 ++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 devel/pthsem/files/patch-pth.m4 diff --git a/devel/pthsem/Makefile b/devel/pthsem/Makefile index ceb90c58dd05..df10bf4880c0 100644 --- a/devel/pthsem/Makefile +++ b/devel/pthsem/Makefile @@ -2,16 +2,18 @@ # $FreeBSD$ PORTNAME= pthsem -PORTVERSION= 2.0.7 +PORTVERSION= 2.0.8 CATEGORIES= devel MASTER_SITES= http://www.auto.tuwien.ac.at/~mkoegler/pth/ +DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX} MAINTAINER= bkoenig@alpha-tierchen.de COMMENT= GNU Portable Threads with semaphores USE_LDCONFIG= yes GNU_CONFIGURE= yes -USES= gmake +USES= gmake libtool pathfix +INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes diff --git a/devel/pthsem/distinfo b/devel/pthsem/distinfo index 05be087514fc..71182488596a 100644 --- a/devel/pthsem/distinfo +++ b/devel/pthsem/distinfo @@ -1,2 +1,2 @@ -SHA256 (pthsem-2.0.7.tar.gz) = 6226f92f3a0950c6f3da8f9dcb7c76d08634515519bf35cd916b3cdcc1aeb130 -SIZE (pthsem-2.0.7.tar.gz) = 662673 +SHA256 (pthsem_2.0.8.tar.gz) = 4024cafdd5d4bce2b1778a6be5491222c3f6e7ef1e43971264c451c0012c5c01 +SIZE (pthsem_2.0.8.tar.gz) = 687551 diff --git a/devel/pthsem/files/patch-pth.m4 b/devel/pthsem/files/patch-pth.m4 new file mode 100644 index 000000000000..b54ba343d028 --- /dev/null +++ b/devel/pthsem/files/patch-pth.m4 @@ -0,0 +1,11 @@ +--- ./pth.m4.orig 2008-07-09 23:22:42.000000000 +0200 ++++ ./pth.m4 2014-04-22 19:09:18.070826022 +0200 +@@ -296,7 +296,7 @@ + exit(0); + ]) + m4_define(_code3, [dnl +- int main(int argc, char *argv[]) ++ int main(int argc, char **argv) + { + ]) + m4_define(_code4, [dnl diff --git a/devel/pthsem/pkg-plist b/devel/pthsem/pkg-plist index 7f65c41c2d8b..d8e1f98d45af 100644 --- a/devel/pthsem/pkg-plist +++ b/devel/pthsem/pkg-plist @@ -4,6 +4,8 @@ lib/libpthsem.a lib/libpthsem.la lib/libpthsem.so lib/libpthsem.so.20 +lib/libpthsem.so.20.0.28 +libdata/pkgconfig/pthsem.pc man/man1/pthsem-config.1.gz man/man3/pthsem.3.gz share/aclocal/pthsem.m4