public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/freeglut/
Date: Thu, 25 Feb 2021 15:38:23 +0000 (UTC)	[thread overview]
Message-ID: <1614267485.0a518ca277805005ec066b8de589147cc0482b97.asturm@gentoo> (raw)

commit:     0a518ca277805005ec066b8de589147cc0482b97
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 25 10:05:49 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 25 15:38:05 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a518ca2

media-libs/freeglut: Switch to cmake.eclass, silence cmake warning

Add missing || die.

Closes: https://bugs.gentoo.org/721006
Closes: https://bugs.gentoo.org/770547
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/freeglut/freeglut-3.2.1.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/freeglut/freeglut-3.2.1.ebuild b/media-libs/freeglut/freeglut-3.2.1.ebuild
index 3ea22fc54f7..af9972f1c09 100644
--- a/media-libs/freeglut/freeglut-3.2.1.ebuild
+++ b/media-libs/freeglut/freeglut-3.2.1.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=7
 
+CMAKE_ECLASS=cmake
 inherit cmake-multilib
 
 DESCRIPTION="A free OpenGL utility toolkit, the open-sourced alternative to the GLUT library"
@@ -32,6 +33,7 @@ HTML_DOCS=( doc/. )
 
 src_configure() {
 	local mycmakeargs=(
+		"-DOpenGL_GL_PREFERENCE=GLVND" # bug 721006
 		"-DFREEGLUT_GLES=OFF"
 		"-DFREEGLUT_BUILD_DEMOS=OFF"
 		"-DFREEGLUT_BUILD_STATIC_LIBS=$(usex static-libs ON OFF)"
@@ -41,6 +43,6 @@ src_configure() {
 }
 
 multilib_src_install() {
-	cmake-utils_src_install
-	cp "${D}"/usr/$(get_libdir)/pkgconfig/{,free}glut.pc
+	cmake_src_install
+	cp "${D}"/usr/$(get_libdir)/pkgconfig/{,free}glut.pc || die
 }


             reply	other threads:[~2021-02-25 15:38 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 15:38 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-10  4:58 [gentoo-commits] repo/gentoo:master commit in: media-libs/freeglut/ Matt Turner
2024-12-18 23:17 Sam James
2024-12-18 23:17 Sam James
2024-12-18 23:17 Sam James
2024-12-18 23:17 Sam James
2024-12-18 23:17 Sam James
2024-12-18 22:38 Sam James
2024-09-03  1:57 Matt Turner
2024-07-14 17:43 Jakov Smolić
2024-07-14 15:39 Sam James
2024-07-14 15:39 Sam James
2024-07-14 15:39 Sam James
2024-07-14 15:39 Sam James
2024-07-14 15:39 Sam James
2024-07-14 15:39 Sam James
2024-06-13  1:48 Matt Turner
2023-06-15 21:45 Sam James
2022-10-08 14:32 Matt Turner
2022-07-28 14:09 Sam James
2022-07-28 14:09 Sam James
2022-05-14  3:42 WANG Xuerui
2022-05-08 23:01 Sam James
2022-02-11 21:57 Matt Turner
2021-10-31  0:19 Sam James
2021-05-03 22:35 Matt Turner
2021-03-08  7:28 Fabian Groffen
2021-03-01  0:07 Andreas Sturmlechner
2019-11-25  7:30 Sergei Trofimovich
2019-11-22 13:44 Matt Turner
2019-11-22  9:33 Mikle Kolyada
2019-11-20 11:48 Agostino Sarubbo
2019-11-20 11:35 Agostino Sarubbo
2019-11-20 11:21 Agostino Sarubbo
2019-11-18 22:08 Aaron Bauman
2019-11-18 14:29 Agostino Sarubbo
2019-09-17  1:48 Matt Turner
2019-05-14 17:53 Aaron Bauman
2018-08-18 17:03 Andreas Sturmlechner
2018-08-18 17:03 Andreas Sturmlechner
2018-06-22 10:15 Mikle Kolyada
2015-12-19 19:58 Markus Meier
2015-08-30  1:18 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1614267485.0a518ca277805005ec066b8de589147cc0482b97.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox