From owner-cvs-ports Tue Apr 28 16:32:04 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07877 for cvs-ports-outgoing; Tue, 28 Apr 1998 16:32:04 -0700 (PDT) (envelope-from owner-cvs-ports) Received: from vader.cs.berkeley.edu (vader.CS.Berkeley.EDU [128.32.38.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07796; Tue, 28 Apr 1998 16:31:48 -0700 (PDT) (envelope-from asami@vader.cs.berkeley.edu) Received: from silvia.HIP.Berkeley.EDU (ala-ca36-42.ix.netcom.com [207.93.42.234]) by vader.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id QAA26315; Tue, 28 Apr 1998 16:31:37 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.8/8.6.9) id QAA08446; Tue, 28 Apr 1998 16:31:33 -0700 (PDT) Date: Tue, 28 Apr 1998 16:31:33 -0700 (PDT) Message-Id: <199804282331.QAA08446@silvia.HIP.Berkeley.EDU> To: chuckr@glue.umd.edu CC: chuckr@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-ports@FreeBSD.ORG In-reply-to: (message from Chuck Robey on Tue, 28 Apr 1998 15:59:45 -0400 (EDT)) Subject: Re: cvs commit: ports/math/gnuplot Makefile ports/math/gnuplot/files md5 ports/math/gnuplot/patches patch-ad patch-aa patch-ab From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-cvs-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * odd ... I *did* find a problem which I'll fix quickly, the funny thing * is it's not the problem you found! I see a missing "=" in the * BUILD_DEPENDS line ... That would usually be an instant syntax error, but since the line reads: === BUILD_DEPENDS $(PREFIX)/lib/libgd.a:${PORTSDIR}/graphics/gd === it actually defines a dependency (note the `:'). Nasty. ;) * but for shared libs, that -L isn't needed ... and I don't think that's the case. The runtime linker (ld.so) looks at the shared library cache but ld definitely needs -L for non-standard libraries. * I should have seen the build for png in your listing. The png * dependency worked. I know you keep careful control of your environment, * but it *seems* like something is missing there. I checked the png * install, and it *does* do the ldconfig, and it works here. If I stick * in the missing "=" in the makefile, it all works here. I think that was the case, as it works now here. Do you want to remove gd, take out the = and see if it still works? Since === CONFIGURE_ARGS= --exec-prefix=${PREFIX} \ --includedir=${PREFIX}/include --libdir=${PREFIX}/lib \ --with-x --without-linux-vga \ --with-gd=$(PREFIX)/lib \ --with-gnu-readline --with-lasergnu --with-png === includes some references to gd, I can only assume that the missing gd confused configure. I tried it with and without gd (both without the "="), and it only worked when gd was actually installed. Satoshi