FreeBSD Bugzilla – Attachment 232510 Details for
Bug 262613
textproc/libxml2: icu support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
icu support for textproc/libxml2
textproc_libxml2-icu.diff (text/plain), 866 bytes, created by
Sean Champ
on 2022-03-17 08:13:29 UTC
(
hide
)
Description:
icu support for textproc/libxml2
Filename:
MIME Type:
Creator:
Sean Champ
Created:
2022-03-17 08:13:29 UTC
Size:
866 bytes
patch
obsolete
>diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile >index 98b4e29344f4..7828988bd0ee 100644 >--- a/textproc/libxml2/Makefile >+++ b/textproc/libxml2/Makefile >@@ -26,10 +26,13 @@ USE_LDCONFIG= yes > INSTALL_TARGET= install-strip > TEST_TARGET= check > >+LIB_DEPENDS= libicutu.so:devel/icu >+CFLAGS+= -I${PREFIX}/include >+ > CONFIGURE_ARGS?=--with-iconv=${ICONV_PREFIX} \ > --with-html-dir=${PREFIX}/share/doc \ > --with-html-subdir=${PORTNAME} \ >- --without-icu \ >+ --with-icu \ > --with-lzma=/usr \ > --without-python > >@@ -77,5 +80,7 @@ post-patch: > .if ${CHOSEN_COMPILER_TYPE} == gcc > @${REINPLACE_CMD} -e 's/ -Wno-array-bounds//' ${WRKSRC}/configure > .endif >+## add the includedir to pkgconf cflags, needed for the icu includes >+ @${REINPLACE_CMD} -e 's|^Cflags: |CFlags: -I$${includedir} |' ${WRKSRC}/libxml-*.pc.in > > .include <bsd.port.post.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 262613
: 232510