Skip to content

Commit

Permalink
www/rubygem-passenger: Fix build with utf8cpp 4.0.3+
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
sunpoet committed Dec 25, 2023
1 parent 5e342f8 commit e885759
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/rubygem-passenger/Makefile
Expand Up @@ -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
Expand All @@ -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 \
Expand Down

0 comments on commit e885759

Please sign in to comment.