diff --git a/tools/MacPorts/graphics/libraw/Portfile b/tools/MacPorts/graphics/libraw/Portfile index 58e2679b2a..84e1ab0f54 100644 --- a/tools/MacPorts/graphics/libraw/Portfile +++ b/tools/MacPorts/graphics/libraw/Portfile @@ -42,14 +42,14 @@ post-destroot { variant gpl2 description {Enable GPL demosaic pack, license will be GPL-2+} { distfiles-append \ - LibRaw-demosaic-pack-GPL2-${version}${extract.suffix} \ + LibRaw-demosaic-pack-GPL2-${demosaicversion}${extract.suffix} \ license GPL-2+ } variant gpl3 requires gpl2 description {Enable GPL demosaic pack, license will be GPL-3+} { distfiles-append \ - LibRaw-demosaic-pack-GPL3-${version}${extract.suffix} + LibRaw-demosaic-pack-GPL3-${demosaicversion}${extract.suffix} license GPL-3+ } diff --git a/tools/MacPorts/graphics/libraw/Portfile.patch b/tools/MacPorts/graphics/libraw/Portfile.patch index 389999b03d..4c70d59790 100644 --- a/tools/MacPorts/graphics/libraw/Portfile.patch +++ b/tools/MacPorts/graphics/libraw/Portfile.patch @@ -26,14 +26,14 @@ +variant gpl2 description {Enable GPL demosaic pack, license will be GPL-2+} { + distfiles-append \ -+ LibRaw-demosaic-pack-GPL2-${version}${extract.suffix} \ ++ LibRaw-demosaic-pack-GPL2-${demosaicversion}${extract.suffix} \ + + license GPL-2+ +} + +variant gpl3 requires gpl2 description {Enable GPL demosaic pack, license will be GPL-3+} { + distfiles-append \ -+ LibRaw-demosaic-pack-GPL3-${version}${extract.suffix} ++ LibRaw-demosaic-pack-GPL3-${demosaicversion}${extract.suffix} + + license GPL-3+ +}