From ad7ebc546319d8bd50256c851bc307fd34e05cde Mon Sep 17 00:00:00 2001 From: Guido Falsi Date: Sun, 31 Jan 2021 18:57:32 +0000 Subject: [PATCH] MFH: r561678 Fix build on current after commit 7fa2f2a62f04 --- comms/obexapp/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/comms/obexapp/Makefile b/comms/obexapp/Makefile index 11f50db1c58e..dda4a13d3fe8 100644 --- a/comms/obexapp/Makefile +++ b/comms/obexapp/Makefile @@ -17,9 +17,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USES= iconv readline uidfix PLIST_FILES= bin/obexapp man/man1/obexapp.1.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134 MAKE_ENV+= NO_WERROR=yes +.else +MAKE_ENV+= MK_WERROR=no +.endif post-patch: @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/Makefile -.include +.include