diff options
author | David Seifert <soap@gentoo.org> | 2021-04-11 18:06:42 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-04-11 18:06:42 +0200 |
commit | f4aa1de2de9c5ff78c144d2b71b12156d4419a43 (patch) | |
tree | decd003454ab0d36c7db46f814c1dd220bf398e0 /games-puzzle/enigma/files | |
parent | net-dialup/ppp: Stabilize 2.4.9-r2 ppc, #782100 (diff) | |
download | gentoo-f4aa1de2de9c5ff78c144d2b71b12156d4419a43.tar.gz gentoo-f4aa1de2de9c5ff78c144d2b71b12156d4419a43.tar.bz2 gentoo-f4aa1de2de9c5ff78c144d2b71b12156d4419a43.zip |
games-puzzle/enigma: Detect net-libs/enet correctly
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-puzzle/enigma/files')
-rw-r--r-- | games-puzzle/enigma/files/enigma-1.21-build.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/games-puzzle/enigma/files/enigma-1.21-build.patch b/games-puzzle/enigma/files/enigma-1.21-build.patch index 1e9e44f9b95e..421ac8b7ae75 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 @@ |