From c9472879402a32ed984401a30c388670d1165246 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Thu, 4 Oct 2007 23:08:40 +0000 Subject: Remove always true/always false OSVERSION conditions. --- devel/valgrind/Makefile | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'devel/valgrind') diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile index 091adbc89647..593c3ffd62d1 100644 --- a/devel/valgrind/Makefile +++ b/devel/valgrind/Makefile @@ -76,16 +76,6 @@ post-install: @${INSTALL_DATA} ${WRKSRC}/coregrind/vg_unistd.h \ ${PREFIX}/include/valgrind -# Check if kernel is built with USER_LDT option (FreeBSD 4 only) -.if ${OSVERSION} < 500000 - @${PREFIX}/bin/valgrind --tool=memcheck true 2> ${WRKDIR}/ldt.test - @${GREP} i386_set_ldt ${WRKDIR}/ldt.test >/dev/null &&\ - ${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! && \ - ${ECHO_CMD} Please rebuild your kernel with ``options USER_LDT''! && \ - ${ECHO_CMD} Otherwise, valgrind will not be able to perform pointer analysis! && \ - ${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! || true -.endif - .ifndef (PACKAGE_BUILDING) @yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true 2>&1 \ | ${SED} -e 's,.*{$$,{,' \ -- cgit v1.2.3