diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2021-10-30 18:08:16 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2021-12-11 13:50:53 +0000 |
commit | 45526ecbeec33dbb87f0b678d4c04988aab9b657 (patch) | |
tree | b77614b463af0ed929512fcc838ff5cb20c96275 /audio/mp3plot | |
parent | a148ebec4e0afe980f949de0dea5ef4931cb7e86 (diff) | |
download | ports-45526ecbeec33dbb87f0b678d4c04988aab9b657.tar.gz ports-45526ecbeec33dbb87f0b678d4c04988aab9b657.zip |
framework: Add new USES 'magick' for graphics/ImageMagick*
A new USES has been added to depend on ImageMagick.
USES=magick
adds a LIB_DEPENDS on graphics/ImageMagick${IMAGEMAGICK_DEFAULT}.
If a specific version is required, use for example
USES=magick:6 resp. USES=magick:7
If only a build, run or test is required, use for example
USES=magick:build resp. USES=magick:6,build,test
If a dependency on the nox11 flavor is required, use for example
USES=magick:nox11 resp. USES=magick:7,nox11,run,test
See magick.mk for more details on the available flags.
The tree has been completely converted to make use of this.
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D32754
Diffstat (limited to 'audio/mp3plot')
-rw-r--r-- | audio/mp3plot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/mp3plot/Makefile b/audio/mp3plot/Makefile index 5aca195200b4..82a07d7b7fee 100644 --- a/audio/mp3plot/Makefile +++ b/audio/mp3plot/Makefile @@ -31,7 +31,7 @@ PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz GD_CONFIGURE_ENABLE= gd GD_LIB_DEPENDS= libgd.so:graphics/gd IMAGEMAGICK_CONFIGURE_ENABLE= magick -IMAGEMAGICK_LIB_DEPENDS=libMagick++-6.so:graphics/ImageMagick6 +IMAGEMAGICK_USES= magick:6 post-patch: @${REINPLACE_CMD} -e '/bldtype_/s|-O2||g; s|^extra_LD.*||g' ${WRKSRC}/configure |