From owner-freebsd-ports@FreeBSD.ORG Fri May 7 14:07:00 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B919716A4CE; Fri, 7 May 2004 14:07:00 -0700 (PDT) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5513643D1F; Fri, 7 May 2004 14:06:54 -0700 (PDT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id i47LC3v0006944; Fri, 7 May 2004 18:12:03 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost.iib.unsam.edu.ar [127.0.0.1]) by pi.iib.unsam.edu.ar (8.12.9p2/8.12.9) with ESMTP id i47Kta2h055720; Fri, 7 May 2004 17:55:36 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.12.9p2/8.12.9/Submit) id i47KtW9f055719; Fri, 7 May 2004 17:55:32 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Fri, 7 May 2004 17:55:32 -0300 From: Fernan Aguero To: FreeBSD Ports Message-ID: <20040507205532.GA6448@iib.unsam.edu.ar> Mail-Followup-To: FreeBSD Ports , ade@freebsd.org, daniel@roe.ch Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4.1i cc: ade@FreeBSD.ORG cc: daniel@roe.ch Subject: gnuplot update: almost ready but ... how to deal with autotools? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2004 21:07:00 -0000 Hi! I have an almost ready update to get gnuplot to the latest 4.0 version. For me, this all started because I needed some functionality that could only be obtained with a couple of patches. So I decided to include the patches in the port, if the user decides that he wants this functionality (by setting an appropriate WITH_HISTOGRAMS variable). The problem, as explained in a previous post is that after applying these patches I need to run autoconf. http://lists.freebsd.org/pipermail/freebsd-ports/2004-April/011943.html http://lists.freebsd.org/pipermail/freebsd-ports/2004-May/012010.html One of the responses to my post suggested creating symlinks of the kind autoconf -> autoconf259, automake -> automake18, and so on ... This helped me solve the problem. My port now builds fine, but this is clearly not the way that a decent port should behave, isn't it? :) Right now, the port is marked as BROKEN if WITH_HISTOGRAMS is set. But for testing you can comment this line of the Makefile. I am now using: WANT_AUTOCONF_VER= 253 WANT_AUTOMAKE_VER= 17 in my port, and this actually works (I have both 253 and 17 installed), even though the symlinks are actually autoconf->autoconf259 and automake->automake18. I have tried to set WANT_AUTOCONF_VER to 259 but it seems thæt this version has not been included into bsd.autotools.mk yet. My question: should I submit a PR with the port in its current state? (if nobody sets WITH_HISTOGRAM, the port is OK; and as I explained above, WITH_HISTOGRAM is new functionality that was not in the previous gnuplot, so there is really nothing lost). My request: I really need someone to show me how to work with autoconf from within the ports system. For some reason just setting WANT_AUTO*_VER was not enough and I had to create the symlinks for the port to build. Is this something that is being worked on? Perhaps I should wait for some large structural things to happen with autotools and try to fix this again in some near future? Thanks in advance for shedding any light on this. Fernan PS1: a gzipped tar archive of the updated port can be found in http://genoma.unsam.edu.ar/~fernan/freebsd/gnuplot.html PS2: I already contacted the maintainer on April 22nd but I got no reply yet. -- F e r n a n A g u e r o http://genoma.unsam.edu.ar/~fernan