1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Set SOVERSION

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-21 09:18:10 +00:00
parent 070c4e2d08
commit 6e3adcfd68
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555824
3 changed files with 17 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= openjph
PORTVERSION= 0.7.2
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= sunpoet@FreeBSD.org
@ -15,6 +16,8 @@ USES= cmake compiler:c++11-lang pathfix
CMAKE_ON= BUILD_SHARED_LIBS
PLIST_SUB= PORTVERSION=${PORTVERSION}
GH_ACCOUNT= aous72
GH_PROJECT= OpenJPH
USE_GITHUB= yes

View File

@ -28,6 +28,19 @@
)
if (OJPH_DISABLE_INTEL_SIMD)
@@ -69,10 +66,10 @@ set_target_properties(openjph
OUTPUT_NAME "openjph"
)
-if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "Linux")
+if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
set_target_properties(openjph
PROPERTIES
- SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}")
+ SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}.${OPENJPH_VERSION_PATCH}")
endif()
if (MSVC)
@@ -107,6 +104,6 @@ INSTALL (DIRECTORY src/core/common/
FILES_MATCHING
PATTERN "*.h")

View File

@ -11,4 +11,5 @@ include/openjph/ojph_message.h
include/openjph/ojph_params.h
include/openjph/ojph_version.h
lib/libopenjph.so
lib/libopenjph.so.%%PORTVERSION%%
libdata/pkgconfig/openjph.pc