FreeBSD Bugzilla – Attachment 224649 Details for
Bug 255532
mail/evolution: 'make configure' fails - iconv detection failing - non-default LOCALBASE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[patch] fix build for non-default LOCALBASE
pr-evolution-fix-localbase.diff (text/plain), 1.03 KB, created by
John Hein
on 2021-05-03 21:35:16 UTC
(
hide
)
Description:
[patch] fix build for non-default LOCALBASE
Filename:
MIME Type:
Creator:
John Hein
Created:
2021-05-03 21:35:16 UTC
Size:
1.03 KB
patch
obsolete
>diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile >index 9be25802c86c..3b549fbd05df 100644 >--- a/mail/evolution/Makefile >+++ b/mail/evolution/Makefile >@@ -133,4 +133,7 @@ MAPS_LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \ > MAPS_USES= gl xorg > MAPS_USE= xorg=xcomposite,xdamage,xext,xfixes,xi,xrandr gl=egl > >+post-patch: >+ ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt >+ > .include <bsd.port.mk> >diff --git a/mail/evolution/files/patch-CMakeLists.txt b/mail/evolution/files/patch-CMakeLists.txt >index d38a5b4f155b..e8d6bb066542 100644 >--- a/mail/evolution/files/patch-CMakeLists.txt >+++ b/mail/evolution/files/patch-CMakeLists.txt >@@ -4,7 +4,7 @@ > # ****************************** > > set(CMAKE_REQUIRED_LIBRARIES "-liconv") >-+set(CMAKE_REQUIRED_FLAGS "-L/usr/local/lib") >++set(CMAKE_REQUIRED_FLAGS "-L%%LOCALBASE%%/lib") > CHECK_C_SOURCE_COMPILES("#include <iconv.h> > #include <stdlib.h> > int main(void) { iconv_t cd; cd = iconv_open (\"UTF-8\", \"ISO-8859-1\"); return 0; }" HAVE_LIBICONV)
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
Flags:
jcfyecrayz
:
maintainer-approval?
(
gnome
)
Actions:
View
|
Diff
Attachments on
bug 255532
: 224649