* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/enigma/files/
@ 2021-04-11 16:06 David Seifert
0 siblings, 0 replies; only message in thread
From: David Seifert @ 2021-04-11 16:06 UTC (permalink / raw
To: gentoo-commits
commit: f4aa1de2de9c5ff78c144d2b71b12156d4419a43
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 11 16:06:42 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Apr 11 16:06:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4aa1de2
games-puzzle/enigma: Detect net-libs/enet correctly
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap <AT> gentoo.org>
games-puzzle/enigma/files/enigma-1.21-build.patch | 25 +++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/games-puzzle/enigma/files/enigma-1.21-build.patch b/games-puzzle/enigma/files/enigma-1.21-build.patch
index 1e9e44f9b95..421ac8b7ae7 100644
--- a/games-puzzle/enigma/files/enigma-1.21-build.patch
+++ b/games-puzzle/enigma/files/enigma-1.21-build.patch
@@ -16,6 +16,31 @@
AC_MSG_RESULT(no)
fi
+@@ -421,14 +421,17 @@
+ dnl ----------------------------------------------------------
+
+ AC_MSG_CHECKING(whether to use system enet)
+-AC_ARG_WITH(system-enet,
+- AS_HELP_STRING(--with-system-enet, Use system enet), system_enet=$withval,
+- system_enet=no
+-)
++AC_ARG_WITH([system-enet], [
++ AS_HELP_STRING([--with-system-enet], [Use system enet])], [
++ system_enet=$withval], [
++ system_enet=no])
++AC_MSG_RESULT([${system_enet}])
++
+ AM_CONDITIONAL([SYSTEM_ENET], [test "x$system_enet" = xyes])
+-AM_COND_IF([SYSTEM_ENET],
+- PKG_CHECK_MODULES(LIBENET, [libenet], ,AC_MSG_ERROR([libenet not found!])),
+- AC_CONFIG_SUBDIRS([lib-src/enet]))
++AM_COND_IF([SYSTEM_ENET], [
++ PKG_CHECK_MODULES([LIBENET], [libenet])], [
++ AC_CONFIG_SUBDIRS([lib-src/enet])
++])
+
+
+
--- a/etc/enigma.desktop
+++ b/etc/enigma.desktop
@@ -1,5 +1,5 @@
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-11 16:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-11 16:06 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/enigma/files/ David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox