From owner-freebsd-ports@FreeBSD.ORG Wed Jan 23 12:19:01 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 C1E114DE for ; Wed, 23 Jan 2013 12:19:01 +0000 (UTC) (envelope-from mattblists@icritical.com) Received: from mail2.icritical.com (mail2.icritical.com [212.57.248.50]) by mx1.freebsd.org (Postfix) with SMTP id 1CBD1DDA for ; Wed, 23 Jan 2013 12:19:00 +0000 (UTC) Received: (qmail 32347 invoked from network); 23 Jan 2013 12:12:14 -0000 Received: from localhost (127.0.0.1) by mail2.icritical.com with SMTP; 23 Jan 2013 12:12:14 -0000 Received: (qmail 32331 invoked by uid 599); 23 Jan 2013 12:12:13 -0000 Received: from unknown (HELO PDC002.icritical.int) (212.57.254.146) by mail2.icritical.com (qpsmtpd/0.28) with ESMTP; Wed, 23 Jan 2013 12:12:13 +0000 Message-ID: <50FFD390.7040906@icritical.com> Date: Wed, 23 Jan 2013 12:12:00 +0000 From: Matt Burke User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130122 Thunderbird/17.0.2 MIME-Version: 1.0 To: Subject: devel/lua-sysctl broken with clang (patch) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-TLS-Incoming: YES X-Virus-Scanned: by iCritical at mail2.icritical.com Cc: garga@FreeBSD.org 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: Wed, 23 Jan 2013 12:19:01 -0000 ===> Building for lua-sysctl-0.2 install -m 755 -d sysctl cc -shared -soname lua_sysctl -O2 -pipe -fno-omit-frame-pointer -fno-strict-aliasing -fno-omit-frame-pointer -Wall -Wextra -fPIC `pkg-config --cflags lua-5.1` -o sysctl/core.so src/lua_sysctl.c cc: error: no such file or directory: 'lua_sysctl' *** [sysctl/core.so] Error code 1 Stop in /usr/ports/devel/lua-sysctl/work/lua-syscl-0.2. *** [do-build] Error code 1 This fixes it: --- Makefile.orig 2013-01-23 12:05:52.459795869 +0000 +++ Makefile 2013-01-23 12:08:13.371029152 +0000 @@ -2,7 +2,7 @@ SODIR = sysctl SOLIB = ${SODIR}/core.so -LDFLAGS += -shared -soname ${SONAME} +LDFLAGS += -shared -Wl,-soname,${SONAME} CFLAGS += -Wall -Wextra -fPIC `pkg-config --cflags lua-5.1` all: ${SOLIB} -- Sorry for the following... The information contained in this message is confidential and intended for the addressee only. If you have received this message in error, or there are any problems with its content, please contact the sender. iCritical is a trading name of Critical Software Ltd. Registered in England: 04909220. Registered Office: IC2, Keele Science Park, Keele, Staffordshire, ST5 5NH. This message has been scanned for security threats by iCritical. www.icritical.com