Slightly updated version: http://leaf.dragonflybsd.org/~matthias/etc_makefile_update.diff
-- http://yoyodyne.ath.cx