1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

deskutils/simpleagenda: Fix build with llvm16

- Pet portclippy
- Utilize USES=localbase
- Adopt port

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-19 22:05:39 +02:00
parent 0ea64959dc
commit 1a0e33f27b

View File

@ -5,21 +5,25 @@ CATEGORIES= deskutils gnustep
MASTER_SITES= http://coyote.octets.fr/pub/gnustep/
DISTNAME= SimpleAgenda-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= Simple calendar and agenda application
WWW= http://wiki.gnustep.org/index.php/SimpleAgenda.app
LICENSE= GPLv2
LIB_DEPENDS+= libical.so:devel/libical \
libuuid.so:misc/e2fsprogs-libuuid
LICENSE= GPLv2
USES= gnustep
USES= gnustep localbase
USE_GNUSTEP= back build
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
CFLAGS+= -I${LOCALBASE}/include
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
pre-configure:
${REINPLACE_CMD} -e 's|SimpleAgenda|SimpleAgenda.m|' ${WRKSRC}/configure