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, Apr 29, 1:35 PM
Unknown Object (File)
Mon, Apr 27, 7:07 AM
Unknown Object (File)
Sun, Apr 26, 7:25 AM
Unknown Object (File)
Sun, Apr 26, 7:25 AM
Unknown Object (File)
Fri, Apr 24, 12:05 AM
Unknown Object (File)
Apr 16 2026, 2:08 AM
Unknown Object (File)
Apr 7 2026, 2:52 PM
Unknown Object (File)
Apr 5 2026, 10:05 PM
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