Skip to content

Commit

Permalink
x11-themes/gnome-icon-theme-symbolic: fix build
Browse files Browse the repository at this point in the history
After the removal of gtk-update-icon-cache, this port wrongly was
calling it at build time.
Ensure it is not needed anymore.
While here:
  remove unneeded USE_GNOME=gnomeprefix and USES=gnome
  add license

Reported by:	antoine
  • Loading branch information
bapt committed Oct 11, 2021
1 parent 42eecec commit 7e81141
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions x11-themes/gnome-icon-theme-symbolic/Makefile
Expand Up @@ -10,18 +10,15 @@ DIST_SUBDIR= gnome3
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME Symbolic Icons

LICENSE= CC-BY-SA-3.0
LICENSE_FILES= ${WRKSRC}/COPYING

BUILD_DEPENDS= icon-naming-utils>=0.8.7:x11-themes/icon-naming-utils

USES= gmake gnome pathfix pkgconfig tar:xz
USE_GNOME= gnomeprefix
USES= gmake localbase pathfix pkgconfig tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_GIT="" \
ac_cv_path_INKSCAPE=""
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib

post-patch:
@${REINPLACE_CMD} -e 's|(GTK_UPDATE_ICON_CACHE) -q |(GTK_UPDATE_ICON_CACHE) -q -t -f |'g \
${WRKSRC}/Makefile.in
ac_cv_path_INKSCAPE="" \
ac_cv_path_GTK_UPDATE_ICON_CACHE=/usr/bin/true

.include <bsd.port.mk>

0 comments on commit 7e81141

Please sign in to comment.