fix typo in cmake file from upstream

github commit: 9415f6d83cd435feadaf625f4b29b56c637cfff5

ok sthen@
This commit is contained in:
rsadowski 2019-10-02 19:00:49 +00:00
parent 6894813e0d
commit d9a6643e33
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.28 2019/07/12 20:47:56 sthen Exp $
# $OpenBSD: Makefile,v 1.29 2019/10/02 19:00:49 rsadowski Exp $
COMMENT= extensible open standard audio/video container library
@ -6,7 +6,7 @@ DISTNAME= libmatroska-1.5.0
CATEGORIES= multimedia
MASTER_SITES= http://dl.matroska.org/downloads/libmatroska/
EXTRACT_SUFX= .tar.xz
REVISION= 0
REVISION= 1
SHARED_LIBS= matroska 4.4

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-CMakeLists_txt,v 1.1 2019/04/28 08:29:50 rsadowski Exp $
$OpenBSD: patch-CMakeLists_txt,v 1.2 2019/10/02 19:00:49 rsadowski Exp $
Add options for building and installing shared, static libraries
@ -31,7 +31,7 @@ Index: CMakeLists.txt
+foreach (TYPE IN ITEMS STATIC SHARED)
+ if (NOT DISABLE_${TYPE}_LIBS)
+ string (TOLOWER "${TYPE}" type)
+ add_library(matroska-${type} ${TYPE} ${libmatroska_SOURCES} ${limatroska_PUBLIC_HEADERS} ${libmatroska_C_PUBLIC_HEADERS})
+ add_library(matroska-${type} ${TYPE} ${libmatroska_SOURCES} ${libmatroska_PUBLIC_HEADERS} ${libmatroska_C_PUBLIC_HEADERS})
+ set_target_properties(matroska-${type} PROPERTIES
+ VERSION 6.0.0
+ SOVERSION 6)