$NetBSD: patch-ac,v 1.2 2012/08/11 17:20:23 marino Exp $ --- configure.orig 2000-02-01 07:11:24.000000000 +0000 +++ configure @@ -17,6 +17,9 @@ case $system in echo "enabling proc stats reading"; fi ;; + DragonFly) + os="dragonfly"; + ;; FreeBSD) os="freebsd"; ;; @@ -62,7 +65,7 @@ else # is this proper sed syntax? echo "OBJS=`echo $common_src $sys_src | sed s/'\.c'/'\.o'/g`" >> osdefs.mk - xmkmf && make depend && \ + (pkgxmkmf || xmkmf) && make depend && \ echo "configured for $os" && \ echo "type \"make\" to build" && \ echo "type \"make install ; make install.man\" to install"