From owner-freebsd-ports@FreeBSD.ORG Fri Feb 9 15:01:45 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AA31716A400 for ; Fri, 9 Feb 2007 15:01:45 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 44B7413C4AC for ; Fri, 9 Feb 2007 15:01:45 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1121262nfc for ; Fri, 09 Feb 2007 07:01:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GLnvs1nMc+NKQAIDcjl5Y0q9DZx/6vhDzmYKmPrikaTdipoSVAqZQR8Vq8/2xSt2Re+q6KJlNhnbaGISE0ASqhZe1zJJU0dm5u4w7LeZYWouq4E8U7C84RRu/hwnMgvXJojg3mYt26fDnAQ2jJ7qhEo6PNfSheFGf3hyWa0jkSQ= Received: by 10.82.175.2 with SMTP id x2mr4634563bue.1171033303579; Fri, 09 Feb 2007 07:01:43 -0800 (PST) Received: by 10.82.186.2 with HTTP; Fri, 9 Feb 2007 07:01:43 -0800 (PST) Message-ID: <790a9fff0702090701kcadd613p49ca77875e9e449a@mail.gmail.com> Date: Fri, 9 Feb 2007 09:01:43 -0600 From: "Scot Hetzel" To: molnarcs@gmail.com In-Reply-To: <200702091451.56124.molnarcs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200702091451.56124.molnarcs@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: learning about building ports - please help X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 15:01:45 -0000 On 2/9/07, Csaba Molnar wrote: > While building this port, it errored out at an early stage with this message: > libtool: link: cannot find the library `' gmake[2]: *** [kcm_beryl.la] Error 1 > > Google turned up this solution: > http://people.fruitsalad.org/lauri/krazykiwi/index.php?/archives/175-Libtool-nutso-insanity.html > > After editing libtool in work/aquamarine, it turned out that the problem lies > with libkdefx.la. As suggested in the above blog post, I removed -pthread > from the dependency_libs line of libkdefx.la (after making a backup of this > > Final question - I noticed these lines in the emerald Makefile: > > CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} > CONFIGURE_ARGS+= --mandir="${PREFIX}/man" > CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ > LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}" > > Do I need those? Can you refer me to further readings to help me understand > the meaning of these lines (and whether I need similar lines or > not). --mandir I understand (aquamarine doesn't have any manpages, so I'm > usre I don't need that) - but the rest I don't. > The CONFIGURE_ENV sets the CPPFLAGS and the LDFLAGS that are passed to the configure script. The variable PTHREAD_LIBS has a value of -pthread, which should solve your problem with libkdefx.la. Scot -- DISCLAIMER: No electrons were mamed while sending this message. Only slightly bruised.