Skip to content

Commit

Permalink
games/xpipeman: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Add LICENSE MIT

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 20, 2023
1 parent 1acdf7d commit 6757965
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions games/xpipeman/Makefile
@@ -1,16 +1,26 @@
PORTNAME= xpipeman
PORTVERSION= 1.5
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SUNSITE/games/strategy
DISTNAME= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT= Connect the pipes to stop the leaks

LICENSE= MIT

USES= imake tar:Z xorg
USE_XORG= x11 xaw xext xmu xt sm ice

CFLAGS+= -Wno-error=return-type

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xpipeman ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xpipeman.man ${STAGEDIR}${MANPREFIX}/man/man6/xpipeman.6
Expand Down

0 comments on commit 6757965

Please sign in to comment.