Patchwork [2/2] imagemagick: unification of name major version variable

login
register
mail settings
Submitter Jerzy Grzegorek
Date Dec. 10, 2013, 7:18 a.m.
Message ID <1386659915-3798-2-git-send-email-jerzy.grzegorek@trzebnica.net>
Download mbox | patch
Permalink /patch/299316/
State Rejected
Headers show

Comments

Jerzy Grzegorek - Dec. 10, 2013, 7:18 a.m.
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
---
 package/imagemagick/imagemagick.mk |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Peter Korsgaard - Dec. 10, 2013, 9:09 a.m.
>>>>> "Jerzy" == Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> writes:

 > Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
 > ---
 >  package/imagemagick/imagemagick.mk |    4 ++--
 >  1 file changed, 2 insertions(+), 2 deletions(-)

 > diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
 > index 0af5f0e..c4f6277 100644
 > --- a/package/imagemagick/imagemagick.mk
 > +++ b/package/imagemagick/imagemagick.mk
 > @@ -4,8 +4,8 @@
 >  #
 >  ################################################################################
 
 > -IMAGEMAGICK_MAJOR = 6.8.7
 > -IMAGEMAGICK_VERSION = $(IMAGEMAGICK_MAJOR)-9
 > +IMAGEMAGICK_VERSION_MAJOR = 6.8.7
 > +IMAGEMAGICK_VERSION = $(IMAGEMAGICK_VERSION_MAJOR)-9

The MAJOR variable is only used in the _VERSION specifier, so I simply
got rid of it instead.

Patch

diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index 0af5f0e..c4f6277 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -4,8 +4,8 @@ 
 #
 ################################################################################
 
-IMAGEMAGICK_MAJOR = 6.8.7
-IMAGEMAGICK_VERSION = $(IMAGEMAGICK_MAJOR)-9
+IMAGEMAGICK_VERSION_MAJOR = 6.8.7
+IMAGEMAGICK_VERSION = $(IMAGEMAGICK_VERSION_MAJOR)-9
 IMAGEMAGICK_SOURCE = ImageMagick-$(IMAGEMAGICK_VERSION).tar.xz
 # The official ImageMagick site only keeps the latest versions
 # available, which is annoying. Use an alternate site that keeps all