Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/valgrind/Makefile,v
retrieving revision 1.30
diff -U3 -r1.30 Makefile
--- Makefile	21 Aug 2008 06:16:52 -0000	1.30
+++ Makefile	25 Aug 2008 23:02:29 -0000
@@ -44,7 +44,7 @@
 PLIST_SUB+=	RELENG_7="@comment "
 .endif
 
-PROCFS!=	/sbin/mount | ${GREP} '^procfs' | ${AWK} '{print $1}'
+PROCFS!=	if test -r /proc/curproc/status; then echo "procfs"; else echo ""; fi
 
 pre-everything::