summaryrefslogtreecommitdiff
path: root/app-shells/squirrelsh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-shells/squirrelsh
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-shells/squirrelsh')
-rw-r--r--app-shells/squirrelsh/Manifest9
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch217
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch12
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-no-docs.patch25
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-no-strip.patch19
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch21
-rw-r--r--app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch140
-rw-r--r--app-shells/squirrelsh/metadata.xml11
-rw-r--r--app-shells/squirrelsh/squirrelsh-1.2.7.ebuild47
9 files changed, 0 insertions, 501 deletions
diff --git a/app-shells/squirrelsh/Manifest b/app-shells/squirrelsh/Manifest
deleted file mode 100644
index 6824db201d24..000000000000
--- a/app-shells/squirrelsh/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX squirrelsh-1.2.7-gcc6.patch 7031 BLAKE2B ea33b4989e47eaa8970b3c89a22448f093278d790c424256d2f836d6b5e057c41045785ae0c07be7c09c5869597c879b94fb6a9684ea2efef66dec5b2033828d SHA512 45dd46d6526d09416af23ba4668f374b5c1f48c1f71aebc361b385a298d1cf0c27b53657dc892dd6c2cfa542df5fc92cc978a3daa94b7b947bc24b958f7cb1ee
-AUX squirrelsh-fix-in_LDFLAGS.patch 511 BLAKE2B f32272660d29a84b2e8b75d024ff533ce8121f66963e3f25291daed5dc144ddef1c0877d59b50e85a52b41c0a2a030ecd16dbb6d0fb94b07261192124598e546 SHA512 d7bc6f7f21a20e1123c986ece16098b7eec1887e6990a80a23367e2449df2ae913e02a137b2c7cefe6567a500d8fdd427f5c2bc1dc2ae845088d96ceb7c357e3
-AUX squirrelsh-no-docs.patch 885 BLAKE2B 0ceee5b6ce996caf1debec106327a9a59569446a5f271ec23f446ecf7eadf169a134bacb5160d5ed95fb874a36cd20daafb34e8cd3559d5d0fcd7bc6dc9f4f8c SHA512 3882fd15ba594a93ea46c3656a0efa8424099fee11e480cc7f89f70027f04ec56b7107b33cf51bbaaf188e54023c500e81c3ec7eb8e545ece270022684af8907
-AUX squirrelsh-no-strip.patch 903 BLAKE2B cefa3bb32d03e26f9aba808fcdfd9d8c7a7d2c03bec27cc2c31410c15e7d3649483f8266a77823835ed613f9b4e271951c478e93a6637f65cadb25d826086f11 SHA512 1d45054e11aef3f42dbf061b342adb942c0e370fac1b5eece0561a02a2f8799c158f221450bf82a4ead772cbc73a207dea9517af945840e975c65f30bdd1f6e1
-AUX squirrelsh-remove-forced-abi.patch 653 BLAKE2B 92710dce7c0375d8a2a5a9cde5300f9d7630a9296e82a2c7b15311f1298615e85a974af9fa77def60ef2a0e966e00decc5e4ac236f6c1e4257f1e4241277c85f SHA512 6e2b43c7ecff32fda8e2655722f97f48a0a92f6fe5e1e3aeb28bc3b5459fccefa3aa4c04aca016001661af229c59982caf7b09209d7004c2dd397493c873cd50
-AUX squirrelsh-rename-LDFLAGS.patch 4981 BLAKE2B 405bf56a8dec4ac1c0e62d3cbdc4c3b6fbcd38b443304607b42f85132e22ebb79211939fa651271db56702b7de5b0f46515f38ea57ed43b048fad14aeee6bb6b SHA512 eb8058878bd23332dd58970caac5121838bd52b7a63249013b305b09a95a1ca5914a526e4d0d052772f32086d1e2237feae56bfc4549987e71a6db60ffff6cd3
-DIST squirrelsh-1.2.7-src.tar.bz2 673462 BLAKE2B a2e6a1e0c3e3c5eeb329ec33596514e09657439723d34069b66b744f525318d237d15e951bf4c8fe364d50091cd8dcb2d25cae837ebdfd5a219c0bab20d1adce SHA512 7db82cad969ba209cae6b2d1c4cf76ba10acbf79c051f4340556ae81dc98d36dfb6f1f6993e9198e5a5254eaaab3fbaca3d01fc547c2f303572060b2093af78a
-EBUILD squirrelsh-1.2.7.ebuild 1236 BLAKE2B 50b41fd9d2258fe2672e337fece7f91ace21268f9bc6e153103a921ca1f37e286f192d5937aeadadc01e959a2db7de265774d43bbf2805acef6eb81ca808968f SHA512 9896f2d4d7c3c0a3af6e65c86173a242064e96612dcd67b615ef5d60af5fe6b519ceedf0ee6fd509aa6b2a95245df12e7b907616541713731bbd4b2bc5d62e6f
-MISC metadata.xml 332 BLAKE2B 6464cdd0e8725292d93f94ecb29a117c1f8e142d12cc1b12c41b2b3677dd1a124fad1131f5827b26af08b67179df50f515bfc4f18ccb9aac15dfe3f801d7ba06 SHA512 31dc8fbee7db81a55b9a4256dfa391404218cc076c63b72e7a980649207cc2d2716b5652f90c639270b8f1ce634724dfd3103bb7a08698b6c089f2d98100fcdb
diff --git a/app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch b/app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch
deleted file mode 100644
index ea60d29dc3cb..000000000000
--- a/app-shells/squirrelsh/files/squirrelsh-1.2.7-gcc6.patch
+++ /dev/null
@@ -1,217 +0,0 @@
-diff --git a/shell/base.cpp b/shell/base.cpp
-index 3a89b6d..33803c3 100644
---- a/shell/base.cpp
-+++ b/shell/base.cpp
-@@ -1,5 +1,5 @@
- // Squirrel Shell
--// Copyright (c) 2006-2010, Constantin Makshin
-+// Copyright (c) 2006-2017, Constantin Makshin
- //
- // This program is free software; you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
-@@ -15,6 +15,7 @@
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- #include "common.h"
-+#include <algorithm>
- #include <string.h>
- #include <string>
-
-@@ -36,14 +37,6 @@ typedef HANDLE SysHandle;
- typedef int SysHandle;
- #endif
-
--#if !defined(min)
--# define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
--#if !defined(max)
--# define max(a, b) ((a) > (b) ? (a) : (b))
--#endif
--
- // Maximum number of command line arguments passed to the child process
- #define MAX_ARGS 130
- // Maximum number of environment variables passed to the child process
-@@ -177,7 +170,7 @@ static bool ReadFromPipe (SysHandle pipe, void* buffer, size_t numBytesToRead, s
-
- if (!numBytesToRead ||
- !PeekNamedPipe(pipe, NULL, 0, NULL, &numBytesAvailable, NULL) || !numBytesAvailable ||
-- !ReadFile(pipe, buffer, min(numBytesToRead, numBytesAvailable), &nbr, NULL) || !nbr)
-+ !ReadFile(pipe, buffer, std::min(numBytesToRead, numBytesAvailable), &nbr, NULL) || !nbr)
- {
- return false;
- }
-@@ -188,7 +181,7 @@ static bool ReadFromPipe (SysHandle pipe, void* buffer, size_t numBytesToRead, s
- #else
- int nbr = read(pipe, buffer, numBytesToRead);
- if (numBytesRead)
-- *numBytesRead = max(nbr, 0);
-+ *numBytesRead = std::max(nbr, 0);
-
- return nbr > 0;
- #endif
-@@ -210,7 +203,7 @@ static bool WriteToPipe (SysHandle pipe, const void* buffer, size_t numBytesToWr
- #else
- int nbw = write(pipe, buffer, numBytesToWrite);
- if (numBytesWritten)
-- *numBytesWritten = max(nbw, 0);
-+ *numBytesWritten = std::max(nbw, 0);
-
- return nbw > 0;
- #endif
-@@ -786,7 +779,7 @@ static SQInteger Run (HSQUIRRELVM)
- // Pass data to/from child process' streams
- std::basic_string<SQChar> output,
- error;
-- int nfds = max(newInput[1], max(newOutput[0], newError[0])) + 1;
-+ int nfds = std::max(newInput[1], std::max(newOutput[0], newError[0])) + 1;
- for (;;)
- {
- // Check if there's any data available for reading/writing
-diff --git a/shell/common.h b/shell/common.h
-index 7cb4d47..461410d 100644
---- a/shell/common.h
-+++ b/shell/common.h
-@@ -1,5 +1,5 @@
- // Squirrel Shell
--// Copyright (c) 2006-2010, Constantin Makshin
-+// Copyright (c) 2006-2017, Constantin Makshin
- //
- // This program is free software; you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
-@@ -47,6 +47,7 @@
- # define WIN32_LEAN_AND_MEAN
- # define WIN64_LEAN_AND_MEAN
- # define STRICT
-+# define NOMINMAX
- # include <windows.h>
- #else
- # include <unistd.h>
-@@ -88,14 +89,6 @@
- # define MAX_PATH 260
- #endif
-
--#if !defined(min)
--# define min(a, b) ((a) < (b) ? (a) : (b))
--#endif
--
--#if !defined(max)
--# define max(a, b) ((a) > (b) ? (a) : (b))
--#endif
--
- #define SQUIRREL_VERSION_SHORT "3.0.3"
-
- extern HSQUIRRELVM sqvm; // We aren't going to create more than one VM, so it's acceptable to make this global
-diff --git a/shell/hash_adler32.cpp b/shell/hash_adler32.cpp
-index c42f440..b250875 100644
---- a/shell/hash_adler32.cpp
-+++ b/shell/hash_adler32.cpp
-@@ -8,6 +8,7 @@
- */
-
- #include "hash.h"
-+#include <algorithm>
-
- #define BASE 65521ul
- #define NMAX 5552
-@@ -87,7 +88,7 @@ void Hash_Adler32 (FILE* file, unsigned char* block, unsigned char* hash, SQInte
- unsigned adler = 1;
- do
- {
-- size_t r = fread(block, 1, min(left, BLOCK_SIZE), file);
-+ size_t r = fread(block, 1, size_t(std::min<SQInteger>(left, BLOCK_SIZE)), file);
- adler = adler32(adler, block, r);
- left -= SQInteger(r);
- } while (left);
-diff --git a/shell/hash_crc32.cpp b/shell/hash_crc32.cpp
-index d18a3aa..9bcb233 100644
---- a/shell/hash_crc32.cpp
-+++ b/shell/hash_crc32.cpp
-@@ -8,6 +8,7 @@
- */
-
- #include "hash.h"
-+#include <algorithm>
-
- static unsigned crc_table[256];
-
-@@ -63,7 +64,7 @@ void Hash_CRC32 (FILE* file, unsigned char* block, unsigned char* hash, SQIntege
- unsigned crc = 0;
- do
- {
-- size_t r = fread(block, 1, min(left, BLOCK_SIZE), file);
-+ size_t r = fread(block, 1, size_t(std::min<SQInteger>(left, BLOCK_SIZE)), file);
- crc = crc32(crc, block, r);
- left -= SQInteger(r);
- } while (left);
-diff --git a/shell/hash_md5.cpp b/shell/hash_md5.cpp
-index b1a3c2a..a82d4c5 100644
---- a/shell/hash_md5.cpp
-+++ b/shell/hash_md5.cpp
-@@ -20,6 +20,7 @@
- */
-
- #include "hash.h"
-+#include <algorithm>
-
- struct MD5Context
- {
-@@ -201,7 +202,7 @@ void Hash_MD5 (FILE* file, unsigned char* block, unsigned char* hash, SQInteger
- MD5Init(&ctx);
- do
- {
-- size_t r = fread(block, 1, min(left, BLOCK_SIZE), file);
-+ size_t r = fread(block, 1, size_t(std::min<SQInteger>(left, BLOCK_SIZE)), file);
- MD5Update(&ctx, block, r);
- left -= SQInteger(r);
- } while (left);
-diff --git a/shell/util.cpp b/shell/util.cpp
-index 48983f6..6d0d199 100644
---- a/shell/util.cpp
-+++ b/shell/util.cpp
-@@ -1,5 +1,5 @@
- // Squirrel Shell
--// Copyright (c) 2006-2009, Constantin Makshin
-+// Copyright (c) 2006-2017, Constantin Makshin
- //
- // This program is free software; you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
-@@ -15,6 +15,7 @@
- // along with this program. If not, see <http://www.gnu.org/licenses/>.
-
- #include "common.h"
-+#include <algorithm>
- #include <string.h>
- #include <ctype.h>
-
-@@ -123,8 +124,12 @@ SQInteger TimeToInt (unsigned year, unsigned month, unsigned day, unsigned hour,
- --day;
-
- DateAndTime result;
-- result.dt.time = (min(hour, 23) * 3600) + (min(minute, 59) * 60) + min(second, 59);
-- result.dt.date = (min(year, NUM_YEARS) * 372) + (min(month, 11) * 31) + min(day, NumberOfDays(month, year) - 1);
-+ result.dt.time = (std::min<SQInteger>(hour, 23) * 3600)
-+ + (std::min<SQInteger>(minute, 59) * 60)
-+ + std::min<SQInteger>(second, 59);
-+ result.dt.date = (std::min<SQInteger>(year, NUM_YEARS) * 372)
-+ + (std::min<SQInteger>(month, 11) * 31)
-+ + std::min<SQInteger>(day, NumberOfDays(month, year) - 1);
- return result.value;
- }
-
-@@ -798,8 +803,13 @@ static SQInteger MkTime (HSQUIRRELVM)
- sq_getinteger(sqvm, 5, &hour);
- sq_getinteger(sqvm, 6, &minute);
- sq_getinteger(sqvm, 7, &second);
-- sq_pushinteger(sqvm, TimeToInt(unsigned(max(year, MIN_YEAR)), unsigned(max(month, 1)), unsigned(max(day, 1)),
-- unsigned(max(hour, 0)), unsigned(max(minute, 0)), unsigned(max(second, 0))));
-+ sq_pushinteger(sqvm,
-+ TimeToInt(unsigned(std::max<SQInteger>(year, MIN_YEAR)),
-+ unsigned(std::max<SQInteger>(month, 1)),
-+ unsigned(std::max<SQInteger>(day, 1)),
-+ unsigned(std::max<SQInteger>(hour, 0)),
-+ unsigned(std::max<SQInteger>(minute, 0)),
-+ unsigned(std::max<SQInteger>(second, 0))));
- return 1;
- }
-
diff --git a/app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch b/app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch
deleted file mode 100644
index 71319c0cc7f4..000000000000
--- a/app-shells/squirrelsh/files/squirrelsh-fix-in_LDFLAGS.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
---- squirrelsh-1.2.6.orig//configure 2012-03-12 21:45:25.000000000 -0400
-+++ squirrelsh-1.2.6/configure 2012-03-12 21:50:36.000000000 -0400
-@@ -1138,7 +1138,7 @@
- in_INSTALL_EXE="$installer -c -m 0755 \"\$(target)\" \"$bindir/\$(target_name)\""
-
- if [ "$with_pcre" = "local" ] || [ "$with_squirrel" = "local" ]; then
-- in_LDFLAGS="-L\"$source_dir/lib\""
-+ in_LDFLAGS="$in_LDFLAGS -L\"$source_dir/lib\""
- fi
-
- if [ -n "$pkgconfig" ]; then
diff --git a/app-shells/squirrelsh/files/squirrelsh-no-docs.patch b/app-shells/squirrelsh/files/squirrelsh-no-docs.patch
deleted file mode 100644
index 2ed4d0160bf4..000000000000
--- a/app-shells/squirrelsh/files/squirrelsh-no-docs.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -Naur squirrelsh-1.2.6.orig//Makefile.in squirrelsh-1.2.6/Makefile.in
---- squirrelsh-1.2.6.orig//Makefile.in 2011-12-16 13:25:08.000000000 -0500
-+++ squirrelsh-1.2.6/Makefile.in 2012-03-12 21:58:50.000000000 -0400
-@@ -19,14 +19,6 @@
- @MAKE_PCRE@
- @MAKE_SQUIRREL@
- @MAKE_SHELL@
-- @INSTALL@ -d -m 0755 "@DOCDIR@"
-- @INSTALL@ -c -m 0644 COPYING "@DOCDIR@"
-- @INSTALL@ -c -m 0644 COPYING-squirrel "@DOCDIR@"
-- @INSTALL@ -c -m 0644 COPYING-zlib "@DOCDIR@"
-- @INSTALL@ -c -m 0644 HISTORY "@DOCDIR@"
-- @INSTALL@ -c -m 0644 README "@DOCDIR@"
-- @INSTALL@ -c -m 0644 doc/squirrel3.pdf "@DOCDIR@"
-- @INSTALL@ -c -m 0644 doc/squirrelsh.pdf "@DOCDIR@"
- @INSTALL@ -d -m 0755 "@MANDIR@"
- @INSTALL@ -c -m 0644 doc/squirrelsh.1 "@MANDIR@"
- @INSTALL_MIME@
-@@ -35,6 +27,5 @@
- @MAKE_PCRE@
- @MAKE_SQUIRREL@
- @MAKE_SHELL@
-- @RMDIR@ "@DOCDIR@"
- @RM@ "@MANDIR@/squirrelsh.1"
- @UNINSTALL_MIME@
diff --git a/app-shells/squirrelsh/files/squirrelsh-no-strip.patch b/app-shells/squirrelsh/files/squirrelsh-no-strip.patch
deleted file mode 100644
index cf0286c5c562..000000000000
--- a/app-shells/squirrelsh/files/squirrelsh-no-strip.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
---- squirrelsh-1.2.6.orig//configure 2012-03-12 20:19:01.000000000 -0400
-+++ squirrelsh-1.2.6/configure 2012-03-12 20:32:25.000000000 -0400
-@@ -1163,7 +1163,6 @@
- [ -z "$CFLAGS" ] && in_CFLAGS="$in_CFLAGS -fomit-frame-pointer"
- [ -z "$CXXFLAGS" ] && in_CXXFLAGS="$in_CXXFLAGS -fomit-frame-pointer"
- in_DEFINES="-DNDEBUG"
-- [ -z "$LDFLAGS" ] && in_LDFLAGS="$in_LDFLAGS -s"
- fi
-
- if [ "$with_pcre" = "local" ] && [ "$with_libraries" = "static" ]; then
-@@ -1233,7 +1232,6 @@
- in_CXXFLAGS_LIB="$in_CXXFLAGS -fPIC"
- in_MAKE_LIB="$linker -shared $in_LDFLAGS -o \"\$(target)\" \$(objects)"
- in_INSTALL_LIB="$installer -c -m 0755 \"\$(target)\" \"$libdir\""
-- [ "$with_strip" ] && in_INSTALL_LIB="$in_INSTALL_LIB \\&\\& strip --strip-unneeded \"$libdir/\$(target_name)\""
- in_UNINSTALL_LIB="rm -f \"$libdir/\$(target_name)\""
- fi
-
diff --git a/app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch b/app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch
deleted file mode 100644
index d9a5f0b34fe1..000000000000
--- a/app-shells/squirrelsh/files/squirrelsh-remove-forced-abi.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
---- squirrelsh-1.2.6.orig//configure 2012-03-12 22:02:40.000000000 -0400
-+++ squirrelsh-1.2.6/configure 2012-03-12 22:05:42.000000000 -0400
-@@ -1172,15 +1172,10 @@
- # ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS (machine-dependent)
- case "$target" in
- x86)
-- in_CFLAGS="-m32 $in_CFLAGS"
-- in_CXXFLAGS="-m32 $in_CXXFLAGS"
-- in_LDFLAGS="-m32 $in_LDFLAGS";;
-+ :;;
-
- x86_64)
-- in_CFLAGS="-m64 $in_CFLAGS"
-- in_CXXFLAGS="-m64 $in_CXXFLAGS"
-- in_DEFINES="$in_DEFINES -D_SQ64"
-- in_LDFLAGS="-m64 $in_LDFLAGS";;
-+ in_DEFINES="$in_DEFINES -D_SQ64";;
-
- ia64)
- in_DEFINES="$in_DEFINES -D_SQ64";;
diff --git a/app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch b/app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch
deleted file mode 100644
index 0c36d7548623..000000000000
--- a/app-shells/squirrelsh/files/squirrelsh-rename-LDFLAGS.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-diff -Naur squirrelsh-1.2.6.orig//configure squirrelsh-1.2.6/configure
---- squirrelsh-1.2.6.orig//configure 2010-11-09 13:16:43.000000000 -0500
-+++ squirrelsh-1.2.6/configure 2012-03-12 20:19:01.000000000 -0400
-@@ -55,8 +55,8 @@
- with_ranlib="yes" # yes, no
- linker="$cpp_compiler"
-
--if [ -n "$LFLAGS" ]; then
-- linker_flags="$LFLAGS"
-+if [ -n "$LDFLAGS" ]; then
-+ linker_flags="$LDFLAGS"
- else
- linker_flags="-Wl,-O1 -Wl,--as-needed"
- fi
-@@ -136,7 +136,7 @@
- CFLAGS C compiler options
- CXX C++ compiler
- CXXFLAGS C++ compiler options
-- LFLAGS Linker options
-+ LDFLAGS Linker options
- __SHEOF__
- closescript
- }
-@@ -275,7 +275,7 @@
- return 1
- }
-
--# getoutput CPPFLAGS LFLAGS
-+# getoutput CPPFLAGS LDFLAGS
- # Compile C++ code and run the compiled program
- getoutput ()
- {
-@@ -824,7 +824,7 @@
- checkforlinkeroption || msg_fail
-
- # Check for optional linker options
--if [ -z "$LFLAGS" ]; then
-+if [ -z "$LDFLAGS" ]; then
- checkforlinkeroption "-pipe" || msg_result "no"
- checkforlinkeroption "-flto" y || msg_result "no"
- fi
-@@ -1131,27 +1131,27 @@
- #------ CREATE MAKEFILES --------------------------------------------------------------------------
-
- # Define variables for substitution
--# ... CFLAGS, CXXFLAGS, DEFINES, LFLAGS, INSTALL_EXE (machine-independent)
-+# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS, INSTALL_EXE (machine-independent)
- in_CFLAGS="-c $c_compiler_flags"
- in_CXXFLAGS="-c $cpp_compiler_flags"
--in_LFLAGS="$linker_flags"
-+in_LDFLAGS="$linker_flags"
- in_INSTALL_EXE="$installer -c -m 0755 \"\$(target)\" \"$bindir/\$(target_name)\""
-
- if [ "$with_pcre" = "local" ] || [ "$with_squirrel" = "local" ]; then
-- in_LFLAGS="-L\"$source_dir/lib\""
-+ in_LDFLAGS="-L\"$source_dir/lib\""
- fi
-
- if [ -n "$pkgconfig" ]; then
- if [ "$with_pcre" = "system" ]; then
- in_CFLAGS="$in_CFLAGS `$pkgconfig --cflags-only-other libpcre`"
- in_CXXFLAGS="$in_CXXFLAGS `$pkgconfig --cflags-only-other libpcre`"
-- in_LFLAGS="$in_LFLAGS `$pkgconfig --libs-only-other --libs-only-L libpcre`"
-+ in_LDFLAGS="$in_LDFLAGS `$pkgconfig --libs-only-other --libs-only-L libpcre`"
- fi
-
- if [ "$with_squirrel" = "system" ]; then
- in_CFLAGS="$in_CFLAGS `$pkgconfig --cflags-only-other libsquirrel`"
- in_CXXFLAGS="$in_CXXFLAGS `$pkgconfig --cflags-only-other libsquirrel`"
-- in_LFLAGS="$in_LFLAGS `$pkgconfig --libs-only-other --libs-only-L libsquirrel`"
-+ in_LDFLAGS="$in_LDFLAGS `$pkgconfig --libs-only-other --libs-only-L libsquirrel`"
- fi
- fi
-
-@@ -1163,25 +1163,25 @@
- [ -z "$CFLAGS" ] && in_CFLAGS="$in_CFLAGS -fomit-frame-pointer"
- [ -z "$CXXFLAGS" ] && in_CXXFLAGS="$in_CXXFLAGS -fomit-frame-pointer"
- in_DEFINES="-DNDEBUG"
-- [ -z "$LFLAGS" ] && in_LFLAGS="$in_LFLAGS -s"
-+ [ -z "$LDFLAGS" ] && in_LDFLAGS="$in_LDFLAGS -s"
- fi
-
- if [ "$with_pcre" = "local" ] && [ "$with_libraries" = "static" ]; then
- in_DEFINES="$in_DEFINES -DPCRE_STATIC"
- fi
-
--# ... CFLAGS, CXXFLAGS, DEFINES, LFLAGS (machine-dependent)
-+# ... CFLAGS, CXXFLAGS, DEFINES, LDFLAGS (machine-dependent)
- case "$target" in
- x86)
- in_CFLAGS="-m32 $in_CFLAGS"
- in_CXXFLAGS="-m32 $in_CXXFLAGS"
-- in_LFLAGS="-m32 $in_LFLAGS";;
-+ in_LDFLAGS="-m32 $in_LDFLAGS";;
-
- x86_64)
- in_CFLAGS="-m64 $in_CFLAGS"
- in_CXXFLAGS="-m64 $in_CXXFLAGS"
- in_DEFINES="$in_DEFINES -D_SQ64"
-- in_LFLAGS="-m64 $in_LFLAGS";;
-+ in_LDFLAGS="-m64 $in_LDFLAGS";;
-
- ia64)
- in_DEFINES="$in_DEFINES -D_SQ64";;
-@@ -1223,7 +1223,7 @@
-
- # Work around Apple's linker behavior ("-L../lib" linker option seems to be ignored)
- if [ "$platform" = "macosx" ]; then
-- #in_LFLAGS="$in_LFLAGS -search_paths_first"
-+ #in_LDFLAGS="$in_LDFLAGS -search_paths_first"
- [ "$with_pcre" = "local" ] && in_LIBS=`echo "$in_LIBS" | $sed -e "s@-lpcre@../lib/libpcre$lib_suffix@"`
- [ "$with_squirrel" = "local" ] && in_LIBS=`echo "$in_LIBS" | $sed -e "s@-lsquirrel@../lib/libsquirrel$lib_suffix@"`
- fi
-@@ -1231,7 +1231,7 @@
- in_LIB_EXT="$dll_suffix"
- in_CFLAGS_LIB="$in_CFLAGS -fPIC"
- in_CXXFLAGS_LIB="$in_CXXFLAGS -fPIC"
-- in_MAKE_LIB="$linker -shared $in_LFLAGS -o \"\$(target)\" \$(objects)"
-+ in_MAKE_LIB="$linker -shared $in_LDFLAGS -o \"\$(target)\" \$(objects)"
- in_INSTALL_LIB="$installer -c -m 0755 \"\$(target)\" \"$libdir\""
- [ "$with_strip" ] && in_INSTALL_LIB="$in_INSTALL_LIB \\&\\& strip --strip-unneeded \"$libdir/\$(target_name)\""
- in_UNINSTALL_LIB="rm -f \"$libdir/\$(target_name)\""
-@@ -1274,7 +1274,7 @@
- s#@LINK@#$linker#
- s#@EXE_EXT@#$exe_suffix#
- s#@LIB_EXT@#$in_LIB_EXT#
--s#@MAKE_EXE@#$linker $in_LFLAGS -o "\$(target)" \$(objects) $in_LIBS#
-+s#@MAKE_EXE@#$linker $in_LDFLAGS -o "\$(target)" \$(objects) $in_LIBS#
- s#@MAKE_LIB@#$in_MAKE_LIB#
- s#@MAKE_PCRE@#$in_MAKE_PCRE#
- s#@MAKE_SHELL@#@cd shell \&\& \$(MAKE) \$@#
-@@ -1285,7 +1285,7 @@
- s#@CXXFLAGS_EXE@#$in_CXXFLAGS_EXE#
- s#@CFLAGS_LIB@#$in_CFLAGS_LIB#
- s#@CXXFLAGS_LIB@#$in_CXXFLAGS_LIB#
--s#@LFLAGS@#$in_LFLAGS#
-+s#@LDFLAGS@#$in_LDFLAGS#
- s#@DEFINES@#$in_DEFINES#
- s#@INCLUDES@#$in_INCLUDES#
- s#@LIBS@#$in_LIBS#
diff --git a/app-shells/squirrelsh/metadata.xml b/app-shells/squirrelsh/metadata.xml
deleted file mode 100644
index 0fe0aa7bcf32..000000000000
--- a/app-shells/squirrelsh/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>blueness@gentoo.org</email>
- <name>Anthony G. Basile</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">squirrelsh</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild b/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild
deleted file mode 100644
index 9e5aaceff7b0..000000000000
--- a/app-shells/squirrelsh/squirrelsh-1.2.7.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Cross-platform object-oriented scripting shell using the squirrel language"
-HOMEPAGE="http://squirrelsh.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="doc"
-
-RDEPEND="dev-libs/libpcre"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-rename-LDFLAGS.patch
- epatch "${FILESDIR}"/${PN}-no-strip.patch
- epatch "${FILESDIR}"/${PN}-fix-in_LDFLAGS.patch
- epatch "${FILESDIR}"/${PN}-remove-forced-abi.patch
- epatch "${FILESDIR}"/${PN}-no-docs.patch
- epatch "${FILESDIR}"/${P}-gcc6.patch
-}
-
-src_configure() {
- #This package uses a custom written configure script
- ./configure --prefix="${D}"/usr \
- --with-cc="$(tc-getCC)" \
- --with-cpp="$(tc-getCXX)" \
- --with-linker="$(tc-getCXX)" \
- --libdir=/usr/"$(get_libdir)" \
- --with-pcre="system" \
- --with-squirrel="local" \
- --with-mime=no || die "configure failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- doman doc/${PN}.1
- dodoc HISTORY INSTALL README
- use doc && dodoc doc/*.pdf
-}