mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
math/spar: Fix build with llvm15
- Pet portclippy - Adopt port
This commit is contained in:
parent
aee41bf6b8
commit
82ff2242c7
@ -4,7 +4,7 @@ PORTREVISION= 6
|
||||
CATEGORIES= math devel
|
||||
MASTER_SITES= SF/${PORTNAME}/Spar/${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Modular math parser
|
||||
WWW= http://spar.sourceforge.net/
|
||||
|
||||
@ -15,8 +15,15 @@ USES= dos2unix libtool ncurses readline
|
||||
DOS2UNIX_FILES= lib/randist/rand.c
|
||||
USE_CSTD= gnu89
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,-ldl,,g" \
|
||||
${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/module/Makefile.in
|
||||
@ -26,4 +33,4 @@ post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/spar/*.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user