diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2021-01-16 07:23:59 +0800 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2021-01-16 07:23:59 +0800 |
commit | 3f7982cae30a1dbd2ddce7edaa64dd5c6610a987 (patch) | |
tree | 1ea5ba57473d299dd434e1a5062e95584c3ad256 /comms | |
parent | 15306d86ac4aa4e1ac50a4447ef61e061d9fbbf3 (diff) | |
download | freebsd-ports-gnome-3f7982cae30a1dbd2ddce7edaa64dd5c6610a987.tar.gz freebsd-ports-gnome-3f7982cae30a1dbd2ddce7edaa64dd5c6610a987.tar.zst freebsd-ports-gnome-3f7982cae30a1dbd2ddce7edaa64dd5c6610a987.zip |
Fix build on current after commit 7fa2f2a62f04
Diffstat (limited to 'comms')
-rw-r--r-- | comms/obexapp/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
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 <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> |