mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
print/pic2fig: Fix build with llvm15
- Pet protclippy - Adopt port
This commit is contained in:
parent
b684f0f142
commit
d81a0d2d8b
1 changed files with 12 additions and 3 deletions
|
@ -4,16 +4,25 @@ PORTREVISION= 2
|
||||||
CATEGORIES= print
|
CATEGORIES= print
|
||||||
MASTER_SITES= XCONTRIB/utilities
|
MASTER_SITES= XCONTRIB/utilities
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= bofh@FreeBSD.org
|
||||||
COMMENT= Pic format to fig format converter
|
COMMENT= Pic format to fig format converter
|
||||||
|
|
||||||
USES= tar:Z
|
USES= tar:Z
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
||||||
CFLAGS+= -Wno-return-type
|
CFLAGS+= -Wno-return-type
|
||||||
|
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
|
|
||||||
PLIST_FILES= bin/pic2fig man/man1/pic2fig.1.gz
|
PLIST_FILES= bin/pic2fig man/man1/pic2fig.1.gz
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||||
|
CFLAGS+= -Wno-error=int-conversion
|
||||||
|
.endif
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/pic2fig ${STAGEDIR}${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/pic2fig ${STAGEDIR}${PREFIX}/bin
|
||||||
${INSTALL_MAN} ${WRKSRC}/pic2fig.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
${INSTALL_MAN} ${WRKSRC}/pic2fig.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue