On Wed, Nov 29 2017, Antoine Jacoutot <[email protected]> wrote:
> On Tue, Nov 28, 2017 at 03:43:07AM +0000, Kevin Lo wrote:
>> CVSROOT: /cvs
>> Module name: ports
>> Changes by: [email protected] 2017/11/27 20:43:07
>>
>> Modified files:
>> mail/mlmmj : Makefile distinfo
>> mail/mlmmj/pkg : PLIST
>>
>> Log message:
>> Update to mlmmj-1.3.0, from Zhang Huangbin, tweak PLIST from me.
>
> Doesn't build.
/usr/local/include/unistr.h from libunistring gets included instead of
../include/unistr.h.
Quick fix:
Index: Makefile
===================================================================
RCS file: /cvs/ports/mail/mlmmj/Makefile,v
retrieving revision 1.19
diff -u -p -r1.19 Makefile
--- Makefile 28 Nov 2017 03:43:07 -0000 1.19
+++ Makefile 29 Nov 2017 16:57:20 -0000
@@ -19,7 +19,9 @@ LIB_DEPENDS= converters/libiconv
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--enable-receive-strip=yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+# make sure ${WRKSRC}/include/unistr.h is included instead of
+# /usr/local/include/unistr.h from libunistring
+CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
DOCS= README* TUNABLES
--
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE