From owner-freebsd-ports@FreeBSD.ORG Thu Aug 7 13:04:37 2003 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 9535D37B404 for ; Thu, 7 Aug 2003 13:04:37 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFBFE43F93 for ; Thu, 7 Aug 2003 13:04:35 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 29994 invoked from network); 7 Aug 2003 20:04:34 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 7 Aug 2003 20:04:34 -0000 Message-ID: <3F32B0D2.80002@liwing.de> Date: Thu, 07 Aug 2003 22:04:34 +0200 From: Jens Rehsack Organization: LiWing IT-Services User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: ports Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: FreeBSD PortManager Subject: m4-macros for different versions in /usr/local/share/aclocal? 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: Thu, 07 Aug 2003 20:04:37 -0000 Hi, I'm creating a port which requires aclocal to be run before automake. I run in a few problems with it and further research let me know, that all ports which comes with some macros for aclocal put them into /usr/local/share/aclocal. I run into a problem with aclocal17 and missing macros for gettext and libtool and conflicting macro definitions in libtool13.m4 and libtool14.m4. I think, their must be a better solution as the existing. One step could be, putting the aclocal self related macros into a directory which is ever named as the aclocal /usr/local/share/aclocal{14,15,17}/ version and put port additions ever to /usr/local/share/aclocal/. Or the ports put their additions to /usr/local/share/aclocal/${port}/ and eg. USE_LIBTOOL extends ACLOCAL_SEARCH_DIR to according directory. ACLOCAL_ARGS will be extended by the resulting search path, each dir prepended by the '-I' parameter (using REINPLACE). The consequence would be, that each of those ports must have a USE_${PORT} equivalent und bsd.port.mk (or included .mk of it, eg. bsd.gnome.mk). What does the rest of FreeBSD ports people think about that? Best regards, Jens