svn commit: r563479 - head/x11-themes/adapta-gtk-theme
Hiroki Tagato
tagattie at FreeBSD.org
Sun Jan 31 07:47:09 UTC 2021
Author: tagattie
Date: Sun Jan 31 07:47:08 2021
New Revision: 563479
URL: https://svnweb.freebsd.org/changeset/ports/563479
Log:
- Unbreak build with recent versions of inkscape
- Add NO_ARCH
PR: 252763
Submitted by: tagattie (myself)
Approved by: nivit (maintainer timeout, 2 weeks)
Modified:
head/x11-themes/adapta-gtk-theme/Makefile
Modified: head/x11-themes/adapta-gtk-theme/Makefile
==============================================================================
--- head/x11-themes/adapta-gtk-theme/Makefile Sun Jan 31 07:43:50 2021 (r563478)
+++ head/x11-themes/adapta-gtk-theme/Makefile Sun Jan 31 07:47:08 2021 (r563479)
@@ -14,8 +14,6 @@ LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_CC-BY-SA-4.0= ${WRKSRC}/LICENSE_CC_BY_SA4
-BROKEN= fails to build
-
BUILD_DEPENDS= gsed:textproc/gsed \
inkscape:graphics/inkscape \
bash:shells/bash \
@@ -48,6 +46,8 @@ MATE_DESC= Support for Mate Desktop Environment
MATE_IMPLIES= METACITY
METACITY_DESC= Support for metacity Window Manager
+NO_ARCH= yes
+
OPENBOX_CONFIGURE_ENABLE= openbox
OPENBOX_DESC= Support for Openbox Desktop Environment
OPTIONS_DEFAULT= CHROME CINNAMON GNOMESHELL MATE METACITY OPENBOX PARALLEL XFCE
@@ -66,10 +66,14 @@ USE_GNOME= gdkpixbuf2 glib20 librsvg2 libxml2
XFCE_CONFIGURE_ENABLE= xfce
XFCE_DESC= Support for XFce Desktop Environment
-# use textproc/gsed
post-patch:
+# use textproc/gsed
@(cd ${WRKSRC} && \
${FIND} . -type f -iregex '${SHEBANG_REGEX}' \
-exec ${SED} -i '' -e 's,sed -i,${LOCALBASE}/bin/g&,g' {} ";")
+# replace deprecated inkscape flags
+ @(cd ${WRKSRC} && \
+ ${FIND} . -type f -iregex '${SHEBANG_REGEX}' \
+ -exec ${SED} -i '' -e 's|--export-png=|--export-filename=|g' {} ";")
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list