svn commit: r547453 - head/deskutils/xfce4-generic-slider
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Sep 3 14:03:42 UTC 2020
Author: pkubaj
Date: Thu Sep 3 14:03:41 2020
New Revision: 547453
URL: https://svnweb.freebsd.org/changeset/ports/547453
Log:
deskutils/xfce4-generic-slider: fix build on GCC architectures
Use C11 compiler:
/usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:37: error: redefinition of typedef 'XfceKiosk'
/usr/local/include/xfce4/libxfce4util/xfce-kiosk.h:35: error: previous declaration of 'XfceKiosk' was here
MFH: 2020Q3 (fix build blanket)
Modified:
head/deskutils/xfce4-generic-slider/Makefile
Modified: head/deskutils/xfce4-generic-slider/Makefile
==============================================================================
--- head/deskutils/xfce4-generic-slider/Makefile Thu Sep 3 13:44:55 2020 (r547452)
+++ head/deskutils/xfce4-generic-slider/Makefile Thu Sep 3 14:03:41 2020 (r547453)
@@ -15,7 +15,7 @@ BUILD_DEPENDS= xdt-autogen:devel/xfce4-dev-tools
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
-USES= gettext gmake gnome libtool pkgconfig xfce:gtk2
+USES= compiler:c11 gettext gmake gnome libtool pkgconfig xfce:gtk2
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk20 intltool pango
USE_XFCE= libmenu panel
@@ -23,11 +23,12 @@ USE_GITHUB= yes
GH_ACCOUNT= xfce-mirror
GH_TAGNAME= d1fc31f
+CONFIGURE_ARGS= CC="${CC}"
PLIST_FILES= lib/xfce4/panel/plugins/libgeneric-slider.so \
share/xfce4/panel/plugins/generic-slider.desktop
pre-configure:
- (cd ${WRKSRC} && ./autogen.sh)
+ (cd ${WRKSRC} && ./autogen.sh ${CONFIGURE_ARGS})
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xfce4/panel/plugins/libgeneric-slider.so
More information about the svn-ports-head
mailing list