Date: Thu, 31 Jan 2019 17:47:18 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r491743 - head/comms/wsjtx Message-ID: <201901311747.x0VHlIZJ029015@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Thu Jan 31 17:47:17 2019 New Revision: 491743 URL: https://svnweb.freebsd.org/changeset/ports/491743 Log: comms/wsjtx: Only append to EXTRA_PATCHES after bsd.port.pre.mk Untangle it from do-extract too while here Modified: head/comms/wsjtx/Makefile Modified: head/comms/wsjtx/Makefile ============================================================================== --- head/comms/wsjtx/Makefile Thu Jan 31 17:45:34 2019 (r491742) +++ head/comms/wsjtx/Makefile Thu Jan 31 17:47:17 2019 (r491743) @@ -39,13 +39,17 @@ BROKEN_i386= does not build on i386 due to openmp # as well as wsjtx # .include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 +EXTRA_PATCHES+= ${FILESDIR}/add_clogf +.endif + do-extract: # clogf is only present in FreeBSD 12 ${TAR} xf ${DISTDIR}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C${WRKDIR} ${TAR} xf ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src/wsjtx.tgz -C${WRKDIR} .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 - ${CP} ${FILESDIR}/clogf.c ${WRKDIR}/wsjtx -EXTRA_PATCHES= ${FILESDIR}/add_clogf + ${CP} ${FILESDIR}/clogf.c ${WRKDIR}/wsjtx .endif .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901311747.x0VHlIZJ029015>