mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: bennu-game-development: Build against openssl on all archictures.
* gnu/packages/game-development.scm (bennu-game-development)[arguments]: Rename custom phase to 'patch-configure-to-use-openssl, change glob pattern to match all cases. Return #t from all phases.
This commit is contained in:
parent
edf1ce60f7
commit
f0e4cfcb0b
1 changed files with 4 additions and 3 deletions
|
@ -1353,20 +1353,21 @@ (define-public bennu-game-development
|
|||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-configure-for-x86-64
|
||||
(add-after 'unpack 'patch-configure-to-use-openssl
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(chdir "core")
|
||||
(delete-file "configure")
|
||||
(substitute* "configure.in"
|
||||
(("i\\*86\\)")
|
||||
"x86_64)
|
||||
"*)
|
||||
COMMON_CFLAGS=\"$COMMON_CFLAGS -DUSE_OPENSSL\"
|
||||
COMMON_LDFLAGS=\"$COMMON_LDFLAGS\"
|
||||
LIBSSL=\"crypto\"
|
||||
USE_OPENSSL=yes
|
||||
;;
|
||||
|
||||
i*86)")))))))
|
||||
i*86)"))
|
||||
#t)))))
|
||||
(inputs `(("openssl" ,openssl)
|
||||
("zlib" ,zlib)))
|
||||
(native-inputs `(("pkg-config" ,pkg-config)
|
||||
|
|
Loading…
Reference in a new issue