From owner-cvs-all@FreeBSD.ORG Mon Nov 7 09:59:58 2011 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C8FD106564A; Mon, 7 Nov 2011 09:59:58 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8BD708FC13; Mon, 7 Nov 2011 09:59:57 +0000 (UTC) Received: by iabz21 with SMTP id z21so8391376iab.13 for ; Mon, 07 Nov 2011 01:59:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2qHsls4Fd/eIaM/+dUmvEM7gBT1KLX0+FJVTBciOunU=; b=bipWwg4tkXO0CUbKh4nAmnF5vG57WN88CooU9lHWW/w89jPzCMJVT+nsjsvhwYo2w5 1xXJkwaTlciEu1lB3PhuDpRm3i0zCnDT9oMl23c6zZEkdrlCBPP8RFUK54QJqLCj1qLa bPPOMBrxK30t70bQdw8E6BESuSie5o2QvCwi0= MIME-Version: 1.0 Received: by 10.231.82.11 with SMTP id z11mr10408101ibk.77.1320659996903; Mon, 07 Nov 2011 01:59:56 -0800 (PST) Received: by 10.231.11.140 with HTTP; Mon, 7 Nov 2011 01:59:56 -0800 (PST) Received: by 10.231.11.140 with HTTP; Mon, 7 Nov 2011 01:59:56 -0800 (PST) In-Reply-To: <1RN0I0-000OIF-Uu@internal.tormail.net> References: <201111042001.pA4K1GF5086173@repoman.freebsd.org> <1RN0I0-000OIF-Uu@internal.tormail.net> Date: Mon, 7 Nov 2011 09:59:56 +0000 Message-ID: From: Chris Rees To: Jan Beich Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: cvs-ports@freebsd.org, Renato Botelho , cvs-all@freebsd.org, ports-committers@freebsd.org Subject: Re: cvs commit: ports/lang/lua Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Nov 2011 09:59:58 -0000 On 7 Nov 2011 07:46, "Jan Beich" wrote: > > Renato Botelho writes: > > > FreeBSD ports repository > > > > Modified files: > > lang/lua Makefile > > Log: > > - Remove gmake as a dependency, it's not necessary > > This breaks empty CFLAGS from make.conf. Try > > $ echo CFLAGS= >>/etc/make.conf > $ make > cc -Wall -DLUA_USE_LINUX -c lapi.c > [...] > cc -o liblua.so -Wall -DLUA_USE_LINUX -shared -Wl,-soname=liblua-5.1.so.1 lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o > /usr/bin/ld: lapi.o: relocation R_X86_64_32S against `luaO_nilobject_' can not be used when making a shared object; recompile with -fPIC > lapi.o: could not read symbols: Bad value > *** Error code 1 > > Here is a workaround that prevents multipass reading of make.conf. > ref. http://docs.freebsd.org/cgi/mid.cgi?864odkh7vz.fsf > commit log for lang/lua/Makefile@r1.43 > > Index: lang/lua/Makefile > =================================================================== > RCS file: /a/.csup/ports/lang/lua/Makefile,v > retrieving revision 1.46 > diff -u -p -r1.46 Makefile > --- lang/lua/Makefile 4 Nov 2011 20:01:16 -0000 1.46 > +++ lang/lua/Makefile 6 Nov 2011 10:27:23 -0000 > @@ -26,7 +26,7 @@ ALL_TARGET= freebsd > USE_GNOME= pkgconfig > USE_LDCONFIG= yes > MAKE_JOBS_SAFE= yes > -MAKE_ENV= LUA_SONAME="liblua-${LUA_VER}.so.${LUA_VER_SH}" > +MAKE_ENV= __MAKE_CONF= LUA_SONAME="liblua-${LUA_VER}.so.${LUA_VER_SH}" > > MAN1= lua-${LUA_VER}.1 luac-${LUA_VER}.1 > DOCSDIR= ${PREFIX}/share/doc/${LUA_SUBDIR} CFLAGS should not be set in make.conf. Chris