svn commit: r561678 - head/comms/obexapp
Guido Falsi
madpilot at FreeBSD.org
Fri Jan 15 23:23:59 UTC 2021
Author: madpilot
Date: Fri Jan 15 23:23:59 2021
New Revision: 561678
URL: https://svnweb.freebsd.org/changeset/ports/561678
Log:
Fix build on current after commit 7fa2f2a62f04
Modified:
head/comms/obexapp/Makefile
Modified: head/comms/obexapp/Makefile
==============================================================================
--- head/comms/obexapp/Makefile Fri Jan 15 22:30:05 2021 (r561677)
+++ head/comms/obexapp/Makefile Fri Jan 15 23:23:59 2021 (r561678)
@@ -17,9 +17,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USES= iconv readline uidfix
PLIST_FILES= bin/obexapp man/man1/obexapp.1.gz
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list