Stuart Henderson wrote: > On 2020/01/22 18:25, Stefan Hagen wrote: >> Stuart Henderson wrote: >>> On 2020/01/21 18:22, Xiyue Deng wrote: >>>> # C++14 required >>>> -COMPILER= base-clang ports-clang >>>>+COMPILER= base-clang ports-gcc >>> >>> This part is ok with me with the bump added. >> >> Experiement below: >> >> I don't have a gcc architecture available, so i tried to compile mail/mu >> und its dependency database/xapian-core with COMPILER= ports-gcc set on >> my amd64 box. >> >> It looks like xapian-core is not honoring the COMPILER= ports-gcc >> flag. > > That is working here, did you have an old package lying around etc?:
Sort of. I figured it out. I recompiled xapian-core without adding a revision. Which then has installed the cached package. It worked now. > No maildirs here for full tests with mu, but "make test" has lots of "OK"s.. That, and I did some manual tests on my 200k email-mailbox. Updated patch below. Best Regards, Stefan Index: Makefile =================================================================== RCS file: /cvs/ports/mail/mu/Makefile,v retrieving revision 1.18 diff -u -p -u -p -r1.18 Makefile --- Makefile 21 Jul 2019 00:10:04 -0000 1.18 +++ Makefile 22 Jan 2020 20:13:28 -0000 @@ -3,6 +3,7 @@ COMMENT= maildir indexer and searcher with emacs frontend DISTNAME= mu-1.2.0 +REVISION= 1 CATEGORIES= mail HOMEPAGE= http://www.djcbsoftware.nl/code/mu/ @@ -13,9 +14,9 @@ MAINTAINER= Stefan Hagen <sh+ports@codev PERMIT_PACKAGE= Yes WANTLIB+= assuan c ffi gio-2.0 glib-2.0 gmime-3.0 gmodule-2.0 -WANTLIB+= gobject-2.0 gpg-error gpgme gthread-2.0 iconv +WANTLIB+= gobject-2.0 gpg-error gpgme gthread-2.0 iconv idn2 WANTLIB+= intl json-glib-1.0 m pcre pthread ${COMPILER_LIBCXX} -WANTLIB+= uuid xapian z +WANTLIB+= unistring uuid xapian z MASTER_SITES= https://github.com/djcb/mu/releases/download/1.2/ EXTRACT_SUFX= .tar.xz @@ -30,7 +31,7 @@ LIB_DEPENDS= databases/xapian-core \ # C++14 required -COMPILER= base-clang ports-clang +COMPILER= base-clang ports-gcc AUTOCONF_VERSION= 2.69 AUTOMAKE_VERSION= 1.15