aboutsummaryrefslogtreecommitdiff
path: root/math/crlibm
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-04-03 11:26:48 +0000
commit0438143249634ab5028e53cb468d99a894c62995 (patch)
tree204c01c7973e83331fc29d8b09e59b3e9f219bd6 /math/crlibm
parent68f48ea6c2e03359333e7b211625e51e06aa2026 (diff)
Remove OSVERSION checks that do not make sense any more.
For example (${OSVERSION} >= 900000 && ${OSVERSION} < 900021) is always true, as is (${OSVERSION} > 900002 || ${OSVERSION} < 900000 && ${OSVERSION} > 800107). Regarding patches, when an EXTRA_PATCHES is no longer needed, I remove it, when it is always needed, I renamed it, in one case, I merged two patches. Differential Revision: https://reviews.freebsd.org/D2209
Notes
Notes: svn path=/head/; revision=383107
Diffstat (limited to 'math/crlibm')
-rw-r--r--math/crlibm/Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/math/crlibm/Makefile b/math/crlibm/Makefile
index eaead4a1a667..b9847f6eef6d 100644
--- a/math/crlibm/Makefile
+++ b/math/crlibm/Makefile
@@ -31,13 +31,6 @@ DISTFILES+= crlibm-1.0beta3.pdf:2,4 tripledoubleprocedures-1.0beta3.pdf:3,4
.endif
post-patch:
-#7-STABLE has log2() in libm after r226457 on 17 Oct 2011, but
-#there was no accompanying __FreeBSD_version bump
-.if ${OSVERSION} < 802502 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900027)
- @${REINPLACE_CMD} \
- -e '/testfun_libm[[:blank:]]*=[[:blank:]]*log2;/s/log2/NULL/' \
- ${WRKSRC}/tests/test_common.c
-.endif
@${REINPLACE_CMD} -e 's/\($$(AM_CFLAGS)\) \($$(CFLAGS)\)/\2 \1/' \
${WRKSRC}/tests/Makefile.in