Upgrade rubygem port with strange version string

Jochen Neumeister joneum at FreeBSD.org
Sun Feb 11 10:35:40 UTC 2018


Morning Matthias,

where is the new Version 5.1.0 from unicorn? On Github and the webpage i 
found only Version 1.0.1

Greetings
Jochen


Am 11.02.2018 um 09:36 schrieb Matthias Fechner:
> Dear all,
>
> I need to update a rubygem port to version 5.1.0.4.gd5fbb
> PORTNAME=       unicorn
> PORTVERSION=    5.1.0
> CATEGORIES=     www rubygems
>
> I tested it with:
>
> PORTNAME=       unicorn
> PORTVERSION=   5.1.0.4
> DISTNAME=      ${PORTNAME}-${PORTVERSION}.gd5fbb
> CATEGORIES=     www rubygems
>
> which fetches the correct version.
> But it installs the version into port:
>
> /usr/local/lib/ruby/gems/2.4/gems/unicorn-5.1.0.4.gd5fbb
>
> which causes problems.
>
> What is here the best way to make sure it will be installed into:
> /usr/local/lib/ruby/gems/2.4/gems/unicorn-5.1.0.4
>
> Thanks a lot!
>
> Gruß
> Matthias
>



More information about the freebsd-ports mailing list