From owner-cvs-all@FreeBSD.ORG Mon Nov 7 07:46:22 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 857961065673; Mon, 7 Nov 2011 07:46:22 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id 3B9628FC12; Mon, 7 Nov 2011 07:46:22 +0000 (UTC) Received: from exit2.ipredator.se ([93.182.132.103]:59926 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RN0Im-003m0O-9c; Sun, 06 Nov 2011 05:50:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.net; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:Subject:Cc:To:From; bh=jzNFpC1pQ6mHD6MhNjYkRhud2Jrh78OTbRYibk0Lqgw=; b=FOBU6IxKv5Bml3fm7Y89a+9//jNvO5l+AY136GfutAsUuo/aRfEW1694eEm1lFiCSBQyfU2iN9EuxJ22Ac3c1dbwhv2bFdVv9J9O4401vwGek/fXjCGXUxOEXA2O2tsOup2BLIKFEb96Cr1EdHS3laUMKTHDuW9G5Gwe+nOrJm0=; Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RN0I0-000OIF-Uu; Sun, 06 Nov 2011 10:49:30 +0000 From: Jan Beich To: Renato Botelho Date: Sun, 06 Nov 2011 10:42:46 +0000 References: <201111042001.pA4K1GF5086173@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1RN0I0-000OIF-Uu@internal.tormail.net> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server2.hudsonvalleyhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tormail.net X-Source: X-Source-Args: X-Source-Dir: Cc: cvs-ports@FreeBSD.org, 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 07:46:22 -0000 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}