@@ -781,17 +781,17 @@ dictionaries. HexChat can be extended with multiple addons.")
(inputs `(("zlib" ,zlib)
("libwrap" ,tcp-wrappers)
("gnutls" ,gnutls)
- ,@(if (string-suffix? "-linux"
- (or (%current-target-system)
- (%current-system)))
+ ,@(if (string-contains (or (%current-target-system)
+ (%current-system))
+ "-linux")
`(("linux-pam" ,linux-pam))
'())))
(arguments
`(#:configure-flags
'("--with-gnutls" "--with-iconv" "--enable-ipv6" "--with-tcp-wrappers"
- ,@(if (string-suffix? "-linux"
- (or (%current-target-system)
- (%current-system)))
+ ,@(if (string-contains (or (%current-target-system)
+ (%current-system))
+ "-linux")
'("--with-pam")
'()))
#:phases
@@ -154,8 +154,8 @@ time-stamping or reference clock, sub-microsecond accuracy is possible.")
("libevent" ,libevent)
;; Build with POSIX capabilities support on GNU/Linux. This allows 'ntpd'
;; to run as non-root (when invoked with '-u'.)
- ,@(if (string-suffix? "-linux"
- (or (%current-target-system) (%current-system)))
+ ,@(if (string-contains (or (%current-target-system) (%current-system))
+ "-linux")
`(("libcap" ,libcap))
'())))
(arguments