aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2011-12-16 22:39:15 +0800
committerdanfe <danfe@FreeBSD.org>2011-12-16 22:39:15 +0800
commitb354bcedc7476a93211a1d70cef0ec8e43d0a6fe (patch)
treeed36633fd7ece01ba4fca76375ffb131ae6a7adc /graphics
parent14043bc922d38ca46e58d59ebf986672ce5af3bc (diff)
downloadfreebsd-ports-gnome-b354bcedc7476a93211a1d70cef0ec8e43d0a6fe.tar.gz
freebsd-ports-gnome-b354bcedc7476a93211a1d70cef0ec8e43d0a6fe.tar.zst
freebsd-ports-gnome-b354bcedc7476a93211a1d70cef0ec8e43d0a6fe.zip
Respect ${STRIP} to make debugging easier.
Suggested by: Jan Beich
Diffstat (limited to 'graphics')
-rw-r--r--graphics/lensfun/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile
index faf3ada4bcfd..989eabe4133e 100644
--- a/graphics/lensfun/Makefile
+++ b/graphics/lensfun/Makefile
@@ -39,7 +39,8 @@ 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 -O3/d' -e '/LDFLAGS\.r/s|-s|${STRIP}|' \
+ ${WRKSRC}/build/tibs/compiler/gcc.mak
${REINPLACE_CMD} -e '/GROUPS/s| DOCS||' ${WRKSRC}/build/tibs/rules.mak
post-install: