HomeFreeBSD

sysutils/e2fsprogs: handle PORTREVISION==0 in *_DEPENDS

Description

sysutils/e2fsprogs: handle PORTREVISION==0 in *_DEPENDS

Else we would depend on, say, e2fsprogs-core-1.48.0_ (trailing
underscore) character when PORTREVISION was zeroed or omitted.
(Note that bsd.port.mk will default it to 0 value).

Use make(1)'s varname:?trueval:falseval: expansion to guard
the expansion. (_SUF1 is private in bsd.port.mk, let's avoid that).

Reported by: Tomoaki AOKI
PR: 276643

Details

Provenance
mandreeAuthored on Feb 1 2024, 10:57 PM
Parents
R11:8fedb4423e5e: math/Imath: fix up pkg-plist
Branches
Unknown
Tags
Unknown