git: e813dd41e83e - main - print/libmspub01: Fix build with ICU 76.1 and improve port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Jan 2025 17:23:54 UTC
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=e813dd41e83eecd970f120c90848d5ada7738381 commit e813dd41e83eecd970f120c90848d5ada7738381 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2025-01-18 17:19:21 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2025-01-18 17:23:18 +0000 print/libmspub01: Fix build with ICU 76.1 and improve port Fix build with ICU and while at it clean up port Makefile PR: 283561 Approved by: portmgr (maintainer timeout, 3+ weeks) --- print/libmspub01/Makefile | 9 +++++---- print/libmspub01/files/patch-configure.ac | 11 +++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/print/libmspub01/Makefile b/print/libmspub01/Makefile index 471e916a269c..7f19aa1e5de3 100644 --- a/print/libmspub01/Makefile +++ b/print/libmspub01/Makefile @@ -1,5 +1,5 @@ PORTNAME= libmspub -PORTVERSION= 0.1.4 +DISTVERSION= 0.1.4 PORTREVISION= 24 CATEGORIES= print graphics devel MASTER_SITES= LODEV/${PORTNAME} @@ -15,12 +15,13 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs LIB_DEPENDS= libicui18n.so:devel/icu \ librevenge-0.0.so:textproc/librevenge -USES= compiler:c++11-lib libtool pathfix pkgconfig tar:xz -GNU_CONFIGURE= yes +USES= autoreconf compiler:c++11-lib libtool localbase pathfix \ + pkgconfig tar:xz USE_LDCONFIG= yes + +GNU_CONFIGURE= yes INSTALL_TARGET= install-strip CONFIGURE_ARGS= --disable-werror --without-docs -CPPFLAGS+= -I${LOCALBASE}/include .include <bsd.port.mk> diff --git a/print/libmspub01/files/patch-configure.ac b/print/libmspub01/files/patch-configure.ac new file mode 100644 index 000000000000..c2316cbe73e6 --- /dev/null +++ b/print/libmspub01/files/patch-configure.ac @@ -0,0 +1,11 @@ +--- configure.ac.orig 2025-01-04 20:17:51 UTC ++++ configure.ac +@@ -104,7 +104,7 @@ AC_CHECK_HEADERS( + # ======== + # Find icu + # ======== +-PKG_CHECK_MODULES([ICU], [icu-i18n]) ++PKG_CHECK_MODULES([ICU], [icu-i18n icu-uc]) + AC_SUBST(ICU_CFLAGS) + AC_SUBST(ICU_LIBS) +