summaryrefslogtreecommitdiff
path: root/net/ccrtp
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-01-13 18:22:10 +0000
committeradam <adam@pkgsrc.org>2019-01-13 18:22:10 +0000
commit7c423b7dde319645572a2f93f0c4119aaf42b379 (patch)
treefc8a3912e8071445be4208467ac91a6202cf49dc /net/ccrtp
parent3d6d83d57114c6fe08cd30922941bbe407e6b9cd (diff)
downloadpkgsrc-7c423b7dde319645572a2f93f0c4119aaf42b379.tar.gz
cctp: fix shared library name
Diffstat (limited to 'net/ccrtp')
-rw-r--r--net/ccrtp/Makefile13
-rw-r--r--net/ccrtp/PLIST5
2 files changed, 10 insertions, 8 deletions
diff --git a/net/ccrtp/Makefile b/net/ccrtp/Makefile
index 50a8f85534a..5046e4002bb 100644
--- a/net/ccrtp/Makefile
+++ b/net/ccrtp/Makefile
@@ -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 @@ HOMEPAGE= http://www.gnu.org/software/ccrtp/
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 --git a/net/ccrtp/PLIST b/net/ccrtp/PLIST
index 90337123997..7d384e4afc1 100644
--- a/net/ccrtp/PLIST
+++ b/net/ccrtp/PLIST
@@ -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/rtppkt.h
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