pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ccrtp cctp: fix shared library name



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ca2c3df1db0
branches:  trunk
changeset: 389948:8ca2c3df1db0
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jan 13 18:22:10 2019 +0000

description:
cctp: fix shared library name

diffstat:

 net/ccrtp/Makefile |  13 +++++++------
 net/ccrtp/PLIST    |   5 +++--
 2 files changed, 10 insertions(+), 8 deletions(-)

diffs (51 lines):

diff -r 2cf40c9defd3 -r 8ca2c3df1db0 net/ccrtp/Makefile
--- a/net/ccrtp/Makefile        Sun Jan 13 18:21:24 2019 +0000
+++ b/net/ccrtp/Makefile        Sun Jan 13 18:22:10 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2018/04/17 22:29:32 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.13 2019/01/13 18:22:10 adam Exp $
 
 DISTNAME=      ccrtp-2.1.2
-PKGREVISION=   4
+PKGREVISION=   5
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GNU:=ccrtp/}
 
@@ -11,14 +10,16 @@
 COMMENT=       RTP and RTSP protocol implementation using GNU CommonCpp
 LICENSE=       gnu-gpl-v2
 
-USE_PKGLOCALEDIR=      yes
-USE_LIBTOOL=           yes
+USE_CMAKE=             yes
 USE_LANGUAGES+=                c c++
+USE_PKGLOCALEDIR=      yes
 USE_TOOLS+=            pkg-config
-USE_CMAKE=             yes
 PKGCONFIG_OVERRIDE+=   libccrtp.pc.in
 INFO_FILES=            yes
 
+CMAKE_ARGS+=   -DLIB_VERSION=${PKGVERSION_NOREV}
+CMAKE_ARGS+=   -DSOVERSION=2
+
 .include "options.mk"
 
 BUILDLINK_API_DEPENDS.ucommon+=        ucommon>=6.3.1
diff -r 2cf40c9defd3 -r 8ca2c3df1db0 net/ccrtp/PLIST
--- a/net/ccrtp/PLIST   Sun Jan 13 18:21:24 2019 +0000
+++ b/net/ccrtp/PLIST   Sun Jan 13 18:22:10 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2018/01/01 22:29:46 rillig Exp $
+@comment $NetBSD: PLIST,v 1.4 2019/01/13 18:22:10 adam Exp $
 include/ccrtp/CryptoContext.h
 include/ccrtp/CryptoContextCtrl.h
 include/ccrtp/base.h
@@ -17,5 +17,6 @@
 include/ccrtp/sources.h
 info/ccrtp.info
 lib/libccrtp.so
-lib/libccrtp.so.SOVERSION
+lib/libccrtp.so.${PKGVERSION}
+lib/libccrtp.so.2
 lib/pkgconfig/libccrtp.pc



Home | Main Index | Thread Index | Old Index