misc/wmcalendar: fix build post LLVM 11 import

Submitted by: jhibbits
This commit is contained in:
Piotr Kubaj 2021-04-10 22:44:55 +00:00
parent ceb99a1787
commit 95845968a4

View File

@ -9,9 +9,6 @@ MASTER_SITES= SF
MAINTAINER= xride@FreeBSD.org
COMMENT= Dockable calendar with interface to iCalendar based calendars
BROKEN_FreeBSD_13= ld: error: duplicate symbol: appicon
BROKEN_FreeBSD_14= ld: error: duplicate symbol: appicon
LIB_DEPENDS= libical.so:devel/libical
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
@ -21,7 +18,7 @@ USE_XORG= xpm
USE_GNOME= gtk20
MAKE_ARGS= CC="${CC}" \
LFLAGS="`pkg-config --libs gtk+-2.0` -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS}" \
CFLAGS="${CFLAGS} -fcommon" \
INCDIR="`pkg-config --cflags gtk+-2.0` -I${LOCALBASE}/include" \
LIBDIR="" \
LIBS="-lical -lX11 -lXext -lXpm -lm"