aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimageview/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimageview/Makefile')
-rw-r--r--graphics/gimageview/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/gimageview/Makefile b/graphics/gimageview/Makefile
index fa8096df838c..1fdb4376a1c5 100644
--- a/graphics/gimageview/Makefile
+++ b/graphics/gimageview/Makefile
@@ -59,6 +59,7 @@ LIBXINE_LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine
post-patch:
@${REINPLACE_CMD} '/^desktopdir =/s|=.*|= ${DESKTOPDIR}|' \
${WRKSRC}/etc/Makefile.in
+ @${REINPLACE_CMD} '/^gimv_LDADD =/s/=/= -lm/' ${WRKSRC}/src/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-e 's|= $$(DESTDIR)|= |' -e '/^CPPFLAGS =/s/\\/@CPPFLAGS@ \\/'