Skip to content

Commit

Permalink
graphics/openjph: Update to 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Apr 18, 2021
1 parent 2b6c4f2 commit 46ae3cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions graphics/openjph/Makefile
@@ -1,8 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME= openjph
PORTVERSION= 0.7.2
PORTREVISION= 1
PORTVERSION= 0.7.3
CATEGORIES= graphics

MAINTAINER= sunpoet@FreeBSD.org
Expand Down
6 changes: 3 additions & 3 deletions graphics/openjph/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1605426319
SHA256 (aous72-OpenJPH-0.7.2_GH0.tar.gz) = 3be911b2f702c64411ebe4312efd10d3a52fa4de38dc85e520431fb3a921a23d
SIZE (aous72-OpenJPH-0.7.2_GH0.tar.gz) = 319432
TIMESTAMP = 1618319952
SHA256 (aous72-OpenJPH-0.7.3_GH0.tar.gz) = 301497896fc04bbd0f12a9c68336f371d2c50389638a60dab47b257e20c2b42c
SIZE (aous72-OpenJPH-0.7.3_GH0.tar.gz) = 320940
8 changes: 4 additions & 4 deletions graphics/openjph/files/patch-CMakeLists.txt
@@ -1,11 +1,11 @@
--- CMakeLists.txt.orig 2020-11-04 10:33:56 UTC
--- CMakeLists.txt.orig 2021-03-12 02:16:50 UTC
+++ CMakeLists.txt
@@ -29,7 +29,7 @@ if (MSVC)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc /D \"_CRT_SECURE_NO_WARNINGS\"")
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang|GNU")
- set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-Wall -Wextra -Wconversion -Wunused-parameter")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wconversion -Wunused-parameter")
- set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-fexceptions -Wall -Wextra -Wconversion -Wunused-parameter")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexceptions -Wall -Wextra -Wconversion -Wunused-parameter")
endif()

if (OJPH_DISABLE_INTEL_SIMD)
Expand Down Expand Up @@ -33,7 +33,7 @@
)

-if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "Linux")
+if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
+if (OPENJPH_VERSION AND CMAKE_SYSTEM_NAME MATCHES "FreeBSD|Linux")
set_target_properties(openjph
PROPERTIES
- SOVERSION "${OPENJPH_VERSION_MAJOR}.${OPENJPH_VERSION_MINOR}")
Expand Down

0 comments on commit 46ae3cb

Please sign in to comment.