Hi Guy,

Your package is almost working, the important thing was to specified
"ncurses" as an input like you did.

> on debian it works because -lcurses is a symlink to -lncurses(if i am
> not wrong) 

Yes, I guess they are doing some kind of symlinking. To make it work,
you can replace -lcurses by -lncurses, this way:

--8<---------------cut here---------------start------------->8---
#:phases
      (modify-phases %standard-phases
        (delete 'configure)
        (add-before 'build 'curses
           (lambda _
             (substitute* "src/makefile"
               (("lcurses") "lncurses"))
             #t)))
--8<---------------cut here---------------end--------------->8---

You also have a small mistake here

>           #:make-flags (list (string-append "prefix=" (assoc-ref
                                                 ^
prefix should be upper case.

Then, you should be able to build your package ;)

Mathieu

Reply via email to