On 2019/07/29 22:16, Brian Callahan wrote:
> Hi ports --
> 
> Trivial update to gcal. Hasn't been updated in many years and is a leaf
> port.
> Is good on amd64 and macppc.
> 
> Take MAINTAINER.
> 
> OK?
> 
> ~Brian
> 

OK as-is, but if you'd like to fix column alignment for unicode
output you can do this:

CONFIGURE_ARGS += --enable-unicode
LIB_DEPENDS += converters/libunistring
WANTLIB += unistring
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib -lunistring"

before:

$ LANG=fr gcal -q FR -n
[...]
Jour de l'Armistice (RE)                 + Lu,  11 Nov 2019 = +103 jours
Veille de Noël (RE)                     - Ma,  24 Dé 2019 = +146 jours
Fête de Noël (RE)                      + Me,  25 Dé 2019 = +147 jours
Boxing Day (RE)                          * Je,  26 Dé 2019 = +148 jours
Saint Sylvestre/Veille du Nouvel A (RE)  - Ma,  31 Dé 2019 = +153 jours

after:

$ LANG=fr gcal -q FR -n
[...]
Jour de l'Armistice (FR)                 + Lu,  11 Nov 2019 = +103 jours
Veille de Noël (FR)                      - Ma,  24 Dé 2019 = +146 jours
Fête de Noël (FR)                        + Me,  25 Dé 2019 = +147 jours
Boxing Day (FR)                          * Je,  26 Dé 2019 = +148 jours
Saint Sylvestre/Veille du Nouvel A (FR)  - Ma,  31 Dé 2019 = +153 jours

libunistring is fairly small, and gnutls already uses it, so it's
not not too onerous a dependency.

Reply via email to