Aaron <def...@gmail.com> writes:

> Hola!
>
> mu is a Maildir index/searcher and emacs frontend (mu4e) for mail. Built
> and tested on amd64.
>
> More info on it here: http://www.djcbsoftware.nl/code/mu/mu4e/index.html
>
> Suggestions? OK?

There are a few things that should be modified.

> # $OpenBSD: Makefile,v 1.60 2014/06/29 10:28:56 sthen Exp $
> 
> COMMENT=      maildir indexer and searcher with emacs frontend
> 
> GH_VER=               v0.9.9.6
> DISTNAME=     mu-${GH_VER:S/v//}
> 
> CATEGORIES=   mail
> HOMEPAGE=     http://www.djcbsoftware.nl/code/mu/
> 
> MAINTAINER=   Aaron Bieber <abie...@openbsd.org>
> 
> # GPLv3
> PERMIT_PACKAGE_CDROM= Yes
> 
> MASTER_SITES= https://github.com/djcb/mu/archive/
> DISTFILES=    ${DISTNAME}{${GH_VER}}${EXTRACT_SUFX}
> 
> BUILD_DEPENDS=        ${MODGNU_AUTOCONF_DEPENDS} \
>               ${MODGNU_AUTOMAKE_DEPENDS} \
>               editors/emacs

Please use this:

    emacs->=24:editors/emacs

> LIB_DEPENDS=  databases/xapian-core \
>               mail/gmime

Looks like devel/glib2 is needed here. Without it I get:

mu-0.9.9.6(mail/mu):
Bogus WANTLIB: gio-2.0.4200 (/usr/local/bin/mu) (NOT REACHABLE)
Bogus WANTLIB: glib-2.0.4200 (/usr/local/bin/mu) (NOT REACHABLE)
Bogus WANTLIB: gmodule-2.0.4200 (/usr/local/bin/mu) (NOT REACHABLE)
Bogus WANTLIB: gobject-2.0.4200 (/usr/local/bin/mu) (NOT REACHABLE)
Bogus WANTLIB: gthread-2.0.4200 (/usr/local/bin/mu) (NOT REACHABLE)
*** Error 1 in target 'port-lib-depends-check' (ignored)

even though gmime links against glib2.

> 
> WANTLIB+=     c ffi gio-2.0 glib-2.0 gmime-2.6 gmodule-2.0 gobject-2.0
> WANTLIB+=     gthread-2.0 iconv intl m pcre pthread stdc++ uuid xapian
> WANTLIB+=     z
> 
> AUTOCONF_VERSION=     2.69
> AUTOMAKE_VERSION=     1.11
> CONFIGURE_STYLE=      gnu
> 
> CONFIGURE_ARGS=               --disable-gtk \
>                       --disable-webkit \
>                       --disable-guile
> 
> USE_LIBTOOL=          gnu

The autoconf macros in the devel/libtool package are needed, but mu
builds pretty fine with /usr/bin/libtool.  Please consider removing
USE_LIBTOOL, and adding devel/libtool to bdeps.

> USE_GMAKE=            Yes
> 
> pre-configure:
>       cd ${WRKSRC} && \
>               AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
>               AUTOCONF_VERSION=${AUTOCONF_VERSION} \
>               autoreconf -i
> 
> .include <bsd.port.mk>
> 

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to