git: e88575977c1f - main - www/rubygem-passenger: Fix build with utf8cpp 4.0.3+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Dec 2023 09:11:42 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=e88575977c1f95a13821f7619880def91c5eaaea commit e88575977c1f95a13821f7619880def91c5eaaea Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-25 09:03:17 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-25 09:03:17 +0000 www/rubygem-passenger: Fix build with utf8cpp 4.0.3+ - Update version requirement of BUILD_DEPENDS to avoid using utf8cpp 4.0.2 utf8cpp 3.* installs to ${PREFIX}/include/utf8cpp/. utf8cpp 4.0.{0,1,2} changes to ${PREFIX}/include/. utf8cpp 4.0.3 changes back to ${PREFIX}/include/utf8cpp/. PR: 275776 Reported by: Toshimichi Masubuchi <t.masub@gmail.com> --- www/rubygem-passenger/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/rubygem-passenger/Makefile b/www/rubygem-passenger/Makefile index aa67285ec791..c9be716be5ea 100644 --- a/www/rubygem-passenger/Makefile +++ b/www/rubygem-passenger/Makefile @@ -13,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= rubygem-rack>=0:www/rubygem-rack \ rubygem-rake>=0.8.1:devel/rubygem-rake \ - utf8cpp>=0:devel/utf8cpp + utf8cpp>=4.0.3:devel/utf8cpp LIB_DEPENDS= libapr-1.so:devel/apr1 \ libcurl.so:ftp/curl \ libuv.so:devel/libuv @@ -23,6 +23,7 @@ RUN_DEPENDS= rubygem-etc>=0:devel/rubygem-etc \ USES= compiler:c++11-lang cpe gem libtool python:env ssl +CXXFLAGS+= -I${LOCALBASE}/include/utf8cpp USE_CXXSTD= c++14 PLIST_FILES= bin/passenger \