aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-03 19:27:24 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-03 19:59:24 +0000
commit6557ba831b22bf3b366f4ed86db40bc23166c98d (patch)
treeeb308e3d9aa1d11774806407baca3959762b2a69
parentd07bc1dcbdcc3a59d614fcd50332efd0775d3eff (diff)
downloadports-6557ba831b22bf3b366f4ed86db40bc23166c98d.tar.gz
ports-6557ba831b22bf3b366f4ed86db40bc23166c98d.zip
deskutils/aspostit: Fix build with llvm15
- Adopt port
-rw-r--r--deskutils/aspostit/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/deskutils/aspostit/Makefile b/deskutils/aspostit/Makefile
index 6fb34c77e4a6..6770a2be5783 100644
--- a/deskutils/aspostit/Makefile
+++ b/deskutils/aspostit/Makefile
@@ -4,17 +4,24 @@ PORTREVISION= 6
CATEGORIES= deskutils
MASTER_SITES= AFTERSTEP/apps/aspostit
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= bofh@FreeBSD.org
COMMENT= AfterStep dockable version of XPostIt
LICENSE= GPLv2+
-USE_XORG= xpm xaw xext x11
USES= gmake jpeg xorg
+USE_XORG= xpm xaw xext x11
+
GNU_CONFIGURE= yes
PLIST_FILES= bin/aspostit man/man1/aspostit.1.gz
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+= -Wno-error=int-conversion
+.endif
+
post-extract:
@${LN} -sf aspostit.man ${WRKSRC}/aspostit.1
@@ -22,4 +29,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/aspostit ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/aspostit.1 ${STAGEDIR}${MANPREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>