Upgrade rubygem port with strange version string

Matthias Fechner idefix at fechner.net
Sun Feb 11 08:36:53 UTC 2018


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

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




More information about the freebsd-ports mailing list