summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
Diffstat (limited to 'print')
-rw-r--r--print/gnome-cups-manager/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/print/gnome-cups-manager/Makefile b/print/gnome-cups-manager/Makefile
index 34051d9cc9ef..4ec64eb30808 100644
--- a/print/gnome-cups-manager/Makefile
+++ b/print/gnome-cups-manager/Makefile
@@ -30,6 +30,9 @@ post-patch:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
< ${FILESDIR}/gnome-cups-manager.desktop \
> ${WRKSRC}/gnome-cups-manager.desktop
+ @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
+ "s|-D.*_DISABLE_DEPRECATED||g"
+
post-install:
${INSTALL_DATA} ${WRKSRC}/gnome-cups-manager.desktop \
${PREFIX}/share/gnome/applications