gnu: vsftpd: Properly enable the SSL support.
* gnu/packages/ftp.scm (vsftpd)[arguments]: Remove (questionable?) "-lcrypt" from LDFLAGS. #define VSF_BUILD_SSL in a new 'build-SSL phase instead.
This commit is contained in:
parent
26f31c7c9a
commit
e6fd51a36e
1 changed files with 8 additions and 1 deletions
|
@ -272,11 +272,18 @@ directory comparison and more.")
|
|||
(arguments
|
||||
`(#:make-flags
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
"LDFLAGS=-lcap -lcrypt -lpam"
|
||||
;; vsf_findlibs.sh looks only for hard-coded {/usr,}/lib file names
|
||||
;; that will never exist on Guix. Manage libraries ourselves.
|
||||
"LDFLAGS=-lcap -lpam"
|
||||
"INSTALL=install -D")
|
||||
#:tests? #f ; no test suite
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'build-SSL
|
||||
(lambda _
|
||||
(substitute* "builddefs.h"
|
||||
(("#undef (VSF_BUILD_SSL)" _ symbol)
|
||||
(string-append "#define " symbol)))))
|
||||
(add-after 'unpack 'append-make-flags
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
|
|
Reference in a new issue