Page MenuHomeFreeBSD

Mk/Uses/magick.mk: Fix DEFAULT_VERSION handling
AbandonedPublic

Authored by zirias on Apr 3 2023, 10:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 17, 3:32 AM
Unknown Object (File)
Wed, Sep 17, 2:50 AM
Unknown Object (File)
Sep 15 2025, 11:21 AM
Unknown Object (File)
Sep 13 2025, 12:43 PM
Unknown Object (File)
Sep 10 2025, 11:41 AM
Unknown Object (File)
Sep 3 2025, 8:46 PM
Unknown Object (File)
Sep 3 2025, 11:34 AM
Unknown Object (File)
Sep 3 2025, 8:35 AM
Subscribers

Details

Reviewers
tcberner
fsbruva_yahoo.com
Group Reviewers
portmgr
Summary

Handle fallback for version and flavor separately, also add several
sanity checks.

This fixes creating broken *_DEPENDS for ports using it without
arguments when a -nox11 version is requested in DEFAULT_VERSIONS like
e.g. this resulting from "imagemagick=7-nox11":
libMagick++-7-nox11.so:graphics/ImageMagick7-nox11

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 50733
Build 47624: arc lint + arc unit

Event Timeline

This still had the problem that there's no way to enforce an x11-enabled version in USES (for ports actually depending on it), so I'm abandoning it in favor of a more complete solution based on "flavorized" ImageMagick ports, see https://reviews.freebsd.org/D39424