Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-ports.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 13:24:51 +0300
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-08-27 13:24:51 +0300
commite46a2183265448e9d9bd01d1fb554e3cba137d00 (patch)
tree1fb712945867438c0ff2595f4a2afe7a1d726cef /print
parentdd595d9b565ac87b0b3c47b01fd73f1185666083 (diff)
print/py-uharfbuzz: Update BUILD_DEPENDS: Add check for harfbuzz version
Diffstat (limited to 'print')
-rw-r--r--print/py-uharfbuzz/Makefile3
-rw-r--r--print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp11
2 files changed, 11 insertions, 3 deletions
diff --git a/print/py-uharfbuzz/Makefile b/print/py-uharfbuzz/Makefile
index 90cac49a83c1..f255b84c2113 100644
--- a/print/py-uharfbuzz/Makefile
+++ b/print/py-uharfbuzz/Makefile
@@ -10,7 +10,8 @@ COMMENT= Streamlined Cython bindings for the harfbuzz shaping engine
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+BUILD_DEPENDS= harfbuzz>=5.1.0:print/harfbuzz \
+ ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz
USES= compiler:c++11-lang python:3.6+ zip
diff --git a/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp b/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp
index f60669a0747f..133d69461964 100644
--- a/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp
+++ b/print/py-uharfbuzz/files/patch-src-uharfbuzz-_harfbuzz.cpp
@@ -1,6 +1,13 @@
---- src/uharfbuzz/_harfbuzz.cpp.orig 2022-07-31 12:40:22 UTC
+--- src/uharfbuzz/_harfbuzz.cpp.orig 2022-07-31 07:40:22 UTC
+++ src/uharfbuzz/_harfbuzz.cpp
-@@ -36,9 +36,6 @@
+@@ -30,15 +30,12 @@
+ "-std=c++11"
+ ],
+ "include_dirs": [
+- "harfbuzz/src"
++ "%%LOCALBASE%%/include/harfbuzz"
+ ],
+ "language": "c++",
"name": "uharfbuzz._harfbuzz",
"sources": [
"src/uharfbuzz/_harfbuzz.pyx",