From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7AA401381F3 for ; Tue, 24 Sep 2013 19:16:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6800AE0AA4; Tue, 24 Sep 2013 19:16:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07B01E0AA4 for ; Tue, 24 Sep 2013 19:16:36 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1A2D233EDC9 for ; Tue, 24 Sep 2013 19:16:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C0C4BE468F for ; Tue, 24 Sep 2013 19:16:34 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1380050098.ca2a05c38884eaa7e4dba08dcd40730b784bbce3.grknight.pub@gentoo> Subject: [gentoo-commits] proj/mysql:master commit in: eclass/ X-VCS-Repository: proj/mysql X-VCS-Files: eclass/mysql-cmake.eclass X-VCS-Directories: eclass/ X-VCS-Committer: grknight.pub X-VCS-Committer-Name: Brian Evans X-VCS-Revision: ca2a05c38884eaa7e4dba08dcd40730b784bbce3 X-VCS-Branch: master Date: Tue, 24 Sep 2013 19:16:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa8ab679-9e42-4058-8c48-16a0ac293289 X-Archives-Hash: b5a65a3da4b90ab53177528faae7fd7f commit: ca2a05c38884eaa7e4dba08dcd40730b784bbce3 Author: Brian Evans lavabit com> AuthorDate: Tue Sep 24 19:14:58 2013 +0000 Commit: Brian Evans lavabit com> CommitDate: Tue Sep 24 19:14:58 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=commit;h=ca2a05c3 [eclass] Fix missing WITH_PIC which was in autotools but not cmake when USE=static --- eclass/mysql-cmake.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/mysql-cmake.eclass b/eclass/mysql-cmake.eclass index 147d8e5..04f83ec 100644 --- a/eclass/mysql-cmake.eclass +++ b/eclass/mysql-cmake.eclass @@ -162,6 +162,10 @@ configure_cmake_standard() { $(cmake-utils_use_enable systemtap DTRACE) ) + if use static; then + mycmakeargs+=( -DWITH_PIC=1 ) + fi + if use ssl; then mycmakeargs+=( -DWITH_SSL=system ) else