diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 19:27:24 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-03 19:59:24 +0000 |
commit | 6557ba831b22bf3b366f4ed86db40bc23166c98d (patch) | |
tree | eb308e3d9aa1d11774806407baca3959762b2a69 | |
parent | d07bc1dcbdcc3a59d614fcd50332efd0775d3eff (diff) | |
download | ports-6557ba831b22bf3b366f4ed86db40bc23166c98d.tar.gz ports-6557ba831b22bf3b366f4ed86db40bc23166c98d.zip |
deskutils/aspostit: Fix build with llvm15
- Adopt port
-rw-r--r-- | deskutils/aspostit/Makefile | 13 |
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> |