diff --git a/sys-libs/readline/patches/readline-6.3.patch b/sys-libs/readline/patches/readline-7.0.patch similarity index 100% rename from sys-libs/readline/patches/readline-6.3.patch rename to sys-libs/readline/patches/readline-7.0.patch diff --git a/sys-libs/readline/readline-6.3.recipe b/sys-libs/readline/readline-7.0.recipe similarity index 77% rename from sys-libs/readline/readline-6.3.recipe rename to sys-libs/readline/readline-7.0.recipe index 2568160ce..338bca067 100644 --- a/sys-libs/readline/readline-6.3.recipe +++ b/sys-libs/readline/readline-7.0.recipe @@ -10,20 +10,20 @@ The history facilites are also placed into a separate library, the History \ library, as part of the build process. The History library may be used without \ Readline in applications which desire its capabilities." HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" -COPYRIGHT="1989-2011 Free Software Foundation, Inc." +COPYRIGHT="1989-2016 Free Software Foundation, Inc." LICENSE="GNU GPL v3" -REVISION="2" -SOURCE_URI="ftp://ftp.gnu.org/gnu/readline/readline-6.3.tar.gz" +REVISION="1" +SOURCE_URI="ftp://ftp.gnu.org/gnu/readline/readline-$portVersion.tar.gz" CHECKSUM_SHA256="56ba6071b9462f980c5a72ab0023893b65ba6debb4eeb475d7a563dc65cafd43" -PATCHES="readline-6.3.patch" +PATCHES="readline-$portVersion.patch" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" - readline$secondaryArchSuffix = $portVersion compat >= 6 - lib:libhistory$secondaryArchSuffix = $portVersion compat >= 6 - lib:libreadline$secondaryArchSuffix = $portVersion compat >= 6 + readline$secondaryArchSuffix = $portVersion compat >= 7 + lib:libhistory$secondaryArchSuffix = $portVersion compat >= 7 + lib:libreadline$secondaryArchSuffix = $portVersion compat >= 7 " REQUIRES=" haiku$secondaryArchSuffix @@ -32,8 +32,8 @@ REQUIRES=" PROVIDES_devel=" readline${secondaryArchSuffix}_devel = $portVersion - devel:libhistory$secondaryArchSuffix = $portVersion compat >= 6 - devel:libreadline$secondaryArchSuffix = $portVersion compat >= 6 + devel:libhistory$secondaryArchSuffix = $portVersion compat >= 7 + devel:libreadline$secondaryArchSuffix = $portVersion compat >= 7 " REQUIRES_devel=" readline$secondaryArchSuffix == $portVersion base @@ -52,6 +52,10 @@ BUILD_PREREQUIRES=" cmd:make " +defineDebugInfoPackage readline \ + $libDir/libhistory.so.7.0 \ + $libDir/libreadline.so.7.0 + BUILD() { libtoolize --force --copy --install