MFH: r561678

Fix build on current after commit 7fa2f2a62f04
This commit is contained in:
Guido Falsi 2021-01-31 18:57:32 +00:00
parent a1818d6c7f
commit ad7ebc5463
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=563513

View File

@ -17,9 +17,15 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USES= iconv readline uidfix USES= iconv readline uidfix
PLIST_FILES= bin/obexapp man/man1/obexapp.1.gz PLIST_FILES= bin/obexapp man/man1/obexapp.1.gz
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300134
MAKE_ENV+= NO_WERROR=yes MAKE_ENV+= NO_WERROR=yes
.else
MAKE_ENV+= MK_WERROR=no
.endif
post-patch: post-patch:
@${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/Makefile
.include <bsd.port.mk> .include <bsd.port.post.mk>