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)
Mon, Jan 27, 4:54 PM
Unknown Object (File)
Sat, Jan 25, 10:23 PM
Unknown Object (File)
Mon, Jan 20, 2:01 AM
Unknown Object (File)
Dec 21 2024, 5:41 PM
Unknown Object (File)
Dec 21 2024, 5:36 PM
Unknown Object (File)
Dec 3 2024, 8:03 AM
Unknown Object (File)
Nov 26 2024, 11:08 AM
Unknown Object (File)
Nov 22 2024, 6:32 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