Skip to content

Commit

Permalink
deskutils/simpleagenda: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy
- Utilize USES=localbase
- Adopt port

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 19, 2023
1 parent 0ea6495 commit 1a0e33f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions deskutils/simpleagenda/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 1a0e33f

Please sign in to comment.