mail/alpine new Makefile
Kubilay Kocak
koobs at FreeBSD.org
Fri Jun 9 10:24:19 UTC 2017
On 6/9/17 7:41 PM, Marco Beishuizen wrote:
Hi Marco,
I believe the reason is:
> OPTIONS_DEFINE= ASPELL CONS25 DOCS IPV6 LDAP MAILDIR MOUSE NLS
> NOSPELL PASSFILE PICO THREADS
> OPTIONS_DEFAULT+= MOUSE PICO THREADS
>
> CONS25_DESC= Add a patch to support color for default console
> MAILDIR_DESC= Add a patch for maildir support
> NOSPELL_DESC= Use simple spellcheck
> PASSFILE_DESC= Support for a stored password file
> PICO_DESC= Build and install pico, the default editor
>
> .include <bsd.port.options.mk>
The port includes this ^^^^ ... AND
> # Option ASPELL
> ASPELL_CONFIGURE_WITH= interactive-spellcheck
> ASPELL_CONFIGURE_ON=
> --with-interactive-spellcheck=${LOCALBASE}/bin/aspell
> ASPELL_BUILD_DEPENDS= aspell:textproc/aspell
> ASPELL_RUN_DEPENDS= aspell:textproc/aspell
>
<snip>
> # Option PICO
> PICO_RUN_DEPENDS= pico:editors/pico-alpine
>
> # Option THREADS
> THREADS_CONFIGURE_WITH= pthread
>
> .include <bsd.port.pre.mk>
This ---------^^^^^
Use one or the other, or neither if its *all* options helpers, but not
both. See:
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html
The paragraph just above the "Example 5.28. Simple Use of OPTIONS"
> post-install-DOCS-on:
> ${INSTALL} -d ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/tech-notes
> .for f in ${PORTDOCSbase}
> ${INSTALL_MAN} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
> .endfor
> .for f in ${PORTDOCSdoc}
> ${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}
> .endfor
> .for f in ${PORTDOCShtml}
> ${INSTALL_MAN} ${WRKSRC}/doc/$f ${STAGEDIR}${DOCSDIR}/tech-notes
> .endfor
>
> .include <bsd.port.post.mk>
>
>
> The port builds and installs just fine, except that the port options
> don't work. The checked options, other than the default, are being
> ignored. For testing I've marked all options to on, but Alpine for
> example still doesn't have the possibility to save passwords built in.
>
> So what is wrong with this Makefile?
>
> Regards,
> Marco
>
More information about the freebsd-ports
mailing list