From owner-freebsd-ports@FreeBSD.ORG Sun Jun 7 16:59:38 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5FE74CE for ; Sun, 7 Jun 2015 16:59:38 +0000 (UTC) (envelope-from pusateri@bangj.com) Received: from oj.bangj.com (amt0.gin.ntt.net [129.250.11.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE05819E0 for ; Sun, 7 Jun 2015 16:59:38 +0000 (UTC) (envelope-from pusateri@bangj.com) Received: from [172.16.21.112] (cpe-98-122-46-16.sc.res.rr.com [98.122.46.16]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oj.bangj.com (Postfix) with ESMTPSA id 3905011A85; Sun, 7 Jun 2015 12:55:16 -0400 (EDT) Subject: Re: Question and requirement Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Pgp-Agent: GPGMail 2.5b6 From: Tom Pusateri In-Reply-To: Date: Sun, 7 Jun 2015 12:59:31 -0400 Cc: ports@freebsd.org Message-Id: <13E9820C-7D4A-4BFD-B33C-83B9E0481E7E@bangj.com> References: To: Alberto Mijares X-Mailer: Apple Mail (2.2098) 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 16:59:38 -0000 --Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jun 6, 2015, at 11:26 PM, Alberto Mijares = wrote: >=20 > 3) When installing lua5.2, the pkg-config files refer to it as > "lua-5.2" instead of "lua5.2". Is there any specific reason for that? > configure script looks for lua5.2 and it fails. I thing everything > around is going to look for that name. Unless there's any reason to > keep it as it is, can you help me to change the name in *.pc files? >=20 > Alberto Mijares I used the configure m4 macros for Lua linked below and it is able to = find 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 --Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJVdHhzAAoJEPk0GMVmUuYMPFgH+wQJky/XFvY9D2tkwP/2GYzG zL7SxIkm9Ue11CENmRNkG6ElF7E4vs9rn1l1AWqNc35Nm2cGZzUzsF55PJWSQ4Rf r2erO1c8JCKjtJHBzKALGFJvjC6a628tTm0jA2HZxEuKh0dIqTZHCKZftqKiZ08V GOjLLioVJk7+LS/j3jsuK6IGYPIQripjBf4aTBQhIMfrP/aCNK6xlAZEHgMRZjEw X/uYNFwCYQ2FeNmeGPBKS3+3KcYFftKYfSRWZGMqXskcEoIjW2UnaokRdHvHZ2a6 ptrCbRN/tB70ell7o1pBM4DGIX1aHwEJw4nCJU17UkIcFh49ZbFAnCfyuQs1aDA= =Pe4h -----END PGP SIGNATURE----- --Apple-Mail=_EB914192-6CC2-4A94-BA8A-37FAC3F2BD29--