From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: about -lcurses Date: Fri, 09 Nov 2018 20:55:19 -0500 Message-ID: <87a7mh3ddk.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLIV4-0008EK-Le for help-guix@gnu.org; Fri, 09 Nov 2018 20:55:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLIV0-0006cC-63 for help-guix@gnu.org; Fri, 09 Nov 2018 20:55:50 -0500 Received: from mail-it1-x135.google.com ([2607:f8b0:4864:20::135]:37333) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLIUu-0005Fv-HD for help-guix@gnu.org; Fri, 09 Nov 2018 20:55:42 -0500 Received: by mail-it1-x135.google.com with SMTP id j79-v6so6167004itb.2 for ; Fri, 09 Nov 2018 17:55:22 -0800 (PST) In-Reply-To: (guy fleury's message of "Fri, 09 Nov 2018 21:46:25 +0200") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: guy fleury Cc: help-guix Hello, guy fleury writes: > hi all, > > i try to package a editor "nice editor": > i got this error: > > ld: cannot find -lcurses > > on debian it works because -lcurses is a symlink to -lncurses(if i am > not wrong) > > is there a solution without make a patch to the makifile? If -lncurses would be enough, then I believe the simplest solution would be to add a build phase and use a substitute* call to patch the Makefile. You'll find plenty of examples of similar things in the packages sources. HTH! Maxim