From ef2329e44e629c85ae68ecc3ab8f02a04f789ba1 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 14 Oct 2017 09:21:51 +0200 Subject: [PATCH] dos2unix: bump version (#1710) --- .../{dos2unix-7.3.5.recipe => dos2unix-7.4.0.recipe} | 9 ++++++--- .../{dos2unix-7.3.5.patchset => dos2unix-7.4.0.patchset} | 0 2 files changed, 6 insertions(+), 3 deletions(-) rename app-text/dos2unix/{dos2unix-7.3.5.recipe => dos2unix-7.4.0.recipe} (87%) rename app-text/dos2unix/patches/{dos2unix-7.3.5.patchset => dos2unix-7.4.0.patchset} (100%) diff --git a/app-text/dos2unix/dos2unix-7.3.5.recipe b/app-text/dos2unix/dos2unix-7.4.0.recipe similarity index 87% rename from app-text/dos2unix/dos2unix-7.3.5.recipe rename to app-text/dos2unix/dos2unix-7.4.0.recipe index 9724ba0c5..b5e89b6d1 100644 --- a/app-text/dos2unix/dos2unix-7.3.5.recipe +++ b/app-text/dos2unix/dos2unix-7.4.0.recipe @@ -10,10 +10,13 @@ COPYRIGHT="2009-2015 Erwin Waterlander LICENSE="BSD (2-clause)" REVISION="1" SOURCE_URI="http://downloads.sourceforge.net/project/dos2unix/dos2unix/$portVersion/dos2unix-$portVersion.tar.gz" -CHECKSUM_SHA256="a72caa2fb5cb739403315472fe522eda41aabab2a02ad6f5589639330af262e5" -PATCHES="dos2unix-$portVersion.patchset" +CHECKSUM_SHA256="bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a" -ARCHITECTURES="x86 x86_gcc2 x86_64" +if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then +PATCHES="dos2unix-$portVersion.patchset" +fi + +ARCHITECTURES="x86_gcc2 x86_64" PROVIDES=" dos2unix = $portVersion compat >= 7 diff --git a/app-text/dos2unix/patches/dos2unix-7.3.5.patchset b/app-text/dos2unix/patches/dos2unix-7.4.0.patchset similarity index 100% rename from app-text/dos2unix/patches/dos2unix-7.3.5.patchset rename to app-text/dos2unix/patches/dos2unix-7.4.0.patchset