From owner-freebsd-ports@FreeBSD.ORG Sun Jun 7 17:23:17 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F724D8E for ; Sun, 7 Jun 2015 17:23:17 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-oi0-x235.google.com (mail-oi0-x235.google.com [IPv6:2607:f8b0:4003:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 163FD1089 for ; Sun, 7 Jun 2015 17:23:17 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: by oihb142 with SMTP id b142so80376977oih.3 for ; Sun, 07 Jun 2015 10:23:16 -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:content-transfer-encoding; bh=UpHIj8Sc/eK5mKMu2uujSkXX7ktJc6qAMjx5NMSESO8=; b=M9nu4sF8XJKve7sT7GgDyDdLeJaDZ+WVWMS9sEgY/Ggs+xEU1gTisHH1ISmfLQXc19 OulIMwtIboVX85RNa/IF8OG9+kc4qWRJlmOvt0Yg7En5Y21Nwobj6LfOhqAX8z5+KMGi /LLlZnpGaM+aXv2jcGmT7dG7j9X11hTE2P7Zn4AFxT9OipqmMbGIFBHFErCyXvLFLDCE DVBOIsyJPfCOdDA+Hs1PjtKzbhlEFG05kuegZCGGldwr+zN4yfvuufswDRQV0RTC4R6Q v1U2092onVNUE9KunAtE5w8AdKXsu/7TrXouO3KwoSNpPzhTIDwUn7qfL+7INaGAkkn4 IklQ== MIME-Version: 1.0 X-Received: by 10.60.59.68 with SMTP id x4mr11099276oeq.40.1433697796275; Sun, 07 Jun 2015 10:23:16 -0700 (PDT) Received: by 10.60.162.36 with HTTP; Sun, 7 Jun 2015 10:23:16 -0700 (PDT) In-Reply-To: <13E9820C-7D4A-4BFD-B33C-83B9E0481E7E@bangj.com> References: <13E9820C-7D4A-4BFD-B33C-83B9E0481E7E@bangj.com> Date: Sun, 7 Jun 2015 12:53:16 -0430 Message-ID: Subject: Re: Question and requirement From: Alberto Mijares To: Tom Pusateri Cc: ports@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jun 2015 17:23:17 -0000 On Sun, Jun 7, 2015 at 12:29 PM, Tom Pusateri wrote: > > > I used the configure m4 macros for Lua linked below and it is able to fin= d all variations of lua. > > http://www.gnu.org/software/autoconf-archive/ax_lua.html > > I put the ax_lua.m4 file in my m4 directory and then added the following = lines to my configure.ac > > AC_CONFIG_MACRO_DIR([m4]) > > > LUA_INCLUDE=3D"" > LUA_LIBS=3D"" > AX_PROG_LUA([],[], > [AX_LUA_HEADERS > AX_LUA_LIBS > if test x"$LUA_LIB" =3D x; then > AC_MSG_ERROR([Lua library not found.]) > fi],[AC_MSG_WARN([Lua interpreter not found.])]) > > CPPFLAGS=3D"$CPPFLAGS $LUA_INCLUDE" > LIBS=3D"$LIBS $LUA_LIB=E2=80=9D > > Hope this helps, > Tom > Thank you. I alredy made the suggestion to the developers. I hope they take it. Otherwise, I'll write a patch for configure script to be included in the port. Regards, Alberto Mijares