Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2023 06:54:17 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 89ea113f0776 - main - lang/squeak: unbreak build on current
Message-ID:  <202306020654.3526sHof035681@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89ea113f0776c599e0f7c490bcfba9d7101c3dc8

commit 89ea113f0776c599e0f7c490bcfba9d7101c3dc8
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2023-06-01 06:35:26 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
CommitDate: 2023-06-02 06:49:10 +0000

    lang/squeak: unbreak build on current
    
    PR:             271406
    Reported by:    Trond.Endrestol@ximalas.info
    Approved by:    takeshi.mutoh@gmail.com (maintainer)
---
 lang/squeak/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lang/squeak/Makefile b/lang/squeak/Makefile
index 7ea67de7fcbe..4c1e8c001062 100644
--- a/lang/squeak/Makefile
+++ b/lang/squeak/Makefile
@@ -62,6 +62,12 @@ IMAGES=		Squeak${IMAGE_FULL_VERSION}.image \
 		Squeak${IMAGE_FULL_VERSION}.changes \
 		${SQUEAK_SRC}
 
+.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,<utmp\.h>,<utmpx.h>,' \
 		${WRKSRC}/unix/plugins/PseudoTTYPlugin/openpty.h
@@ -81,4 +87,4 @@ post-install:
 	${INSTALL_DATA} ${IMAGES:S,^,${WRKDIR}/,} \
 		${STAGEDIR}${PREFIX}/lib/squeak
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306020654.3526sHof035681>