--- bsd.port.mk.orig Tue Nov 16 22:49:06 2004 +++ bsd.port.mk Tue Nov 16 22:49:07 2004 @@ -876,6 +876,11 @@ WHICH?= /usr/bin/which XARGS?= /usr/bin/xargs YACC?= /usr/bin/yacc +.if exists(/usr/sbin/sysctl) +SYSCTL?= /usr/sbin/sysctl +.else +SYSCTL?= /sbin/sysctl +.endif # ECHO is defined in /usr/share/mk/sys.mk, which can either be "echo", # or "true" if the make flag -s is given. Use ECHO_CMD where you mean