Date: Fri, 16 Dec 2011 01:49:39 +1000 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/163316: [patch] graphics/lensfun: respect STRIP Message-ID: <1RbDfB-000PIw-FM@internal.tormail.net> Resent-Message-ID: <201112151600.pBFG0G9C013953@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RbDfB-000PIw-FM>