From owner-freebsd-ports@FreeBSD.ORG Sat May 25 06:00:19 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0ABAB57F for ; Sat, 25 May 2013 06:00:19 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id D8A32FCA for ; Sat, 25 May 2013 06:00:18 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id 9so14471600iec.36 for ; Fri, 24 May 2013 23:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yuixA7gsT5wNJas7adUAFD8OQ13oPgEW93yJ/dFd6Wo=; b=qkHLC4knXiyWFdHVFcKIYEJx6ck9/2KHM6cae+91qjbvpqW4mUUu55jmBi5f8WLnIq QnhHOJAIiNbgdZC0VqiDvgXfT6WQXNaTOmD2gpk4cKE8+1/lfB/zRRGTyHQmzDZIjkEy 3xjLeN4ULwSt7E/LnEo8aIKob5TVI3Uryl+APENaTj1rrStAYj+4gS8bMFmx2oJmAgyc yK6D6oYyNElhTe7mgR5sOV3Epyb+jkamm91oLgUzUK4FwZhiWCMRxCTqn+muDEW1hFO8 GHP6u9WGKvXFwQsaub/77z0LZrm+C/l6vvaMDbr7BnK64nDVM3EKXl/P/RvhcsyNPN2e LIpw== MIME-Version: 1.0 X-Received: by 10.50.134.226 with SMTP id pn2mr1041105igb.95.1369461618656; Fri, 24 May 2013 23:00:18 -0700 (PDT) Received: by 10.50.74.193 with HTTP; Fri, 24 May 2013 23:00:18 -0700 (PDT) In-Reply-To: <1369421501.33742.104.camel@thor.walstatt.dyndns.org> References: <1369421501.33742.104.camel@thor.walstatt.dyndns.org> Date: Sat, 25 May 2013 01:00:18 -0500 Message-ID: Subject: Re: how to include m4 macros stored in m4 folder of port's sources? From: Scot Hetzel To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2013 06:00:19 -0000 On Fri, May 24, 2013 at 1:51 PM, O. Hartmann wrote: > The sources of of port provide their own m4 macros (i.e. AX_PTHREAD, > AX_BOOST) store in ax_boost.m4 in m4 of the toplevel dir of the sources. > > I have to issue USE_AUTOTOOLS= aclocal autoheader libtoolize libtool > autoconf automake to create the proper configure file. > > The configure file fails with an error of a missing macro, in particular > AX_BOOST([]) which is present in the m4 folder and as far as I know, it > should be addressed with libtool. > > I can not find any useful information within the porter's handbook about > this very common case of having pristine autotool environments and how > to handle them. > > My question in specific is: what is the tag/sequence in the toplevel > Makefile to endure that macros stored in the m4-folder of the sources > are loaded automatically? When issuing the > aclocal-autoheader-libtoolize-autoconf-automake chain in the source > folder, everything works fine except the fact that the FreeBSD specific > environment variables are not set. > > Please CC me, I do not subscribe this list. > > Regards and thanks in advance, > Oliver Have a look at Mk/bsd.autotools.mk for the variables that you can define: http://svnweb.freebsd.org/ports/head/Mk/bsd.autotools.mk -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.