summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/cinnamon/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11/cinnamon/Makefile b/x11/cinnamon/Makefile
index c72b0d8df92d..be28d8253a2e 100644
--- a/x11/cinnamon/Makefile
+++ b/x11/cinnamon/Makefile
@@ -70,6 +70,8 @@ post-patch:
@${MV} ${WRKSRC}/files/usr/${d} ${WRKSRC}/files${PREFIX}
.endfor
+ @${REINPLACE_CMD} -e 's|--warn-error||g' ${WRKSRC}/src/Makefile.in
+
@${REINPLACE_CMD} -e 's|/usr/share/cinnamon|${STAGEDIR}${PREFIX}/share/|g ;\
s|/usr/lib|${STAGEDIR}${PREFIX}/share/|g' \
${WRKSRC}/files/generate_desktop_files