Revert "dev-lang/squirrel: declare used CMake variables, bug #659880"
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 4 Jul 2018 21:10:12 +0000 (22:10 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 4 Jul 2018 21:12:45 +0000 (22:12 +0100)
This reverts commit ccc69bc760de2a0cba00f6123349dc4f380b4abb.
Eike noticed i've messed up STATIC_LIBS variable handling
and static libs are not installed at all.

Bug: https://bugs.gentoo.org/659880

dev-lang/squirrel/files/squirrel-3.1-declare-options.patch [deleted file]
dev-lang/squirrel/squirrel-3.1.ebuild

diff --git a/dev-lang/squirrel/files/squirrel-3.1-declare-options.patch b/dev-lang/squirrel/files/squirrel-3.1-declare-options.patch
deleted file mode 100644 (file)
index 11bdbf1..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-Explicitly declare used CMake options
-
-Bug: https://bugs.gentoo.org/659880
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -1 +1,4 @@
-+option(DISABLE_STATIC "Avoid building/installing static libraries.")
-+option(LONG_OUTPUT_NAMES "Use longer names for binaries and libraries: squirrel3 (not sq).")
-+
- if(MSVC)
index 761fd5c1da2599fe4dca231bc4afe5d8c8bde014..4a149398eb44c54b8efd3c6abbd990f9546610ec 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,10 +17,6 @@ IUSE="examples static-libs"
 RDEPEND=""
 DEPEND="${RDEPEND}"
 
-PATCHES=(
-       "${FILESDIR}"/${P}-declare-options.patch
-)
-
 src_configure() {
        local mycmakeargs=(
                -DINSTALL_LIB_DIR="$(get_libdir)" \