FreeBSD Bugzilla – Attachment 222194 Details for
Bug 252928
emulators/mtools: need more direct libiconv dependency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add libiconv dependency, make mtools.conf usable without editing
mtools.patch (text/plain), 867 bytes, created by
John Kennedy
on 2021-02-06 02:53:17 UTC
(
hide
)
Description:
patch to add libiconv dependency, make mtools.conf usable without editing
Filename:
MIME Type:
Creator:
John Kennedy
Created:
2021-02-06 02:53:17 UTC
Size:
867 bytes
patch
obsolete
>diff --git a/emulators/mtools/Makefile b/emulators/mtools/Makefile >index 9cec730b4ac8..0d78acbba9ea 100644 >--- a/emulators/mtools/Makefile >+++ b/emulators/mtools/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= mtools > PORTVERSION= 4.0.26 >+PORTREVISION= 1 > CATEGORIES= emulators > MASTER_SITES= GNU > >@@ -31,6 +32,7 @@ OPTIONS_DEFAULT=ICONV X11 > USES+= iconv > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} >+LIB_DEPENDS+= libiconv.so:converters/libiconv > .else > CONFIGURE_ENV+= ac_cv_header_iconv_h=no > .endif >@@ -51,6 +53,8 @@ post-patch: > ${WRKSRC}/llong.h > @${REINPLACE_CMD} -e 's|/etc/mtools.conf|${PREFIX}/etc/mtools.conf|g' \ > ${WRKSRC}/mformat.c >+ @${REINPLACE_CMD} -e 's|^\(SAMPLE FILE\)$$|#\1|' \ >+ ${WRKSRC}/mtools.conf > .for f in mtools.5 mtools.texi > @${REINPLACE_CMD} -e 's|/usr/local/etc/|${PREFIX}/etc/|g' \ > ${WRKSRC}/${f}
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 252928
:
221825
|
221826
| 222194