From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 15 16:00:17 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB6E5106564A for ; Thu, 15 Dec 2011 16:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 752848FC17 for ; Thu, 15 Dec 2011 16:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBFG0GiR013954 for ; Thu, 15 Dec 2011 16:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBFG0G9C013953; Thu, 15 Dec 2011 16:00:16 GMT (envelope-from gnats) Resent-Date: Thu, 15 Dec 2011 16:00:16 GMT Resent-Message-Id: <201112151600.pBFG0G9C013953@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F2FFF106566B for ; Thu, 15 Dec 2011 15:57:12 +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 A77028FC17 for ; Thu, 15 Dec 2011 15:57:12 +0000 (UTC) Received: from [91.183.48.92] (port=58097 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RbDgE-002l34-1d for FreeBSD-gnats-submit@freebsd.org; Thu, 15 Dec 2011 10:57:11 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RbDfB-000PIw-FM for FreeBSD-gnats-submit@freebsd.org; Thu, 15 Dec 2011 15:56:08 +0000 Message-Id: <1RbDfB-000PIw-FM@internal.tormail.net> Date: Fri, 16 Dec 2011 01:49:39 +1000 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/163316: [patch] graphics/lensfun: respect STRIP X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 16:00:17 -0000 >Number: 163316 >Category: ports >Synopsis: [patch] graphics/lensfun: respect STRIP >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 15 16:00:15 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: $ make install WITH_DEBUG= $ file /usr/local/lib/liblensfun.so /usr/local/lib/liblensfun.so: ELF 64-bit LSB shared object, x86-64, version 1 (FreeBSD), dynamically linked, stripped >Fix: --- strip.diff begins here --- Index: graphics/lensfun/Makefile =================================================================== RCS file: /a/.csup/ports/graphics/lensfun/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- graphics/lensfun/Makefile 15 Dec 2011 11:45:10 -0000 1.8 +++ graphics/lensfun/Makefile 15 Dec 2011 15:45:57 -0000 @@ -30,6 +30,7 @@ HAS_CONFIGURE= yes CONFIGURE_ENV= LD="${CXX}" AR="${AR}" CONFIGURE_ARGS= --prefix=${PREFIX} --target=${TARGET} --vectorization=SSE MAKE_ARGS= V=1 # we want to know what's going on during the build +LDFLAGS+= ${STRIP} PLIST_SUB+= LIBVERSION=${LIBVERSION} @@ -39,7 +40,7 @@ post-patch: .SILENT ${REINPLACE_CMD} -e \ 's|CONF_LIBDIR)pkgconfig|CONF_LIBDIR)../libdata/pkgconfig|' \ ${WRKSRC}/build/tibs/compiler/pkgconfig.mak - ${REINPLACE_CMD} -e '/-s -O3/d' ${WRKSRC}/build/tibs/compiler/gcc.mak + ${REINPLACE_CMD} -e '/-s/d' ${WRKSRC}/build/tibs/compiler/gcc.mak ${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak post-install: --- strip.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: