git: 1a0e33f27be6 - main - deskutils/simpleagenda: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jul 2023 20:45:40 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1a0e33f27be63e211100e87e3bf7b434cef5f118
commit 1a0e33f27be63e211100e87e3bf7b434cef5f118
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 20:05:39 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 20:45:28 +0000
deskutils/simpleagenda: Fix build with llvm16
- Pet portclippy
- Utilize USES=localbase
- Adopt port
Sponsored by: The FreeBSD Foundation
---
deskutils/simpleagenda/Makefile | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/deskutils/simpleagenda/Makefile b/deskutils/simpleagenda/Makefile
index 690af93a9481..ca8bf4799453 100644
--- a/deskutils/simpleagenda/Makefile
+++ b/deskutils/simpleagenda/Makefile
@@ -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