summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-08 23:10:35 +0000
committerjlam <jlam>2006-07-08 23:10:35 +0000
commitb96729a13e6502c6d9d1c2912a698e23f57d3965 (patch)
tree04459b5ed42b41d60b93766832b84b0beb86ba13
parentca350efeb1663d3b4c0ce5fc5880e2237d7a7d39 (diff)
downloadpkgsrc-b96729a13e6502c6d9d1c2912a698e23f57d3965.tar.gz
Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs a listing of the buildlink3.mk files included as well as the depth at which they are included. For example, "make show-buildlink3" in fonts/Xft2 displays: zlib fontconfig iconv zlib freetype2 expat freetype2 Xrender renderproto
-rw-r--r--archivers/bzip2/buildlink3.mk4
-rw-r--r--archivers/libcomprex/buildlink3.mk4
-rw-r--r--archivers/liblzo/buildlink3.mk4
-rw-r--r--archivers/libzip/buildlink3.mk4
-rw-r--r--archivers/lzo/buildlink3.mk4
-rw-r--r--archivers/szip/buildlink3.mk4
-rw-r--r--archivers/ucl/buildlink3.mk4
-rw-r--r--archivers/zziplib/buildlink3.mk4
-rw-r--r--audio/SDL_mixer/buildlink3.mk4
-rw-r--r--audio/SDL_sound/buildlink3.mk4
-rw-r--r--audio/arts/buildlink3.mk4
-rw-r--r--audio/bmp/buildlink3.mk4
-rw-r--r--audio/cddb-bundle/buildlink3.mk4
-rw-r--r--audio/cdparanoia/buildlink3.mk4
-rw-r--r--audio/cdplayer/buildlink3.mk4
-rw-r--r--audio/esound/buildlink3.mk4
-rw-r--r--audio/faac/buildlink3.mk4
-rw-r--r--audio/faad2/buildlink3.mk4
-rw-r--r--audio/flac/buildlink3.mk4
-rw-r--r--audio/fluidsynth/buildlink3.mk4
-rw-r--r--audio/gnome-speech/buildlink3.mk4
-rw-r--r--audio/goom/buildlink3.mk4
-rw-r--r--audio/gsm/buildlink3.mk4
-rw-r--r--audio/gst-plugins0.8-artsd/buildlink3.mk4
-rw-r--r--audio/gst-plugins0.8-esound/buildlink3.mk4
-rw-r--r--audio/gst-plugins0.8-mad/buildlink3.mk4
-rw-r--r--audio/id3lib/buildlink3.mk4
-rw-r--r--audio/jack/buildlink3.mk4
-rw-r--r--audio/ladspa/buildlink3.mk6
-rw-r--r--audio/lame/buildlink3.mk4
-rw-r--r--audio/liba52/buildlink3.mk4
-rw-r--r--audio/libao/buildlink3.mk4
-rw-r--r--audio/libaudiofile/buildlink3.mk4
-rw-r--r--audio/libcdaudio/buildlink3.mk4
-rw-r--r--audio/libcddb/buildlink3.mk4
-rw-r--r--audio/libdca/buildlink3.mk4
-rw-r--r--audio/libhydrogen/buildlink3.mk4
-rw-r--r--audio/libid3tag/buildlink3.mk4
-rw-r--r--audio/libmad/buildlink3.mk4
-rw-r--r--audio/libmikmod/buildlink3.mk4
-rw-r--r--audio/libmodplug/buildlink3.mk4
-rw-r--r--audio/libmpd/buildlink3.mk4
-rw-r--r--audio/libmusepack/buildlink3.mk4
-rw-r--r--audio/libopendaap/buildlink3.mk4
-rw-r--r--audio/libsamplerate/buildlink3.mk4
-rw-r--r--audio/libshout/buildlink3.mk4
-rw-r--r--audio/libsidplay/buildlink3.mk4
-rw-r--r--audio/libsidplay2/buildlink3.mk4
-rw-r--r--audio/libsndfile/buildlink3.mk4
-rw-r--r--audio/libtunepimp/buildlink3.mk4
-rw-r--r--audio/libvisual/buildlink3.mk4
-rw-r--r--audio/libvisual0.2/buildlink3.mk4
-rw-r--r--audio/libvorbis/buildlink3.mk4
-rw-r--r--audio/musicbrainz/buildlink3.mk4
-rw-r--r--audio/nas/buildlink3.mk4
-rw-r--r--audio/openal/buildlink3.mk4
-rw-r--r--audio/portaudio-devel/buildlink3.mk4
-rw-r--r--audio/portaudio/buildlink3.mk4
-rw-r--r--audio/py-ogg/buildlink3.mk4
-rw-r--r--audio/rplay/buildlink3.mk4
-rw-r--r--audio/speex/buildlink3.mk4
-rw-r--r--audio/streamtuner/buildlink3.mk4
-rw-r--r--audio/sweep/buildlink3.mk4
-rw-r--r--audio/taglib/buildlink3.mk4
-rw-r--r--audio/tremor/buildlink3.mk4
-rw-r--r--audio/twolame/buildlink3.mk4
-rw-r--r--audio/wsoundserver/buildlink3.mk4
-rw-r--r--audio/xfce4-mixer/buildlink3.mk4
-rw-r--r--audio/xfce4-xmms-plugin/buildlink3.mk4
-rw-r--r--audio/xmms-meta-input/buildlink3.mk4
-rw-r--r--audio/xmms/buildlink3.mk4
-rw-r--r--cad/gplcver/buildlink3.mk4
-rw-r--r--cad/libgeda/buildlink3.mk4
-rw-r--r--cad/libwcalc/buildlink3.mk4
-rw-r--r--cad/verilog-current/buildlink3.mk4
-rw-r--r--cad/verilog/buildlink3.mk4
-rw-r--r--chat/ekg/buildlink3.mk4
-rw-r--r--chat/gaim/buildlink3.mk4
-rw-r--r--chat/gale/buildlink3.mk4
-rw-r--r--chat/jabberd/buildlink3.mk4
-rw-r--r--chat/libirc/buildlink3.mk4
-rw-r--r--chat/libotr/buildlink3.mk4
-rw-r--r--chat/libtlen/buildlink3.mk4
-rw-r--r--chat/loudmouth/buildlink3.mk4
-rw-r--r--chat/zephyr/buildlink3.mk4
-rw-r--r--comms/gnome-pilot/buildlink3.mk4
-rw-r--r--comms/jpilot/buildlink3.mk4
-rw-r--r--comms/libmal/buildlink3.mk4
-rw-r--r--comms/openobex/buildlink3.mk4
-rw-r--r--comms/pilot-link-libs/buildlink3.mk4
-rw-r--r--comms/synce-librapi2/buildlink3.mk4
-rw-r--r--comms/synce-libsynce/buildlink3.mk4
-rw-r--r--comms/zaptel-netbsd/buildlink3.mk4
-rw-r--r--converters/fribidi/buildlink3.mk4
-rw-r--r--converters/libiconv/buildlink3.mk4
-rw-r--r--converters/libwpd/buildlink3.mk4
-rw-r--r--converters/psiconv/buildlink3.mk4
-rw-r--r--converters/recode/buildlink3.mk4
-rw-r--r--converters/uulib/buildlink3.mk4
-rw-r--r--converters/wv/buildlink3.mk4
-rw-r--r--converters/wv2/buildlink3.mk4
-rw-r--r--cross/binutils/buildlink3.mk4
-rw-r--r--databases/bdb-xml/buildlink3.mk4
-rw-r--r--databases/db/buildlink3.mk4
-rw-r--r--databases/db3/buildlink3.mk4
-rw-r--r--databases/db4/buildlink3.mk4
-rw-r--r--databases/dbh/buildlink3.mk4
-rw-r--r--databases/edb/buildlink3.mk4
-rw-r--r--databases/freetds/buildlink3.mk4
-rw-r--r--databases/gdbm/buildlink3.mk4
-rw-r--r--databases/gnome-mime-data/buildlink3.mk4
-rw-r--r--databases/iodbc/buildlink3.mk4
-rw-r--r--databases/libgda/buildlink3.mk4
-rw-r--r--databases/libgnomedb/buildlink3.mk4
-rw-r--r--databases/libpqxx/buildlink3.mk4
-rw-r--r--databases/metakit-lib/buildlink3.mk4
-rw-r--r--databases/mysql4-client/buildlink3.mk4
-rw-r--r--databases/mysql5-client/buildlink3.mk4
-rw-r--r--databases/openldap-client/buildlink3.mk4
-rw-r--r--databases/p5-DBI/buildlink3.mk4
-rw-r--r--databases/php-pdo/buildlink3.mk4
-rw-r--r--databases/postgresql74-lib/buildlink3.mk4
-rw-r--r--databases/postgresql80-client/buildlink3.mk4
-rw-r--r--databases/postgresql81-client/buildlink3.mk4
-rw-r--r--databases/py-ZODB/buildlink3.mk4
-rw-r--r--databases/py-bsddb3/buildlink3.mk4
-rw-r--r--databases/py-ldap/buildlink3.mk4
-rw-r--r--databases/py-metakit/buildlink3.mk4
-rw-r--r--databases/py-psycopg/buildlink3.mk4
-rw-r--r--databases/qdbm/buildlink3.mk4
-rw-r--r--databases/rrdtool/buildlink3.mk4
-rw-r--r--databases/sdbm/buildlink3.mk4
-rw-r--r--databases/shared-mime-info/buildlink3.mk4
-rw-r--r--databases/sqlite/buildlink3.mk4
-rw-r--r--databases/sqlite3/buildlink3.mk4
-rw-r--r--databases/tcl-postgresql74/buildlink3.mk4
-rw-r--r--databases/tdb/buildlink3.mk4
-rw-r--r--databases/tinycdb/buildlink3.mk4
-rw-r--r--databases/unixodbc/buildlink3.mk4
-rw-r--r--devel/GConf/buildlink3.mk4
-rw-r--r--devel/GConf2-ui/buildlink3.mk4
-rw-r--r--devel/GConf2/buildlink3.mk4
-rw-r--r--devel/Renaissance/buildlink3.mk4
-rw-r--r--devel/SDL/buildlink3.mk4
-rw-r--r--devel/SDL_gfx/buildlink3.mk4
-rw-r--r--devel/SDL_ttf/buildlink3.mk4
-rw-r--r--devel/SDLmm/buildlink3.mk4
-rw-r--r--devel/allegro/buildlink3.mk4
-rw-r--r--devel/apr/buildlink3.mk4
-rw-r--r--devel/at-spi/buildlink3.mk4
-rw-r--r--devel/atk/buildlink3.mk4
-rw-r--r--devel/bglibs/buildlink3.mk4
-rw-r--r--devel/binutils/buildlink3.mk4
-rw-r--r--devel/blib/buildlink3.mk4
-rw-r--r--devel/boehm-gc/buildlink3.mk4
-rw-r--r--devel/bonobo/buildlink3.mk4
-rw-r--r--devel/boost-build/buildlink3.mk4
-rw-r--r--devel/boost-headers/buildlink3.mk4
-rw-r--r--devel/boost-libs/buildlink3.mk4
-rw-r--r--devel/boost-python/buildlink3.mk4
-rw-r--r--devel/buddy/buildlink3.mk4
-rw-r--r--devel/buildtool/buildlink3.mk4
-rw-r--r--devel/cdk/buildlink3.mk4
-rw-r--r--devel/chmlib/buildlink3.mk4
-rw-r--r--devel/cppunit/buildlink3.mk4
-rw-r--r--devel/darts/buildlink3.mk4
-rw-r--r--devel/devIL/buildlink3.mk4
-rw-r--r--devel/dlcompat/buildlink3.mk4
-rw-r--r--devel/dmalloc/buildlink3.mk4
-rw-r--r--devel/edcommon/buildlink3.mk4
-rw-r--r--devel/eel2/buildlink3.mk4
-rw-r--r--devel/eet/buildlink3.mk4
-rw-r--r--devel/ffcall/buildlink3.mk4
-rw-r--r--devel/flex/buildlink3.mk4
-rw-r--r--devel/florist/buildlink3.mk4
-rw-r--r--devel/g-wrap/buildlink3.mk4
-rw-r--r--devel/g-wrap1/buildlink3.mk4
-rw-r--r--devel/gail/buildlink3.mk4
-rw-r--r--devel/gal/buildlink3.mk4
-rw-r--r--devel/gconfmm/buildlink3.mk4
-rw-r--r--devel/gdbada/buildlink3.mk4
-rw-r--r--devel/gettext-asprintf/buildlink3.mk4
-rw-r--r--devel/gettext-lib/buildlink3.mk4
-rw-r--r--devel/giblib/buildlink3.mk4
-rw-r--r--devel/glib/buildlink3.mk4
-rw-r--r--devel/glib2/buildlink3.mk4
-rw-r--r--devel/glibmm/buildlink3.mk4
-rw-r--r--devel/gmp/buildlink3.mk4
-rw-r--r--devel/gnustep-base/buildlink3.mk4
-rw-r--r--devel/gnustep-make/buildlink3.mk4
-rw-r--r--devel/gnustep-objc-lf2/buildlink3.mk4
-rw-r--r--devel/gnustep-objc/buildlink3.mk4
-rw-r--r--devel/gob2/buildlink3.mk4
-rw-r--r--devel/gperf/buildlink3.mk4
-rw-r--r--devel/gtl/buildlink3.mk4
-rw-r--r--devel/guile-gtk/buildlink3.mk4
-rw-r--r--devel/guile14-gtk/buildlink3.mk4
-rw-r--r--devel/hdf/buildlink3.mk4
-rw-r--r--devel/hdf5/buildlink3.mk4
-rw-r--r--devel/kdesdk3/buildlink3.mk4
-rw-r--r--devel/ldapsdk/buildlink3.mk4
-rw-r--r--devel/libFoundation/buildlink3.mk4
-rw-r--r--devel/libargparse/buildlink3.mk4
-rw-r--r--devel/libast/buildlink3.mk4
-rw-r--r--devel/libaura/buildlink3.mk4
-rw-r--r--devel/libbegemot/buildlink3.mk4
-rw-r--r--devel/libbonobo/buildlink3.mk4
-rw-r--r--devel/libbonoboui/buildlink3.mk4
-rw-r--r--devel/libcfg+/buildlink3.mk4
-rw-r--r--devel/libdfui/buildlink3.mk4
-rw-r--r--devel/libdnsres/buildlink3.mk4
-rw-r--r--devel/libdockapp/buildlink3.mk4
-rw-r--r--devel/libebml/buildlink3.mk4
-rw-r--r--devel/libelf/buildlink3.mk4
-rw-r--r--devel/libetm/buildlink3.mk4
-rw-r--r--devel/libevent/buildlink3.mk4
-rw-r--r--devel/libextractor/buildlink3.mk4
-rw-r--r--devel/libffi/buildlink3.mk4
-rw-r--r--devel/libgail-gnome/buildlink3.mk4
-rw-r--r--devel/libgetopt/buildlink3.mk4
-rw-r--r--devel/libglade/buildlink3.mk4
-rw-r--r--devel/libglade2/buildlink3.mk4
-rw-r--r--devel/libglademm/buildlink3.mk4
-rw-r--r--devel/libgnome/buildlink3.mk4
-rw-r--r--devel/libgnomemm/buildlink3.mk4
-rw-r--r--devel/libgnomeui/buildlink3.mk4
-rw-r--r--devel/libgnomeuimm/buildlink3.mk4
-rw-r--r--devel/libgphoto2/buildlink3.mk4
-rw-r--r--devel/libgsf/buildlink3.mk4
-rw-r--r--devel/libhfs/buildlink3.mk4
-rw-r--r--devel/libiberty/buildlink3.mk4
-rw-r--r--devel/libidn/buildlink3.mk4
-rw-r--r--devel/libinstaller/buildlink3.mk4
-rw-r--r--devel/libjit/buildlink3.mk4
-rw-r--r--devel/libltdl/buildlink3.mk4
-rw-r--r--devel/libmatchbox/buildlink3.mk4
-rw-r--r--devel/libmemcache/buildlink3.mk4
-rw-r--r--devel/libmemmgr/buildlink3.mk4
-rw-r--r--devel/libmimedir/buildlink3.mk4
-rw-r--r--devel/libmm/buildlink3.mk4
-rw-r--r--devel/libnet/buildlink3.mk4
-rw-r--r--devel/libnet11/buildlink3.mk4
-rw-r--r--devel/libntlm/buildlink3.mk4
-rw-r--r--devel/liboil/buildlink3.mk4
-rw-r--r--devel/libole2/buildlink3.mk4
-rw-r--r--devel/liboop/buildlink3.mk4
-rw-r--r--devel/libosip/buildlink3.mk4
-rw-r--r--devel/libportlib/buildlink3.mk4
-rw-r--r--devel/libproplist/buildlink3.mk4
-rw-r--r--devel/librfuncs/buildlink3.mk4
-rw-r--r--devel/librsync/buildlink3.mk4
-rw-r--r--devel/libscsi/buildlink3.mk4
-rw-r--r--devel/libsexy/buildlink3.mk4
-rw-r--r--devel/libsigc++/buildlink3.mk4
-rw-r--r--devel/libsigc++2/buildlink3.mk4
-rw-r--r--devel/libsigsegv/buildlink3.mk4
-rw-r--r--devel/libslang/buildlink3.mk4
-rw-r--r--devel/libstatgrab/buildlink3.mk4
-rw-r--r--devel/libstroke/buildlink3.mk4
-rw-r--r--devel/libtar/buildlink3.mk4
-rw-r--r--devel/libtecla/buildlink3.mk4
-rw-r--r--devel/libts/buildlink3.mk4
-rw-r--r--devel/libusb/buildlink3.mk4
-rw-r--r--devel/libwnck/buildlink3.mk4
-rw-r--r--devel/lwp/buildlink3.mk4
-rw-r--r--devel/ncurses/buildlink3.mk4
-rw-r--r--devel/netcdf/buildlink3.mk4
-rw-r--r--devel/newt/buildlink3.mk4
-rw-r--r--devel/nspr/buildlink3.mk4
-rw-r--r--devel/nss/buildlink3.mk4
-rw-r--r--devel/oaf/buildlink3.mk4
-rw-r--r--devel/ode/buildlink3.mk4
-rw-r--r--devel/ogre/buildlink3.mk4
-rw-r--r--devel/p5-glib2/buildlink3.mk4
-rw-r--r--devel/pango/buildlink3.mk4
-rw-r--r--devel/pccts/buildlink3.mk4
-rw-r--r--devel/pcre++/buildlink3.mk4
-rw-r--r--devel/pcre/buildlink3.mk4
-rw-r--r--devel/physfs/buildlink3.mk4
-rw-r--r--devel/popt/buildlink3.mk4
-rw-r--r--devel/pth/buildlink3.mk4
-rw-r--r--devel/pthread-sem/buildlink3.mk4
-rw-r--r--devel/pthread-stublib/buildlink3.mk4
-rw-r--r--devel/pwlib/buildlink3.mk4
-rw-r--r--devel/py-curses/buildlink3.mk4
-rw-r--r--devel/py-cursespanel/buildlink3.mk4
-rw-r--r--devel/py-game/buildlink3.mk4
-rw-r--r--devel/py-gobject-shared/buildlink3.mk4
-rw-r--r--devel/py-gobject/buildlink3.mk4
-rw-r--r--devel/py-readline/buildlink3.mk4
-rw-r--r--devel/readline/buildlink3.mk4
-rw-r--r--devel/rpc2/buildlink3.mk4
-rw-r--r--devel/ruby-gnome2-pango/buildlink3.mk4
-rw-r--r--devel/rudiments/buildlink3.mk4
-rw-r--r--devel/rvm/buildlink3.mk4
-rw-r--r--devel/rx/buildlink3.mk4
-rw-r--r--devel/sgb/buildlink3.mk4
-rw-r--r--devel/silc-toolkit/buildlink3.mk4
-rw-r--r--devel/subversion-base/buildlink3.mk4
-rw-r--r--devel/swig/buildlink3.mk4
-rw-r--r--devel/syncdir/buildlink3.mk4
-rw-r--r--devel/sysexits/buildlink3.mk4
-rw-r--r--devel/tcl-tclcl/buildlink3.mk4
-rw-r--r--devel/teem/buildlink3.mk4
-rw-r--r--devel/tre/buildlink3.mk4
-rw-r--r--devel/ucl/buildlink3.mk4
-rw-r--r--devel/vanessa_adt/buildlink3.mk4
-rw-r--r--devel/vanessa_logger/buildlink3.mk4
-rw-r--r--devel/vanessa_socket/buildlink3.mk4
-rw-r--r--devel/zlib/buildlink3.mk4
-rw-r--r--editors/gedit/buildlink3.mk4
-rw-r--r--editors/pico/buildlink3.mk4
-rw-r--r--editors/sam/buildlink3.mk4
-rw-r--r--emulators/DatLib/buildlink3.mk4
-rw-r--r--emulators/cygwin_lib/buildlink3.mk4
-rw-r--r--emulators/gpsim-devel/buildlink3.mk4
-rw-r--r--emulators/libspectrum/buildlink3.mk4
-rw-r--r--emulators/lrmi/buildlink3.mk4
-rw-r--r--emulators/wine/buildlink3.mk4
-rw-r--r--finance/libofx/buildlink3.mk4
-rw-r--r--fonts/Xft2/buildlink3.mk4
-rw-r--r--fonts/fontconfig/buildlink3.mk4
-rw-r--r--fonts/gucharmap/buildlink3.mk4
-rw-r--r--fonts/mftrace/buildlink3.mk4
-rw-r--r--fonts/t1lib/buildlink3.mk4
-rw-r--r--games/kdegames3/buildlink3.mk4
-rw-r--r--games/plib/buildlink3.mk4
-rw-r--r--geography/gdal-lib/buildlink3.mk4
-rw-r--r--geography/geos/buildlink3.mk4
-rw-r--r--geography/shapelib/buildlink3.mk4
-rw-r--r--graphics/Coin/buildlink3.mk4
-rw-r--r--graphics/GLXKit/buildlink3.mk4
-rw-r--r--graphics/GUIlib/buildlink3.mk4
-rw-r--r--graphics/GeometryKit/buildlink3.mk4
-rw-r--r--graphics/GlutKit/buildlink3.mk4
-rw-r--r--graphics/ImageMagick/buildlink3.mk4
-rw-r--r--graphics/MesaLib/buildlink3.mk4
-rw-r--r--graphics/OpenRM/buildlink3.mk4
-rw-r--r--graphics/RenderKit/buildlink3.mk4
-rw-r--r--graphics/SDLKit/buildlink3.mk4
-rw-r--r--graphics/SDL_image/buildlink3.mk4
-rw-r--r--graphics/aalib/buildlink3.mk4
-rw-r--r--graphics/cairo/buildlink3.mk4
-rw-r--r--graphics/cal3d/buildlink3.mk4
-rw-r--r--graphics/camlimages/buildlink3.mk4
-rw-r--r--graphics/compface/buildlink3.mk4
-rw-r--r--graphics/digikam/buildlink3.mk4
-rw-r--r--graphics/epeg/buildlink3.mk4
-rw-r--r--graphics/exiv2/buildlink3.mk4
-rw-r--r--graphics/fnlib/buildlink3.mk4
-rw-r--r--graphics/freeglut/buildlink3.mk4
-rw-r--r--graphics/freetype-lib/buildlink3.mk4
-rw-r--r--graphics/freetype2/buildlink3.mk4
-rw-r--r--graphics/gd/buildlink3.mk4
-rw-r--r--graphics/gdchart/buildlink3.mk4
-rw-r--r--graphics/gdk-pixbuf-gnome/buildlink3.mk4
-rw-r--r--graphics/gdk-pixbuf/buildlink3.mk4
-rw-r--r--graphics/gimp/buildlink3.mk4
-rw-r--r--graphics/gimp1-base/buildlink3.mk4
-rw-r--r--graphics/gimp24/buildlink3.mk4
-rw-r--r--graphics/gle/buildlink3.mk4
-rw-r--r--graphics/glitz/buildlink3.mk4
-rw-r--r--graphics/glu/buildlink3.mk4
-rw-r--r--graphics/glut/buildlink3.mk4
-rw-r--r--graphics/gnome-icon-theme/buildlink3.mk4
-rw-r--r--graphics/graphviz/buildlink3.mk4
-rw-r--r--graphics/gtkglext/buildlink3.mk4
-rw-r--r--graphics/hermes/buildlink3.mk4
-rw-r--r--graphics/hicolor-icon-theme/buildlink3.mk4
-rw-r--r--graphics/imlib/buildlink3.mk4
-rw-r--r--graphics/imlib2/buildlink3.mk4
-rw-r--r--graphics/jasper/buildlink3.mk4
-rw-r--r--graphics/jpeg/buildlink3.mk4
-rw-r--r--graphics/kdegraphics3/buildlink3.mk4
-rw-r--r--graphics/lcms/buildlink3.mk4
-rw-r--r--graphics/lib3ds/buildlink3.mk4
-rw-r--r--graphics/libart2/buildlink3.mk4
-rw-r--r--graphics/libexif-gtk/buildlink3.mk4
-rw-r--r--graphics/libexif/buildlink3.mk4
-rw-r--r--graphics/libgdgeda/buildlink3.mk4
-rw-r--r--graphics/libgdiplus/buildlink3.mk4
-rw-r--r--graphics/libggi/buildlink3.mk4
-rw-r--r--graphics/libggiwmh/buildlink3.mk4
-rw-r--r--graphics/libgii/buildlink3.mk4
-rw-r--r--graphics/libgnomecanvas/buildlink3.mk4
-rw-r--r--graphics/libgnomecanvasmm/buildlink3.mk4
-rw-r--r--graphics/libkexif/buildlink3.mk4
-rw-r--r--graphics/libkipi/buildlink3.mk4
-rw-r--r--graphics/libpixman/buildlink3.mk4
-rw-r--r--graphics/librsvg/buildlink3.mk4
-rw-r--r--graphics/librsvg2/buildlink3.mk4
-rw-r--r--graphics/libscigraphica/buildlink3.mk4
-rw-r--r--graphics/libungif/buildlink3.mk4
-rw-r--r--graphics/libvideogfx/buildlink3.mk4
-rw-r--r--graphics/libwmf/buildlink3.mk4
-rw-r--r--graphics/mng/buildlink3.mk4
-rw-r--r--graphics/netpbm/buildlink3.mk4
-rw-r--r--graphics/openexr/buildlink3.mk4
-rw-r--r--graphics/plotutils-nox11/buildlink3.mk4
-rw-r--r--graphics/plotutils/buildlink3.mk4
-rw-r--r--graphics/png/buildlink3.mk4
-rw-r--r--graphics/py-cairo/buildlink3.mk4
-rw-r--r--graphics/py-imaging/buildlink3.mk4
-rw-r--r--graphics/py-matplotlib/buildlink3.mk4
-rw-r--r--graphics/sane-backends/buildlink3.mk4
-rw-r--r--graphics/simage/buildlink3.mk4
-rw-r--r--graphics/tiff/buildlink3.mk4
-rw-r--r--graphics/urt/buildlink3.mk4
-rw-r--r--graphics/wxsvg/buildlink3.mk4
-rw-r--r--graphics/xfce4-artwork/buildlink3.mk4
-rw-r--r--graphics/xfce4-icon-theme/buildlink3.mk4
-rw-r--r--graphics/xfce4-iconbox/buildlink3.mk4
-rw-r--r--graphics/xpm/buildlink3.mk4
-rw-r--r--ham/gnuradio-core/buildlink3.mk4
-rw-r--r--ham/gnuradio-wxgui/buildlink3.mk4
-rw-r--r--ham/hamlib/buildlink3.mk4
-rw-r--r--ham/usrp/buildlink3.mk4
-rw-r--r--inputmethod/anthy/buildlink3.mk4
-rw-r--r--inputmethod/canna-lib/buildlink3.mk4
-rw-r--r--inputmethod/ja-freewnn-lib/buildlink3.mk4
-rw-r--r--inputmethod/libchewing/buildlink3.mk4
-rw-r--r--inputmethod/libtabe/buildlink3.mk4
-rw-r--r--inputmethod/sj3-lib/buildlink3.mk4
-rw-r--r--inputmethod/uim/buildlink3.mk4
-rw-r--r--inputmethod/unicon-im/buildlink3.mk4
-rw-r--r--lang/Cg-compiler/buildlink3.mk4
-rw-r--r--lang/blackdown-jdk13/buildlink3.mk4
-rw-r--r--lang/blackdown-jre13/buildlink3.mk4
-rw-r--r--lang/cdl3/buildlink3.mk4
-rw-r--r--lang/elk/buildlink3.mk4
-rw-r--r--lang/erlang/buildlink3.mk4
-rw-r--r--lang/ezm3/buildlink3.mk4
-rw-r--r--lang/f2c/buildlink3.mk4
-rw-r--r--lang/gauche/buildlink3.mk4
-rw-r--r--lang/gcc/buildlink3.mk4
-rw-r--r--lang/gcc3-ada/buildlink3.mk4
-rw-r--r--lang/gcc3-c++/buildlink3.mk4
-rw-r--r--lang/gcc3-c/buildlink3.mk4
-rw-r--r--lang/gcc3-f77/buildlink3.mk4
-rw-r--r--lang/gcc3-java/buildlink3.mk4
-rw-r--r--lang/gcc3-objc/buildlink3.mk4
-rw-r--r--lang/gcc34-ada/buildlink3.mk4
-rw-r--r--lang/gcc34/buildlink3.mk4
-rw-r--r--lang/ghc/buildlink3.mk4
-rw-r--r--lang/guile/buildlink3.mk4
-rw-r--r--lang/guile14/buildlink3.mk4
-rw-r--r--lang/jdk/buildlink3.mk4
-rw-r--r--lang/kaffe/buildlink3.mk4
-rw-r--r--lang/librep/buildlink3.mk4
-rw-r--r--lang/libtcl-nothread/buildlink3.mk4
-rw-r--r--lang/lua/buildlink3.mk4
-rw-r--r--lang/lua4/buildlink3.mk4
-rw-r--r--lang/mono/buildlink3.mk4
-rw-r--r--lang/ocaml/buildlink3.mk4
-rw-r--r--lang/parrot/buildlink3.mk4
-rw-r--r--lang/perl5/buildlink3.mk4
-rw-r--r--lang/php5/buildlink3.mk4
-rw-r--r--lang/pnet/buildlink3.mk4
-rw-r--r--lang/pnetC/buildlink3.mk4
-rw-r--r--lang/pnetlib/buildlink3.mk4
-rw-r--r--lang/py-extclass/buildlink3.mk4
-rw-r--r--lang/python15/buildlink3.mk4
-rw-r--r--lang/python20/buildlink3.mk4
-rw-r--r--lang/python21/buildlink3.mk4
-rw-r--r--lang/python22/buildlink3.mk4
-rw-r--r--lang/python23-nth/buildlink3.mk4
-rw-r--r--lang/python23/buildlink3.mk4
-rw-r--r--lang/python24/buildlink3.mk4
-rw-r--r--lang/ruby/buildlink3.mk4
-rw-r--r--lang/scsl-jdk15/buildlink3.mk4
-rw-r--r--lang/scsl-jre15/buildlink3.mk4
-rw-r--r--lang/spidermonkey/buildlink3.mk4
-rw-r--r--lang/sun-jdk13/buildlink3.mk4
-rw-r--r--lang/sun-jdk14/buildlink3.mk4
-rw-r--r--lang/sun-jdk15/buildlink3.mk4
-rw-r--r--lang/sun-jre13/buildlink3.mk4
-rw-r--r--lang/sun-jre14/buildlink3.mk4
-rw-r--r--lang/sun-jre15/buildlink3.mk4
-rw-r--r--lang/swi-prolog-lite/buildlink3.mk4
-rw-r--r--lang/tcl-expect/buildlink3.mk4
-rw-r--r--lang/tcl-itcl-current/buildlink3.mk4
-rw-r--r--lang/tcl-itcl/buildlink3.mk4
-rw-r--r--lang/tcl-otcl/buildlink3.mk4
-rw-r--r--lang/tcl-tclX/buildlink3.mk4
-rw-r--r--lang/tcl/buildlink3.mk4
-rw-r--r--lang/tcl83/buildlink3.mk4
-rw-r--r--lang/win32-jdk/buildlink3.mk4
-rw-r--r--mail/Pantomime/buildlink3.mk4
-rw-r--r--mail/clamav/buildlink3.mk4
-rw-r--r--mail/drac/buildlink3.mk4
-rw-r--r--mail/evolution-data-server/buildlink3.mk4
-rw-r--r--mail/evolution/buildlink3.mk4
-rw-r--r--mail/faces/buildlink3.mk4
-rw-r--r--mail/gmime/buildlink3.mk4
-rw-r--r--mail/imap-uw/buildlink3.mk4
-rw-r--r--mail/libesmtp/buildlink3.mk4
-rw-r--r--mail/libetpan/buildlink3.mk4
-rw-r--r--mail/libmilter/buildlink3.mk4
-rw-r--r--mail/libmilter812/buildlink3.mk4
-rw-r--r--mail/libspf-alt/buildlink3.mk4
-rw-r--r--mail/perdition/buildlink3.mk4
-rw-r--r--mail/squirrelmail/buildlink3.mk4
-rw-r--r--mail/sylpheed-claws/buildlink3.mk4
-rw-r--r--math/R/buildlink3.mk4
-rw-r--r--math/blas/buildlink3.mk4
-rw-r--r--math/cln/buildlink3.mk4
-rw-r--r--math/djbfft/buildlink3.mk4
-rw-r--r--math/fftw/buildlink3.mk4
-rw-r--r--math/fftw2/buildlink3.mk4
-rw-r--r--math/fftwf/buildlink3.mk4
-rw-r--r--math/glpk/buildlink3.mk4
-rw-r--r--math/gsl/buildlink3.mk4
-rw-r--r--math/guppi/buildlink3.mk4
-rw-r--r--math/lapack/buildlink3.mk4
-rw-r--r--math/libffm/buildlink3.mk4
-rw-r--r--math/libmatheval/buildlink3.mk4
-rw-r--r--math/ltm/buildlink3.mk4
-rw-r--r--math/mpfr/buildlink3.mk4
-rw-r--r--math/ntl/buildlink3.mk4
-rw-r--r--math/octave-current/buildlink3.mk4
-rw-r--r--math/octave-forge/buildlink3.mk4
-rw-r--r--math/octave/buildlink3.mk4
-rw-r--r--math/pari/buildlink3.mk4
-rw-r--r--math/py-Numeric/buildlink3.mk4
-rw-r--r--math/py-fpconst/buildlink3.mk4
-rw-r--r--math/py-numarray/buildlink3.mk4
-rw-r--r--math/qalculate/buildlink3.mk4
-rw-r--r--math/scilab/buildlink3.mk4
-rw-r--r--math/slatec/buildlink3.mk4
-rw-r--r--math/superlu/buildlink3.mk4
-rw-r--r--math/tasp-vsipl/buildlink3.mk4
-rw-r--r--math/udunits/buildlink3.mk4
-rw-r--r--math/yorick/buildlink3.mk4
-rw-r--r--mbone/common-mml/buildlink3.mk4
-rw-r--r--meta-pkgs/xfce4/buildlink3.mk4
-rw-r--r--misc/Addresses/buildlink3.mk4
-rw-r--r--misc/goffice/buildlink3.mk4
-rw-r--r--misc/kdepim3/buildlink3.mk4
-rw-r--r--misc/koffice/buildlink3.mk4
-rw-r--r--misc/libcdio/buildlink3.mk4
-rw-r--r--misc/libutf/buildlink3.mk4
-rw-r--r--misc/proj/buildlink3.mk4
-rw-r--r--misc/rpm/buildlink3.mk4
-rw-r--r--misc/xfce4-weather-plugin/buildlink3.mk4
-rw-r--r--mk/bdb.buildlink3.mk4
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk6
-rw-r--r--mk/buildlink3/show-buildlink3.sh23
-rw-r--r--mk/dlopen.buildlink3.mk4
-rw-r--r--mk/oss.buildlink3.mk4
-rw-r--r--mk/pam.buildlink3.mk4
-rw-r--r--mk/pthread.buildlink3.mk4
-rw-r--r--multimedia/dirac/buildlink3.mk4
-rw-r--r--multimedia/ffmpeg/buildlink3.mk4
-rw-r--r--multimedia/gnome2-media/buildlink3.mk4
-rw-r--r--multimedia/gst-plugins0.10-bad/buildlink3.mk4
-rw-r--r--multimedia/gst-plugins0.10-base/buildlink3.mk4
-rw-r--r--multimedia/gst-plugins0.10-good/buildlink3.mk4
-rw-r--r--multimedia/gst-plugins0.10-ugly/buildlink3.mk4
-rw-r--r--multimedia/gst-plugins0.8/buildlink3.mk4
-rw-r--r--multimedia/gstreamer0.10/buildlink3.mk4
-rw-r--r--multimedia/gstreamer0.8/buildlink3.mk4
-rw-r--r--multimedia/kdemultimedia3/buildlink3.mk4
-rw-r--r--multimedia/libassetml/buildlink3.mk4
-rw-r--r--multimedia/libdv/buildlink3.mk4
-rw-r--r--multimedia/libdvbpsi/buildlink3.mk4
-rw-r--r--multimedia/libdvdcss/buildlink3.mk4
-rw-r--r--multimedia/libdvdnav/buildlink3.mk4
-rw-r--r--multimedia/libdvdplay/buildlink3.mk4
-rw-r--r--multimedia/libdvdread/buildlink3.mk4
-rw-r--r--multimedia/libflash/buildlink3.mk4
-rw-r--r--multimedia/libmatroska/buildlink3.mk4
-rw-r--r--multimedia/libmpeg2/buildlink3.mk4
-rw-r--r--multimedia/libmpeg3/buildlink3.mk4
-rw-r--r--multimedia/libogg/buildlink3.mk4
-rw-r--r--multimedia/libtheora/buildlink3.mk4
-rw-r--r--multimedia/ming/buildlink3.mk4
-rw-r--r--multimedia/mjpegtools/buildlink3.mk4
-rw-r--r--multimedia/mpeg-lib/buildlink3.mk4
-rw-r--r--multimedia/mpeg4ip/buildlink3.mk4
-rw-r--r--multimedia/ogle/buildlink3.mk4
-rw-r--r--multimedia/openquicktime/buildlink3.mk4
-rw-r--r--multimedia/smpeg/buildlink3.mk4
-rw-r--r--multimedia/swfdec/buildlink3.mk4
-rw-r--r--multimedia/totem/buildlink3.mk4
-rw-r--r--multimedia/vlc/buildlink3.mk4
-rw-r--r--multimedia/vlc08/buildlink3.mk4
-rw-r--r--multimedia/x264-devel/buildlink3.mk4
-rw-r--r--multimedia/xine-lib/buildlink3.mk4
-rw-r--r--multimedia/xvidcore/buildlink3.mk4
-rw-r--r--net/GeoIP/buildlink3.mk4
-rw-r--r--net/ORBit/buildlink3.mk4
-rw-r--r--net/ORBit2/buildlink3.mk4
-rw-r--r--net/SDL_net/buildlink3.mk4
-rw-r--r--net/adns/buildlink3.mk4
-rw-r--r--net/bind9/buildlink3.mk4
-rw-r--r--net/boinc3-libs/buildlink3.mk4
-rw-r--r--net/dante/buildlink3.mk4
-rw-r--r--net/freewais-sf/buildlink3.mk4
-rw-r--r--net/gift/buildlink3.mk4
-rw-r--r--net/gnet/buildlink3.mk4
-rw-r--r--net/gnet1/buildlink3.mk4
-rw-r--r--net/hesiod/buildlink3.mk4
-rw-r--r--net/howl/buildlink3.mk4
-rw-r--r--net/kdenetwork3/buildlink3.mk4
-rw-r--r--net/libIDL/buildlink3.mk4
-rw-r--r--net/libares/buildlink3.mk4
-rw-r--r--net/libcares/buildlink3.mk4
-rw-r--r--net/libdnet/buildlink3.mk4
-rw-r--r--net/liblive/buildlink3.mk4
-rw-r--r--net/libnids/buildlink3.mk4
-rw-r--r--net/libpcap/buildlink3.mk4
-rw-r--r--net/libradius/buildlink3.mk4
-rw-r--r--net/libsoup-devel/buildlink3.mk4
-rw-r--r--net/libsoup/buildlink3.mk4
-rw-r--r--net/libtorrent/buildlink3.mk4
-rw-r--r--net/linc/buildlink3.mk4
-rw-r--r--net/mDNSResponder/buildlink3.mk4
-rw-r--r--net/net-snmp/buildlink3.mk4
-rw-r--r--net/netatalk/buildlink3.mk4
-rw-r--r--net/netatalk1/buildlink3.mk4
-rw-r--r--net/netbsd-tap/buildlink3.mk4
-rw-r--r--net/openh323/buildlink3.mk4
-rw-r--r--net/openslp/buildlink3.mk4
-rw-r--r--net/py-ORBit/buildlink3.mk4
-rw-r--r--net/py-libdnet/buildlink3.mk4
-rw-r--r--net/py-libpcap/buildlink3.mk4
-rw-r--r--net/py-soappy/buildlink3.mk4
-rw-r--r--net/samba/buildlink3.mk4
-rw-r--r--net/socks4/buildlink3.mk4
-rw-r--r--net/socks5/buildlink3.mk4
-rw-r--r--net/soup/buildlink3.mk4
-rw-r--r--net/spread/buildlink3.mk4
-rw-r--r--net/tcl-scotty/buildlink3.mk4
-rw-r--r--net/whoson/buildlink3.mk4
-rw-r--r--net/xfce4-wavelan-plugin/buildlink3.mk4
-rw-r--r--net/yaz/buildlink3.mk4
-rw-r--r--news/inn/buildlink3.mk4
-rw-r--r--parallel/mpi-ch/buildlink3.mk4
-rw-r--r--parallel/pvm3/buildlink3.mk4
-rw-r--r--pkgtools/libnbcompat/buildlink3.mk4
-rw-r--r--print/a2ps/buildlink3.mk4
-rw-r--r--print/cups/buildlink3.mk4
-rw-r--r--print/gimp-print-lib/buildlink3.mk4
-rw-r--r--print/gnome-print/buildlink3.mk4
-rw-r--r--print/ijs/buildlink3.mk4
-rw-r--r--print/ja-vflib-lib/buildlink3.mk4
-rw-r--r--print/libgnomecups/buildlink3.mk4
-rw-r--r--print/libgnomeprint/buildlink3.mk4
-rw-r--r--print/libgnomeprintui/buildlink3.mk4
-rw-r--r--print/pdflib/buildlink3.mk4
-rw-r--r--print/poppler-glib/buildlink3.mk4
-rw-r--r--print/poppler-qt/buildlink3.mk4
-rw-r--r--print/poppler/buildlink3.mk4
-rw-r--r--print/pslib/buildlink3.mk4
-rw-r--r--print/py-reportlab-renderPM/buildlink3.mk4
-rw-r--r--print/py-reportlab/buildlink3.mk4
-rw-r--r--print/teTeX-bin/buildlink3.mk4
-rw-r--r--print/teTeX3-bin/buildlink3.mk4
-rw-r--r--print/transfig/buildlink3.mk4
-rw-r--r--print/xfce4-print/buildlink3.mk4
-rw-r--r--security/PAM/buildlink3.mk4
-rw-r--r--security/beecrypt/buildlink3.mk4
-rw-r--r--security/botan/buildlink3.mk4
-rw-r--r--security/courier-authlib/buildlink3.mk4
-rw-r--r--security/crypto++/buildlink3.mk4
-rw-r--r--security/cvm/buildlink3.mk4
-rw-r--r--security/cyrus-sasl/buildlink3.mk4
-rw-r--r--security/dirmngr/buildlink3.mk4
-rw-r--r--security/gnome-keyring/buildlink3.mk4
-rw-r--r--security/gnupg-devel/buildlink3.mk4
-rw-r--r--security/gnutls/buildlink3.mk4
-rw-r--r--security/gpgme/buildlink3.mk4
-rw-r--r--security/gpgme03/buildlink3.mk4
-rw-r--r--security/gsasl/buildlink3.mk4
-rw-r--r--security/gss/buildlink3.mk4
-rw-r--r--security/heimdal/buildlink3.mk4
-rw-r--r--security/kth-krb4/buildlink3.mk4
-rw-r--r--security/libassuan/buildlink3.mk4
-rw-r--r--security/libcrack/buildlink3.mk4
-rw-r--r--security/libdes/buildlink3.mk4
-rw-r--r--security/libfwbuilder/buildlink3.mk4
-rw-r--r--security/libgcrypt/buildlink3.mk4
-rw-r--r--security/libgpg-error/buildlink3.mk4
-rw-r--r--security/libidea/buildlink3.mk4
-rw-r--r--security/libident/buildlink3.mk4
-rw-r--r--security/libksba/buildlink3.mk4
-rw-r--r--security/libksba04/buildlink3.mk4
-rw-r--r--security/libmcrypt/buildlink3.mk4
-rw-r--r--security/libnasl/buildlink3.mk4
-rw-r--r--security/libprelude/buildlink3.mk4
-rw-r--r--security/libpreludedb/buildlink3.mk4
-rw-r--r--security/libssh/buildlink3.mk4
-rw-r--r--security/libtasn1/buildlink3.mk4
-rw-r--r--security/libtcpa/buildlink3.mk4
-rw-r--r--security/mhash/buildlink3.mk4
-rw-r--r--security/mit-krb5/buildlink3.mk4
-rw-r--r--security/nessus-core/buildlink3.mk4
-rw-r--r--security/nessus-libraries/buildlink3.mk4
-rw-r--r--security/opencdk/buildlink3.mk4
-rw-r--r--security/openpam/buildlink3.mk4
-rw-r--r--security/openssl/buildlink3.mk4
-rw-r--r--security/pflkm/buildlink3.mk4
-rw-r--r--security/pinentry/buildlink3.mk4
-rw-r--r--security/py-amkCrypto/buildlink3.mk4
-rw-r--r--security/qca/buildlink3.mk4
-rw-r--r--security/rsaref/buildlink3.mk4
-rw-r--r--security/seahorse/buildlink3.mk4
-rw-r--r--security/skey/buildlink3.mk4
-rw-r--r--security/tcl-tls/buildlink3.mk4
-rw-r--r--security/tcp_wrappers/buildlink3.mk4
-rw-r--r--sysutils/amanda-common/buildlink3.mk4
-rw-r--r--sysutils/dbus-glib/buildlink3.mk4
-rw-r--r--sysutils/dbus/buildlink3.mk4
-rw-r--r--sysutils/desktop-file-utils/buildlink3.mk4
-rw-r--r--sysutils/fam/buildlink3.mk4
-rw-r--r--sysutils/file/buildlink3.mk4
-rw-r--r--sysutils/gamin/buildlink3.mk4
-rw-r--r--sysutils/gkrellm/buildlink3.mk4
-rw-r--r--sysutils/gkrellm1/buildlink3.mk4
-rw-r--r--sysutils/gnome-menus/buildlink3.mk4
-rw-r--r--sysutils/gnome-vfs/buildlink3.mk4
-rw-r--r--sysutils/gnome-vfs2/buildlink3.mk4
-rw-r--r--sysutils/gnome-vfsmm/buildlink3.mk4
-rw-r--r--sysutils/gst-plugins0.8-gnomevfs/buildlink3.mk4
-rw-r--r--sysutils/libgtop2/buildlink3.mk4
-rw-r--r--sysutils/libnotify/buildlink3.mk4
-rw-r--r--sysutils/libol/buildlink3.mk4
-rw-r--r--sysutils/medusa/buildlink3.mk4
-rw-r--r--sysutils/nautilus-cd-burner/buildlink3.mk4
-rw-r--r--sysutils/nautilus/buildlink3.mk4
-rw-r--r--sysutils/pciutils/buildlink3.mk4
-rw-r--r--sysutils/py-dbus/buildlink3.mk4
-rw-r--r--sysutils/vcdimager-devel/buildlink3.mk4
-rw-r--r--sysutils/xfce4-appfinder/buildlink3.mk4
-rw-r--r--sysutils/xfce4-cpugraph-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-diskperf-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-fm/buildlink3.mk4
-rw-r--r--sysutils/xfce4-fsguard-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-minicmd-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-netload-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-quicklauncher-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-showdesktop-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-systemload-plugin/buildlink3.mk4
-rw-r--r--sysutils/xfce4-systray/buildlink3.mk4
-rw-r--r--sysutils/xfce4-xkb-plugin/buildlink3.mk4
-rw-r--r--textproc/aiksaurus/buildlink3.mk4
-rw-r--r--textproc/aspell/buildlink3.mk4
-rw-r--r--textproc/btparse/buildlink3.mk4
-rw-r--r--textproc/chasen-base/buildlink3.mk4
-rw-r--r--textproc/chasen/buildlink3.mk4
-rw-r--r--textproc/eb/buildlink3.mk4
-rw-r--r--textproc/enchant/buildlink3.mk4
-rw-r--r--textproc/expat/buildlink3.mk4
-rw-r--r--textproc/gdome2/buildlink3.mk4
-rw-r--r--textproc/gnome-doc-utils/buildlink3.mk4
-rw-r--r--textproc/gnome-spell/buildlink3.mk4
-rw-r--r--textproc/gtk-doc/buildlink3.mk4
-rw-r--r--textproc/gtkspell/buildlink3.mk4
-rw-r--r--textproc/hre/buildlink3.mk4
-rw-r--r--textproc/icu/buildlink3.mk4
-rw-r--r--textproc/iso-codes/buildlink3.mk4
-rw-r--r--textproc/jade/buildlink3.mk4
-rw-r--r--textproc/kakasi/buildlink3.mk4
-rw-r--r--textproc/libcroco/buildlink3.mk4
-rw-r--r--textproc/libpathan/buildlink3.mk4
-rw-r--r--textproc/libunicode/buildlink3.mk4
-rw-r--r--textproc/libxml++2/buildlink3.mk4
-rw-r--r--textproc/libxml/buildlink3.mk4
-rw-r--r--textproc/libxml2/buildlink3.mk4
-rw-r--r--textproc/libxslt/buildlink3.mk4
-rw-r--r--textproc/opensp/buildlink3.mk4
-rw-r--r--textproc/py-xml/buildlink3.mk4
-rw-r--r--textproc/raptor/buildlink3.mk4
-rw-r--r--textproc/ruby-eruby/buildlink3.mk4
-rw-r--r--textproc/ruby-rdtool/buildlink3.mk4
-rw-r--r--textproc/sablotron/buildlink3.mk4
-rw-r--r--textproc/scrollkeeper/buildlink3.mk4
-rw-r--r--textproc/xalan-c/buildlink3.mk4
-rw-r--r--textproc/xerces-c/buildlink3.mk4
-rw-r--r--textproc/xmlcatmgr/buildlink3.mk4
-rw-r--r--time/py-mxDateTime/buildlink3.mk4
-rw-r--r--time/xfce4-calendar/buildlink3.mk4
-rw-r--r--time/xfce4-datetime-plugin/buildlink3.mk4
-rw-r--r--wm/metacity/buildlink3.mk4
-rw-r--r--wm/openbox/buildlink3.mk4
-rw-r--r--wm/windowmaker/buildlink3.mk4
-rw-r--r--wm/xfce4-wm-themes/buildlink3.mk4
-rw-r--r--wm/xfce4-wm/buildlink3.mk4
-rw-r--r--www/ap-perl/buildlink3.mk4
-rw-r--r--www/ap2-perl/buildlink3.mk4
-rw-r--r--www/apache/buildlink3.mk4
-rw-r--r--www/apache2/buildlink3.mk4
-rw-r--r--www/cgic/buildlink3.mk4
-rw-r--r--www/cgilib/buildlink3.mk4
-rw-r--r--www/clearsilver/buildlink3.mk4
-rw-r--r--www/curl/buildlink3.mk4
-rw-r--r--www/epiphany/buildlink3.mk4
-rw-r--r--www/fcgi/buildlink3.mk4
-rw-r--r--www/firefox-gtk1/buildlink3.mk4
-rw-r--r--www/firefox/buildlink3.mk4
-rw-r--r--www/glibwww/buildlink3.mk4
-rw-r--r--www/gtkhtml/buildlink3.mk4
-rw-r--r--www/gtkhtml38/buildlink3.mk4
-rw-r--r--www/libghttp/buildlink3.mk4
-rw-r--r--www/libgtkhtml/buildlink3.mk4
-rw-r--r--www/libwww/buildlink3.mk4
-rw-r--r--www/mozilla-gtk2/buildlink3.mk4
-rw-r--r--www/mozilla/buildlink3.mk4
-rw-r--r--www/neon/buildlink3.mk4
-rw-r--r--www/php4/buildlink3.mk4
-rw-r--r--www/seamonkey-gtk1/buildlink3.mk4
-rw-r--r--www/seamonkey/buildlink3.mk4
-rw-r--r--www/sope/buildlink3.mk4
-rw-r--r--www/tidy/buildlink3.mk4
-rw-r--r--x11/Xaw-Xpm/buildlink3.mk4
-rw-r--r--x11/Xaw3d/buildlink3.mk4
-rw-r--r--x11/Xbae/buildlink3.mk4
-rw-r--r--x11/Xcomposite/buildlink3.mk4
-rw-r--r--x11/Xfixes/buildlink3.mk4
-rw-r--r--x11/XmHTML/buildlink3.mk4
-rw-r--r--x11/Xrandr-mixedcase/buildlink3.mk4
-rw-r--r--x11/Xrender/buildlink3.mk4
-rw-r--r--x11/blt/buildlink3.mk4
-rw-r--r--x11/compositeproto/buildlink3.mk4
-rw-r--r--x11/control-center/buildlink3.mk4
-rw-r--r--x11/efltk/buildlink3.mk4
-rw-r--r--x11/fixesproto/buildlink3.mk4
-rw-r--r--x11/fltk/buildlink3.mk4
-rw-r--r--x11/fox/buildlink3.mk4
-rw-r--r--x11/gnome-desktop/buildlink3.mk4
-rw-r--r--x11/gnome-libs/buildlink3.mk4
-rw-r--r--x11/gnome-mag/buildlink3.mk4
-rw-r--r--x11/gnome-panel/buildlink3.mk4
-rw-r--r--x11/gnome2-control-center/buildlink3.mk4
-rw-r--r--x11/gnustep-back/buildlink3.mk4
-rw-r--r--x11/gnustep-gui/buildlink3.mk4
-rw-r--r--x11/gnustep-preferences/buildlink3.mk4
-rw-r--r--x11/gtk+extra/buildlink3.mk4
-rw-r--r--x11/gtk/buildlink3.mk4
-rw-r--r--x11/gtk2+extra/buildlink3.mk4
-rw-r--r--x11/gtk2-engines/buildlink3.mk4
-rw-r--r--x11/gtk2/buildlink3.mk4
-rw-r--r--x11/gtkglarea/buildlink3.mk4
-rw-r--r--x11/gtkglarea2/buildlink3.mk4
-rw-r--r--x11/gtkmm/buildlink3.mk4
-rw-r--r--x11/gtksourceview/buildlink3.mk4
-rw-r--r--x11/gtoolkit/buildlink3.mk4
-rw-r--r--x11/kdebase3/buildlink3.mk4
-rw-r--r--x11/kdelibs3/buildlink3.mk4
-rw-r--r--x11/lablgtk/buildlink3.mk4
-rw-r--r--x11/lablgtk2/buildlink3.mk4
-rw-r--r--x11/lesstif/buildlink3.mk4
-rw-r--r--x11/libexo/buildlink3.mk4
-rw-r--r--x11/libxfce4gui/buildlink3.mk4
-rw-r--r--x11/libxfce4mcs/buildlink3.mk4
-rw-r--r--x11/libxfce4util/buildlink3.mk4
-rw-r--r--x11/libxklavier/buildlink3.mk4
-rw-r--r--x11/libzvt/buildlink3.mk4
-rw-r--r--x11/mowitz/buildlink3.mk4
-rw-r--r--x11/neXtaw/buildlink3.mk4
-rw-r--r--x11/ocaml-graphics/buildlink3.mk4
-rw-r--r--x11/openmotif/buildlink3.mk4
-rw-r--r--x11/paragui/buildlink3.mk4
-rw-r--r--x11/py-Pmw/buildlink3.mk4
-rw-r--r--x11/py-Tk/buildlink3.mk4
-rw-r--r--x11/py-Xlib/buildlink3.mk4
-rw-r--r--x11/py-gnome2-extras/buildlink3.mk4
-rw-r--r--x11/py-gnome2/buildlink3.mk4
-rw-r--r--x11/py-gtk2/buildlink3.mk4
-rw-r--r--x11/py-qt2-sip/buildlink3.mk4
-rw-r--r--x11/py-qt3-base/buildlink3.mk4
-rw-r--r--x11/py-qt3-modules/buildlink3.mk4
-rw-r--r--x11/py-qt3-sip/buildlink3.mk4
-rw-r--r--x11/py-wxWidgets/buildlink3.mk4
-rw-r--r--x11/pygtk/buildlink3.mk4
-rw-r--r--x11/qt1/buildlink3.mk4
-rw-r--r--x11/qt2-designer/buildlink3.mk4
-rw-r--r--x11/qt2-libs/buildlink3.mk4
-rw-r--r--x11/qt3-libs/buildlink3.mk4
-rw-r--r--x11/qt3-qscintilla/buildlink3.mk4
-rw-r--r--x11/qt3-tools/buildlink3.mk4
-rw-r--r--x11/qt4-libs/buildlink3.mk4
-rw-r--r--x11/qt4-tools/buildlink3.mk4
-rw-r--r--x11/randrproto/buildlink3.mk4
-rw-r--r--x11/renderproto/buildlink3.mk4
-rw-r--r--x11/startup-notification/buildlink3.mk4
-rw-r--r--x11/tk-BWidget/buildlink3.mk4
-rw-r--r--x11/tk/buildlink3.mk4
-rw-r--r--x11/tk83/buildlink3.mk4
-rw-r--r--x11/vte/buildlink3.mk4
-rw-r--r--x11/wxGTK-contrib/buildlink3.mk4
-rw-r--r--x11/wxGTK/buildlink3.mk4
-rw-r--r--x11/wxGTK24/buildlink3.mk4
-rw-r--r--x11/xcursor/buildlink3.mk4
-rw-r--r--x11/xextproto/buildlink3.mk4
-rw-r--r--x11/xfce4-clipman-plugin/buildlink3.mk4
-rw-r--r--x11/xfce4-desktop/buildlink3.mk4
-rw-r--r--x11/xfce4-gtk2-engine/buildlink3.mk4
-rw-r--r--x11/xfce4-mcs-manager/buildlink3.mk4
-rw-r--r--x11/xfce4-mcs-plugins/buildlink3.mk4
-rw-r--r--x11/xfce4-notes-plugin/buildlink3.mk4
-rw-r--r--x11/xfce4-panel/buildlink3.mk4
-rw-r--r--x11/xfce4-session/buildlink3.mk4
-rw-r--r--x11/xfce4-taskbar-plugin/buildlink3.mk4
-rw-r--r--x11/xfce4-toys/buildlink3.mk4
-rw-r--r--x11/xfce4-trigger-launcher/buildlink3.mk4
-rw-r--r--x11/xfce4-utils/buildlink3.mk4
-rw-r--r--x11/xfce4-windowlist-plugin/buildlink3.mk4
-rw-r--r--x11/xforms/buildlink3.mk4
-rw-r--r--x11/xosd/buildlink3.mk4
-rw-r--r--x11/xproto/buildlink3.mk4
-rw-r--r--x11/xscreensaver/buildlink3.mk4
-rw-r--r--x11/xview-lib/buildlink3.mk4
913 files changed, 1851 insertions, 1824 deletions
diff --git a/archivers/bzip2/buildlink3.mk b/archivers/bzip2/buildlink3.mk
index 16d9f54f49b..97fa3bc487b 100644
--- a/archivers/bzip2/buildlink3.mk
+++ b/archivers/bzip2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 22:38:58 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BZIP2_BUILDLINK3_MK:= ${BZIP2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= bzip2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbzip2}
BUILDLINK_PACKAGES+= bzip2
-BUILDLINK_ORDER+= bzip2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bzip2
.if !empty(BZIP2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.1
diff --git a/archivers/libcomprex/buildlink3.mk b/archivers/libcomprex/buildlink3.mk
index c84d91a037c..9206db5ceac 100644
--- a/archivers/libcomprex/buildlink3.mk
+++ b/archivers/libcomprex/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:38:58 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCOMPREX_BUILDLINK3_MK:= ${LIBCOMPREX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcomprex
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcomprex}
BUILDLINK_PACKAGES+= libcomprex
-BUILDLINK_ORDER+= libcomprex
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcomprex
.if !empty(LIBCOMPREX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcomprex+= libcomprex>=0.3.2
diff --git a/archivers/liblzo/buildlink3.mk b/archivers/liblzo/buildlink3.mk
index a536568df02..2c8bcefdb39 100644
--- a/archivers/liblzo/buildlink3.mk
+++ b/archivers/liblzo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:38:58 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBLZO_BUILDLINK3_MK:= ${LIBLZO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= liblzo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nliblzo}
BUILDLINK_PACKAGES+= liblzo
-BUILDLINK_ORDER+= liblzo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}liblzo
.if !empty(LIBLZO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.liblzo+= liblzo>=1.08
diff --git a/archivers/libzip/buildlink3.mk b/archivers/libzip/buildlink3.mk
index 0debad5b838..b7ec38bf827 100644
--- a/archivers/libzip/buildlink3.mk
+++ b/archivers/libzip/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:38:58 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBZIP_BUILDLINK3_MK:= ${LIBZIP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libzip
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibzip}
BUILDLINK_PACKAGES+= libzip
-BUILDLINK_ORDER+= libzip
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libzip
.if !empty(LIBZIP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libzip+= libzip>=0.7.1
diff --git a/archivers/lzo/buildlink3.mk b/archivers/lzo/buildlink3.mk
index cffb7bb951a..747f6f2af17 100644
--- a/archivers/lzo/buildlink3.mk
+++ b/archivers/lzo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LZO_BUILDLINK3_MK:= ${LZO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lzo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlzo}
BUILDLINK_PACKAGES+= lzo
-BUILDLINK_ORDER+= lzo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lzo
.if !empty(LZO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lzo+= lzo>=2.01
diff --git a/archivers/szip/buildlink3.mk b/archivers/szip/buildlink3.mk
index 472c3b27aee..959aef2b06c 100644
--- a/archivers/szip/buildlink3.mk
+++ b/archivers/szip/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SZIP_BUILDLINK3_MK:= ${SZIP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= szip
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nszip}
BUILDLINK_PACKAGES+= szip
-BUILDLINK_ORDER+= szip
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}szip
.if !empty(SZIP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.szip+= szip>=2.0
diff --git a/archivers/ucl/buildlink3.mk b/archivers/ucl/buildlink3.mk
index 52678c37ebe..a912195abaa 100644
--- a/archivers/ucl/buildlink3.mk
+++ b/archivers/ucl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UCL_BUILDLINK3_MK:= ${UCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ucl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nucl}
BUILDLINK_PACKAGES+= ucl
-BUILDLINK_ORDER+= ucl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ucl
.if !empty(UCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ucl+= ucl>=1.03
diff --git a/archivers/zziplib/buildlink3.mk b/archivers/zziplib/buildlink3.mk
index e290bc82126..32de5c7122a 100644
--- a/archivers/zziplib/buildlink3.mk
+++ b/archivers/zziplib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ZZIPLIB_BUILDLINK3_MK:= ${ZZIPLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= zziplib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzziplib}
BUILDLINK_PACKAGES+= zziplib
-BUILDLINK_ORDER+= zziplib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}zziplib
.if !empty(ZZIPLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.zziplib+= zziplib>=0.10.82
diff --git a/audio/SDL_mixer/buildlink3.mk b/audio/SDL_mixer/buildlink3.mk
index 4cc791b31ef..a9856301a4d 100644
--- a/audio/SDL_mixer/buildlink3.mk
+++ b/audio/SDL_mixer/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_MIXER_BUILDLINK3_MK:= ${SDL_MIXER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL_mixer
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_mixer}
BUILDLINK_PACKAGES+= SDL_mixer
-BUILDLINK_ORDER+= SDL_mixer
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_mixer
.if !empty(SDL_MIXER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL_mixer+= SDL_mixer>=1.2.5nb2
diff --git a/audio/SDL_sound/buildlink3.mk b/audio/SDL_sound/buildlink3.mk
index 91e0c371ae3..4c665cb003b 100644
--- a/audio/SDL_sound/buildlink3.mk
+++ b/audio/SDL_sound/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_SOUND_BUILDLINK3_MK:= ${SDL_SOUND_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL_sound
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_sound}
BUILDLINK_PACKAGES+= SDL_sound
-BUILDLINK_ORDER+= SDL_sound
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_sound
.if !empty(SDL_SOUND_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL_sound+= SDL_sound>=1.0.1
diff --git a/audio/arts/buildlink3.mk b/audio/arts/buildlink3.mk
index 84c666452a3..27810e0571e 100644
--- a/audio/arts/buildlink3.mk
+++ b/audio/arts/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ARTS_BUILDLINK3_MK:= ${ARTS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= arts
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Narts}
BUILDLINK_PACKAGES+= arts
-BUILDLINK_ORDER+= arts
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}arts
.if !empty(ARTS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.arts+= arts>=1.1.4nb1
diff --git a/audio/bmp/buildlink3.mk b/audio/bmp/buildlink3.mk
index e1912f214bd..447eaf317be 100644
--- a/audio/bmp/buildlink3.mk
+++ b/audio/bmp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BMP_BUILDLINK3_MK:= ${BMP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= bmp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbmp}
BUILDLINK_PACKAGES+= bmp
-BUILDLINK_ORDER+= bmp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bmp
.if !empty(BMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bmp+= bmp>=0.9.7rc2nb3
diff --git a/audio/cddb-bundle/buildlink3.mk b/audio/cddb-bundle/buildlink3.mk
index e964b7281d7..8203ee17cfa 100644
--- a/audio/cddb-bundle/buildlink3.mk
+++ b/audio/cddb-bundle/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CDDB_BUNDLE_BUILDLINK3_MK:= ${CDDB_BUNDLE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cddb-bundle
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncddb-bundle}
BUILDLINK_PACKAGES+= cddb-bundle
-BUILDLINK_ORDER+= cddb-bundle
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cddb-bundle
.if !empty(CDDB_BUNDLE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cddb-bundle+= cddb-bundle>=0.2
diff --git a/audio/cdparanoia/buildlink3.mk b/audio/cdparanoia/buildlink3.mk
index 2a683fa1a8f..927ef6084b5 100644
--- a/audio/cdparanoia/buildlink3.mk
+++ b/audio/cdparanoia/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CDPARANOIA_BUILDLINK3_MK:= ${CDPARANOIA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cdparanoia
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdparanoia}
BUILDLINK_PACKAGES+= cdparanoia
-BUILDLINK_ORDER+= cdparanoia
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cdparanoia
.if !empty(CDPARANOIA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cdparanoia+= cdparanoia>=3.0
diff --git a/audio/cdplayer/buildlink3.mk b/audio/cdplayer/buildlink3.mk
index ee801669202..cdfafc7f18e 100644
--- a/audio/cdplayer/buildlink3.mk
+++ b/audio/cdplayer/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CDPLAYER_BUILDLINK3_MK:= ${CDPLAYER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cdplayer
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdplayer}
BUILDLINK_PACKAGES+= cdplayer
-BUILDLINK_ORDER+= cdplayer
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cdplayer
.if !empty(CDPLAYER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cdplayer+= cdplayer>=0.4.2
diff --git a/audio/esound/buildlink3.mk b/audio/esound/buildlink3.mk
index d20d5acd965..75502e6f91c 100644
--- a/audio/esound/buildlink3.mk
+++ b/audio/esound/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ESOUND_BUILDLINK3_MK:= ${ESOUND_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= esound
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nesound}
BUILDLINK_PACKAGES+= esound
-BUILDLINK_ORDER+= esound
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}esound
.if !empty(ESOUND_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.esound+= esound>=0.2.18
diff --git a/audio/faac/buildlink3.mk b/audio/faac/buildlink3.mk
index dbbdf74b200..808b0d36a49 100644
--- a/audio/faac/buildlink3.mk
+++ b/audio/faac/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FAAC_BUILDLINK3_MK:= ${FAAC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= faac
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfaac}
BUILDLINK_PACKAGES+= faac
-BUILDLINK_ORDER+= faac
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}faac
.if !empty(FAAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.faac+= faac>=1.24
diff --git a/audio/faad2/buildlink3.mk b/audio/faad2/buildlink3.mk
index d0375e1285a..277959f6ee9 100644
--- a/audio/faad2/buildlink3.mk
+++ b/audio/faad2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FAAD2_BUILDLINK3_MK:= ${FAAD2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= faad2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfaad2}
BUILDLINK_PACKAGES+= faad2
-BUILDLINK_ORDER+= faad2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}faad2
.if !empty(FAAD2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.faad2+= faad2>=2.0nb3
diff --git a/audio/flac/buildlink3.mk b/audio/flac/buildlink3.mk
index 253b30204cb..570473a7875 100644
--- a/audio/flac/buildlink3.mk
+++ b/audio/flac/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FLAC_BUILDLINK3_MK:= ${FLAC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= flac
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflac}
BUILDLINK_PACKAGES+= flac
-BUILDLINK_ORDER+= flac
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flac
.if !empty(FLAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.flac+= flac>=1.1.0nb1
diff --git a/audio/fluidsynth/buildlink3.mk b/audio/fluidsynth/buildlink3.mk
index 862736f77df..e998aaae83c 100644
--- a/audio/fluidsynth/buildlink3.mk
+++ b/audio/fluidsynth/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:35 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FLUIDSYNTH_BUILDLINK3_MK:= ${FLUIDSYNTH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fluidsynth
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfluidsynth}
BUILDLINK_PACKAGES+= fluidsynth
-BUILDLINK_ORDER+= fluidsynth
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fluidsynth
.if !empty(FLUIDSYNTH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fluidsynth+= fluidsynth>=1.0.5
diff --git a/audio/gnome-speech/buildlink3.mk b/audio/gnome-speech/buildlink3.mk
index 96bf14b8611..8cf40439e4b 100644
--- a/audio/gnome-speech/buildlink3.mk
+++ b/audio/gnome-speech/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_SPEECH_BUILDLINK3_MK:= ${GNOME_SPEECH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-speech
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-speech}
BUILDLINK_PACKAGES+= gnome-speech
-BUILDLINK_ORDER+= gnome-speech
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-speech
.if !empty(GNOME_SPEECH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-speech+= gnome-speech>=0.3.2
diff --git a/audio/goom/buildlink3.mk b/audio/goom/buildlink3.mk
index 751c609ee60..9f81f7b3640 100644
--- a/audio/goom/buildlink3.mk
+++ b/audio/goom/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GOOM_BUILDLINK3_MK:= ${GOOM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= goom
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngoom}
BUILDLINK_PACKAGES+= goom
-BUILDLINK_ORDER+= goom
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}goom
.if !empty(GOOM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.goom+= goom>=2004.0
diff --git a/audio/gsm/buildlink3.mk b/audio/gsm/buildlink3.mk
index bdf18e63ef8..2835bce3c75 100644
--- a/audio/gsm/buildlink3.mk
+++ b/audio/gsm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSM_BUILDLINK3_MK:= ${GSM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gsm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngsm}
BUILDLINK_PACKAGES+= gsm
-BUILDLINK_ORDER+= gsm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gsm
.if !empty(GSM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gsm+= gsm>=1.0.10
diff --git a/audio/gst-plugins0.8-artsd/buildlink3.mk b/audio/gst-plugins0.8-artsd/buildlink3.mk
index 75d41c35821..80940e1d3a0 100644
--- a/audio/gst-plugins0.8-artsd/buildlink3.mk
+++ b/audio/gst-plugins0.8-artsd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:38:59 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.8_ARTSD_BUILDLINK3_MK:= ${GST_PLUGINS0.8_ARTSD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.8-artsd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.8-artsd}
BUILDLINK_PACKAGES+= gst-plugins0.8-artsd
-BUILDLINK_ORDER+= gst-plugins0.8-artsd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.8-artsd
.if !empty(GST_PLUGINS0.8_ARTSD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.8-artsd+= gst-plugins0.8-artsd>=0.8.11
diff --git a/audio/gst-plugins0.8-esound/buildlink3.mk b/audio/gst-plugins0.8-esound/buildlink3.mk
index 82a2aac96b1..7a168fc9e46 100644
--- a/audio/gst-plugins0.8-esound/buildlink3.mk
+++ b/audio/gst-plugins0.8-esound/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.8_ESOUND_BUILDLINK3_MK:= ${GST_PLUGINS0.8_ESOUND_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.8-esound
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.8-esound}
BUILDLINK_PACKAGES+= gst-plugins0.8-esound
-BUILDLINK_ORDER+= gst-plugins0.8-esound
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.8-esound
.if !empty(GST_PLUGINS0.8_ESOUND_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.8-esound+= gst-plugins0.8-esound>=0.8.11
diff --git a/audio/gst-plugins0.8-mad/buildlink3.mk b/audio/gst-plugins0.8-mad/buildlink3.mk
index 17e2373c6d5..f98d7b4ecb8 100644
--- a/audio/gst-plugins0.8-mad/buildlink3.mk
+++ b/audio/gst-plugins0.8-mad/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.8_MAD_BUILDLINK3_MK:= ${GST_PLUGINS0.8_MAD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.8-mad
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.8-mad}
BUILDLINK_PACKAGES+= gst-plugins0.8-mad
-BUILDLINK_ORDER+= gst-plugins0.8-mad
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.8-mad
.if !empty(GST_PLUGINS0.8_MAD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.8-mad+= gst-plugins0.8-mad>=0.8.11
diff --git a/audio/id3lib/buildlink3.mk b/audio/id3lib/buildlink3.mk
index 3b96abc5b4c..d503d49248f 100644
--- a/audio/id3lib/buildlink3.mk
+++ b/audio/id3lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ID3LIB_BUILDLINK3_MK:= ${ID3LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= id3lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nid3lib}
BUILDLINK_PACKAGES+= id3lib
-BUILDLINK_ORDER+= id3lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}id3lib
.if !empty(ID3LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.id3lib+= id3lib>=3.8.3
diff --git a/audio/jack/buildlink3.mk b/audio/jack/buildlink3.mk
index a359f5d12d7..025cac90a2d 100644
--- a/audio/jack/buildlink3.mk
+++ b/audio/jack/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:36 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= jack
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njack}
BUILDLINK_PACKAGES+= jack
-BUILDLINK_ORDER+= jack
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jack
.if !empty(JACK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jack= jack>=0.100.0
diff --git a/audio/ladspa/buildlink3.mk b/audio/ladspa/buildlink3.mk
index 884b0e182b0..a0efb23f406 100644
--- a/audio/ladspa/buildlink3.mk
+++ b/audio/ladspa/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LADSPA_BUILDLINK3_MK:= ${LADSPA_BUILDLINK3_MK}+
@@ -9,11 +9,11 @@ BUILDLINK_DEPENDS+= ladspa
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nladspa}
BUILDLINK_PACKAGES+= ladspa
-BUILDLINK_ORDER+= ladspa
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ladspa
.if !empty(LADSPA_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= ladspa
-BUILDLINK_ORDER+= ladspa
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ladspa
BUILDLINK_API_DEPENDS.ladspa+= ladspa>=1.12
BUILDLINK_ABI_DEPENDS.ladspa?= ladspa>=1.12nb1
BUILDLINK_PKGSRCDIR.ladspa?= ../../audio/ladspa
diff --git a/audio/lame/buildlink3.mk b/audio/lame/buildlink3.mk
index 6b6fb4bdaed..fa64eb83990 100644
--- a/audio/lame/buildlink3.mk
+++ b/audio/lame/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LAME_BUILDLINK3_MK:= ${LAME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lame
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlame}
BUILDLINK_PACKAGES+= lame
-BUILDLINK_ORDER+= lame
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lame
.if !empty(LAME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lame+= lame>=3.93.1nb2
diff --git a/audio/liba52/buildlink3.mk b/audio/liba52/buildlink3.mk
index ebf4e942613..cddd09dde9a 100644
--- a/audio/liba52/buildlink3.mk
+++ b/audio/liba52/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBA52_BUILDLINK3_MK:= ${LIBA52_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= liba52
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nliba52}
BUILDLINK_PACKAGES+= liba52
-BUILDLINK_ORDER+= liba52
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}liba52
.if !empty(LIBA52_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.liba52+= liba52>=0.7.4
diff --git a/audio/libao/buildlink3.mk b/audio/libao/buildlink3.mk
index ed6122f28ed..eb07ca282e0 100644
--- a/audio/libao/buildlink3.mk
+++ b/audio/libao/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBAO_BUILDLINK3_MK:= ${LIBAO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libao
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibao}
BUILDLINK_PACKAGES+= libao
-BUILDLINK_ORDER+= libao
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libao
.if !empty(LIBAO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libao+= libao>=0.8.4
diff --git a/audio/libaudiofile/buildlink3.mk b/audio/libaudiofile/buildlink3.mk
index 27a5e6db981..9608fca635d 100644
--- a/audio/libaudiofile/buildlink3.mk
+++ b/audio/libaudiofile/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AUDIOFILE_BUILDLINK3_MK:= ${AUDIOFILE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= audiofile
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Naudiofile}
BUILDLINK_PACKAGES+= audiofile
-BUILDLINK_ORDER+= audiofile
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}audiofile
.if !empty(AUDIOFILE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.audiofile+= libaudiofile>=0.2.1
diff --git a/audio/libcdaudio/buildlink3.mk b/audio/libcdaudio/buildlink3.mk
index 1869e39cf50..51263903c30 100644
--- a/audio/libcdaudio/buildlink3.mk
+++ b/audio/libcdaudio/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCDAUDIO_BUILDLINK3_MK:= ${LIBCDAUDIO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcdaudio
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcdaudio}
BUILDLINK_PACKAGES+= libcdaudio
-BUILDLINK_ORDER+= libcdaudio
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcdaudio
.if !empty(LIBCDAUDIO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcdaudio+= libcdaudio>=0.99.4nb1
diff --git a/audio/libcddb/buildlink3.mk b/audio/libcddb/buildlink3.mk
index 0ab3a37641e..44470525499 100644
--- a/audio/libcddb/buildlink3.mk
+++ b/audio/libcddb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCDDB_BUILDLINK3_MK:= ${LIBCDDB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcddb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcddb}
BUILDLINK_PACKAGES+= libcddb
-BUILDLINK_ORDER+= libcddb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcddb
.if !empty(LIBCDDB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcddb+= libcddb>=0.9.4
diff --git a/audio/libdca/buildlink3.mk b/audio/libdca/buildlink3.mk
index 830fa1e4bec..79a57516120 100644
--- a/audio/libdca/buildlink3.mk
+++ b/audio/libdca/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:36 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= libdca
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdca}
BUILDLINK_PACKAGES+= libdca
-BUILDLINK_ORDER+= libdca
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdca
.if !empty(LIBDTS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdca+= libdca>=0.0.2
diff --git a/audio/libhydrogen/buildlink3.mk b/audio/libhydrogen/buildlink3.mk
index 266250fbff3..aafb26f1eb9 100644
--- a/audio/libhydrogen/buildlink3.mk
+++ b/audio/libhydrogen/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBHYDROGEN_BUILDLINK3_MK:= ${LIBHYDROGEN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libhydrogen
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibhydrogen}
BUILDLINK_PACKAGES+= libhydrogen
-BUILDLINK_ORDER+= libhydrogen
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libhydrogen
.if !empty(LIBHYDROGEN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libhydrogen+= libhydrogen>=0.8.0
diff --git a/audio/libid3tag/buildlink3.mk b/audio/libid3tag/buildlink3.mk
index c4270210908..b2286c3fa36 100644
--- a/audio/libid3tag/buildlink3.mk
+++ b/audio/libid3tag/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBID3TAG_BUILDLINK3_MK:= ${LIBID3TAG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libid3tag
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibid3tag}
BUILDLINK_PACKAGES+= libid3tag
-BUILDLINK_ORDER+= libid3tag
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libid3tag
.if !empty(LIBID3TAG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libid3tag+= libid3tag>=0.15.0b
diff --git a/audio/libmad/buildlink3.mk b/audio/libmad/buildlink3.mk
index 522a48ba758..83cae9d3c02 100644
--- a/audio/libmad/buildlink3.mk
+++ b/audio/libmad/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMAD_BUILDLINK3_MK:= ${LIBMAD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmad
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmad}
BUILDLINK_PACKAGES+= libmad
-BUILDLINK_ORDER+= libmad
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmad
.if !empty(LIBMAD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmad+= libmad>=0.15.0b
diff --git a/audio/libmikmod/buildlink3.mk b/audio/libmikmod/buildlink3.mk
index 8b0a932c5b5..c4a2ec4945c 100644
--- a/audio/libmikmod/buildlink3.mk
+++ b/audio/libmikmod/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMIKMOD_BUILDLINK3_MK:= ${LIBMIKMOD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmikmod
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmikmod}
BUILDLINK_PACKAGES+= libmikmod
-BUILDLINK_ORDER+= libmikmod
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmikmod
.if ${LIBMIKMOD_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libmikmod+= libmikmod>=3.1.9
diff --git a/audio/libmodplug/buildlink3.mk b/audio/libmodplug/buildlink3.mk
index d56d8c909a8..839de556fe1 100644
--- a/audio/libmodplug/buildlink3.mk
+++ b/audio/libmodplug/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMODPLUG_BUILDLINK3_MK:= ${LIBMODPLUG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmodplug
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmodplug}
BUILDLINK_PACKAGES+= libmodplug
-BUILDLINK_ORDER+= libmodplug
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmodplug
.if !empty(LIBMODPLUG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmodplug+= libmodplug>=0.7
diff --git a/audio/libmpd/buildlink3.mk b/audio/libmpd/buildlink3.mk
index 01ae1677e20..d0f9b4796e7 100644
--- a/audio/libmpd/buildlink3.mk
+++ b/audio/libmpd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMPD_BUILDLINK3_MK:= ${LIBMPD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmpd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpd}
BUILDLINK_PACKAGES+= libmpd
-BUILDLINK_ORDER+= libmpd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmpd
.if !empty(LIBMPD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmpd+= libmpd>=0.12.0
diff --git a/audio/libmusepack/buildlink3.mk b/audio/libmusepack/buildlink3.mk
index 16a7bf20deb..501d6b66830 100644
--- a/audio/libmusepack/buildlink3.mk
+++ b/audio/libmusepack/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMUSEPACK_BUILDLINK3_MK:= ${LIBMUSEPACK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmusepack
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmusepack}
BUILDLINK_PACKAGES+= libmusepack
-BUILDLINK_ORDER+= libmusepack
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmusepack
.if !empty(LIBMUSEPACK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmusepack+= libmusepack>=1.0.3
diff --git a/audio/libopendaap/buildlink3.mk b/audio/libopendaap/buildlink3.mk
index 2a8472e2bd0..b04f5ad4fc5 100644
--- a/audio/libopendaap/buildlink3.mk
+++ b/audio/libopendaap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:00 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:36 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOPENDAAP_BUILDLINK3_MK:= ${LIBOPENDAAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libopendaap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibopendaap}
BUILDLINK_PACKAGES+= libopendaap
-BUILDLINK_ORDER+= libopendaap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libopendaap
.if !empty(LIBOPENDAAP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libopendaap+= libopendaap>=0.2.1
diff --git a/audio/libsamplerate/buildlink3.mk b/audio/libsamplerate/buildlink3.mk
index 42bedd89883..669649df571 100644
--- a/audio/libsamplerate/buildlink3.mk
+++ b/audio/libsamplerate/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSAMPLERATE_BUILDLINK3_MK:= ${LIBSAMPLERATE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsamplerate
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsamplerate}
BUILDLINK_PACKAGES+= libsamplerate
-BUILDLINK_ORDER+= libsamplerate
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsamplerate
.if !empty(LIBSAMPLERATE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsamplerate+= libsamplerate>=0.0.13nb1
diff --git a/audio/libshout/buildlink3.mk b/audio/libshout/buildlink3.mk
index 7a7b92d8d93..f199b9c4dc5 100644
--- a/audio/libshout/buildlink3.mk
+++ b/audio/libshout/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSHOUT_BUILDLINK3_MK:= ${LIBSHOUT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libshout
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibshout}
BUILDLINK_PACKAGES+= libshout
-BUILDLINK_ORDER+= libshout
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libshout
.if !empty(LIBSHOUT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libshout+= libshout>=2.0
diff --git a/audio/libsidplay/buildlink3.mk b/audio/libsidplay/buildlink3.mk
index 13cd2f9e60a..c4ae2a838f7 100644
--- a/audio/libsidplay/buildlink3.mk
+++ b/audio/libsidplay/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSIDPLAY_BUILDLINK3_MK:= ${LIBSIDPLAY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsidplay
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsidplay}
BUILDLINK_PACKAGES+= libsidplay
-BUILDLINK_ORDER+= libsidplay
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsidplay
.if !empty(LIBSIDPLAY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsidplay+= libsidplay>=1.36.38
diff --git a/audio/libsidplay2/buildlink3.mk b/audio/libsidplay2/buildlink3.mk
index e66244ada70..b4b744de157 100644
--- a/audio/libsidplay2/buildlink3.mk
+++ b/audio/libsidplay2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSIDPLAY2_BUILDLINK3_MK:= ${LIBSIDPLAY2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsidplay2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsidplay2}
BUILDLINK_PACKAGES+= libsidplay2
-BUILDLINK_ORDER+= libsidplay2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsidplay2
.if !empty(LIBSIDPLAY2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsidplay2+= libsidplay2>=2.0.9
diff --git a/audio/libsndfile/buildlink3.mk b/audio/libsndfile/buildlink3.mk
index 8be33563e44..92dff66254b 100644
--- a/audio/libsndfile/buildlink3.mk
+++ b/audio/libsndfile/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSNDFILE_BUILDLINK3_MK:= ${LIBSNDFILE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsndfile
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsndfile}
BUILDLINK_PACKAGES+= libsndfile
-BUILDLINK_ORDER+= libsndfile
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsndfile
.if !empty(LIBSNDFILE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsndfile+= libsndfile>=1.0.0
diff --git a/audio/libtunepimp/buildlink3.mk b/audio/libtunepimp/buildlink3.mk
index c85ef436350..3fe506def9e 100644
--- a/audio/libtunepimp/buildlink3.mk
+++ b/audio/libtunepimp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTUNEPIMP_BUILDLINK3_MK:= ${LIBTUNEPIMP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtunepimp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtunepimp}
BUILDLINK_PACKAGES+= libtunepimp
-BUILDLINK_ORDER+= libtunepimp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtunepimp
.if !empty(LIBTUNEPIMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtunepimp+= libtunepimp>=0.4.2
diff --git a/audio/libvisual/buildlink3.mk b/audio/libvisual/buildlink3.mk
index 3bf2ec3f6e3..eac96854e7d 100644
--- a/audio/libvisual/buildlink3.mk
+++ b/audio/libvisual/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBVISUAL_BUILDLINK3_MK:= ${LIBVISUAL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libvisual
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvisual}
BUILDLINK_PACKAGES+= libvisual
-BUILDLINK_ORDER+= libvisual
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libvisual
.if !empty(LIBVISUAL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libvisual+= libvisual>=0.4.0
diff --git a/audio/libvisual0.2/buildlink3.mk b/audio/libvisual0.2/buildlink3.mk
index f8b5c248cee..c172676b10e 100644
--- a/audio/libvisual0.2/buildlink3.mk
+++ b/audio/libvisual0.2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBVISUAL0.2_BUILDLINK3_MK:= ${LIBVISUAL0.2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libvisual0.2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvisual0.2}
BUILDLINK_PACKAGES+= libvisual0.2
-BUILDLINK_ORDER+= libvisual0.2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libvisual0.2
.if ${LIBVISUAL0.2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libvisual0.2+= libvisual0.2>=0.2.0
diff --git a/audio/libvorbis/buildlink3.mk b/audio/libvorbis/buildlink3.mk
index e9e1e4d9e69..80f9836c473 100644
--- a/audio/libvorbis/buildlink3.mk
+++ b/audio/libvorbis/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBVORBIS_BUILDLINK3_MK:= ${LIBVORBIS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libvorbis
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvorbis}
BUILDLINK_PACKAGES+= libvorbis
-BUILDLINK_ORDER+= libvorbis
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libvorbis
.if !empty(LIBVORBIS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libvorbis+= libvorbis>=1.0.1
diff --git a/audio/musicbrainz/buildlink3.mk b/audio/musicbrainz/buildlink3.mk
index ae31fa3ac33..b45c617f7cb 100644
--- a/audio/musicbrainz/buildlink3.mk
+++ b/audio/musicbrainz/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MUSICBRAINZ_BUILDLINK3_MK:= ${MUSICBRAINZ_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= musicbrainz
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmusicbrainz}
BUILDLINK_PACKAGES+= musicbrainz
-BUILDLINK_ORDER+= musicbrainz
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}musicbrainz
.if !empty(MUSICBRAINZ_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.musicbrainz+= musicbrainz>=2.0.2
diff --git a/audio/nas/buildlink3.mk b/audio/nas/buildlink3.mk
index f519a984627..a4b8a481f06 100644
--- a/audio/nas/buildlink3.mk
+++ b/audio/nas/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NAS_BUILDLINK3_MK:= ${NAS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nas
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnas}
BUILDLINK_PACKAGES+= nas
-BUILDLINK_ORDER+= nas
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nas
.if !empty(NAS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nas+= nas>=1.4.2
diff --git a/audio/openal/buildlink3.mk b/audio/openal/buildlink3.mk
index fc3db1fdb26..8e205d62cd7 100644
--- a/audio/openal/buildlink3.mk
+++ b/audio/openal/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENAL_BUILDLINK3_MK:= ${OPENAL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openal
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenal}
BUILDLINK_PACKAGES+= openal
-BUILDLINK_ORDER+= openal
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openal
.if !empty(OPENAL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openal+= openal>=20030125nb1
diff --git a/audio/portaudio-devel/buildlink3.mk b/audio/portaudio-devel/buildlink3.mk
index 868b6e0b771..3f022c50421 100644
--- a/audio/portaudio-devel/buildlink3.mk
+++ b/audio/portaudio-devel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PORTAUDIO_DEVEL_BUILDLINK3_MK:= ${PORTAUDIO_DEVEL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= portaudio-devel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nportaudio-devel}
BUILDLINK_PACKAGES+= portaudio-devel
-BUILDLINK_ORDER+= portaudio-devel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}portaudio-devel
.if ${PORTAUDIO_DEVEL_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.portaudio-devel+= portaudio-devel>=20060521
diff --git a/audio/portaudio/buildlink3.mk b/audio/portaudio/buildlink3.mk
index dceeb7fcaac..5cba1b3d5ce 100644
--- a/audio/portaudio/buildlink3.mk
+++ b/audio/portaudio/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PORTAUDIO_BUILDLINK3_MK:= ${PORTAUDIO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= portaudio
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nportaudio}
BUILDLINK_PACKAGES+= portaudio
-BUILDLINK_ORDER+= portaudio
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}portaudio
.if !empty(PORTAUDIO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.portaudio+= portaudio>=18.1
diff --git a/audio/py-ogg/buildlink3.mk b/audio/py-ogg/buildlink3.mk
index 00b27cfe50b..85aea411101 100644
--- a/audio/py-ogg/buildlink3.mk
+++ b/audio/py-ogg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_OGG_BUILDLINK3_MK:= ${PY_OGG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pyogg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyogg}
BUILDLINK_PACKAGES+= pyogg
-BUILDLINK_ORDER+= pyogg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyogg
.if !empty(PY_OGG_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
diff --git a/audio/rplay/buildlink3.mk b/audio/rplay/buildlink3.mk
index 7c74facaec5..3140e76be74 100644
--- a/audio/rplay/buildlink3.mk
+++ b/audio/rplay/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RPLAY_BUILDLINK3_MK:= ${RPLAY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rplay
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrplay}
BUILDLINK_PACKAGES+= rplay
-BUILDLINK_ORDER+= rplay
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rplay
.if !empty(RPLAY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rplay+= rplay>=3.3.2nb1
diff --git a/audio/speex/buildlink3.mk b/audio/speex/buildlink3.mk
index 7cd8cba81b0..6d0775f05b7 100644
--- a/audio/speex/buildlink3.mk
+++ b/audio/speex/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPEEX_BUILDLINK3_MK:= ${SPEEX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= speex
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nspeex}
BUILDLINK_PACKAGES+= speex
-BUILDLINK_ORDER+= speex
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}speex
.if !empty(SPEEX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.speex+= speex>=1.0.4
diff --git a/audio/streamtuner/buildlink3.mk b/audio/streamtuner/buildlink3.mk
index b459908c6d2..495195ea1a0 100644
--- a/audio/streamtuner/buildlink3.mk
+++ b/audio/streamtuner/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
STREAMTUNER_BUILDLINK3_MK:= ${STREAMTUNER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= streamtuner
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nstreamtuner}
BUILDLINK_PACKAGES+= streamtuner
-BUILDLINK_ORDER+= streamtuner
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}streamtuner
.if !empty(STREAMTUNER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.streamtuner+= streamtuner>=0.99
diff --git a/audio/sweep/buildlink3.mk b/audio/sweep/buildlink3.mk
index a367b81b370..7d1c9fb6b57 100644
--- a/audio/sweep/buildlink3.mk
+++ b/audio/sweep/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SWEEP_BUILDLINK3_MK:= ${SWEEP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sweep
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsweep}
BUILDLINK_PACKAGES+= sweep
-BUILDLINK_ORDER+= sweep
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sweep
.if !empty(SWEEP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sweep+= sweep>=0.8.2nb6
diff --git a/audio/taglib/buildlink3.mk b/audio/taglib/buildlink3.mk
index ae07703bde7..9f9231dca59 100644
--- a/audio/taglib/buildlink3.mk
+++ b/audio/taglib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:01 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TAGLIB_BUILDLINK3_MK:= ${TAGLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= taglib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntaglib}
BUILDLINK_PACKAGES+= taglib
-BUILDLINK_ORDER+= taglib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}taglib
.if !empty(TAGLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.taglib+= taglib>=1.0
diff --git a/audio/tremor/buildlink3.mk b/audio/tremor/buildlink3.mk
index c808a850d54..dbd49bb8143 100644
--- a/audio/tremor/buildlink3.mk
+++ b/audio/tremor/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TREMOR_BUILDLINK3_MK:= ${TREMOR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tremor
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntremor}
BUILDLINK_PACKAGES+= tremor
-BUILDLINK_ORDER+= tremor
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tremor
.if !empty(TREMOR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tremor+= tremor>=1.0.2
diff --git a/audio/twolame/buildlink3.mk b/audio/twolame/buildlink3.mk
index b3cc9187bf8..58d117c5724 100644
--- a/audio/twolame/buildlink3.mk
+++ b/audio/twolame/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TWOLAME_BUILDLINK3_MK:= ${TWOLAME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= twolame
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntwolame}
BUILDLINK_PACKAGES+= twolame
-BUILDLINK_ORDER+= twolame
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}twolame
.if ${TWOLAME_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.twolame+= twolame>=0.3.7
diff --git a/audio/wsoundserver/buildlink3.mk b/audio/wsoundserver/buildlink3.mk
index d89d98ef596..436dae90b8b 100644
--- a/audio/wsoundserver/buildlink3.mk
+++ b/audio/wsoundserver/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:37 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WSOUNDSERVER_BUILDLINK3_MK:= ${WSOUNDSERVER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= wsoundserver
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwsoundserver}
BUILDLINK_PACKAGES+= wsoundserver
-BUILDLINK_ORDER+= wsoundserver
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wsoundserver
.if !empty(WSOUNDSERVER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wsoundserver+= wsoundserver>=0.4.0nb4
diff --git a/audio/xfce4-mixer/buildlink3.mk b/audio/xfce4-mixer/buildlink3.mk
index 8edf626fdc9..08e54c12b4f 100644
--- a/audio/xfce4-mixer/buildlink3.mk
+++ b/audio/xfce4-mixer/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_MIXER_BUILDLINK3_MK:= ${XFCE4_MIXER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-mixer
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-mixer}
BUILDLINK_PACKAGES+= xfce4-mixer
-BUILDLINK_ORDER+= xfce4-mixer
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-mixer
.if !empty(XFCE4_MIXER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-mixer+= xfce4-mixer>=4.2.3
diff --git a/audio/xfce4-xmms-plugin/buildlink3.mk b/audio/xfce4-xmms-plugin/buildlink3.mk
index 36da67921c3..b4a13c77f65 100644
--- a/audio/xfce4-xmms-plugin/buildlink3.mk
+++ b/audio/xfce4-xmms-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_XMMS_PLUGIN_BUILDLINK3_MK:= ${XFCE4_XMMS_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-xmms-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-xmms-plugin}
BUILDLINK_PACKAGES+= xfce4-xmms-plugin
-BUILDLINK_ORDER+= xfce4-xmms-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-xmms-plugin
.if !empty(XFCE4_XMMS_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-xmms-plugin+= xfce4-xmms-plugin>=0.3.1
diff --git a/audio/xmms-meta-input/buildlink3.mk b/audio/xmms-meta-input/buildlink3.mk
index 5dbe8549934..3128cecd78e 100644
--- a/audio/xmms-meta-input/buildlink3.mk
+++ b/audio/xmms-meta-input/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XMMS_META_INPUT_BUILDLINK3_MK:= ${XMMS_META_INPUT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xmms-meta-input
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxmms-meta-input}
BUILDLINK_PACKAGES+= xmms-meta-input
-BUILDLINK_ORDER+= xmms-meta-input
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xmms-meta-input
.if !empty(XMMS_META_INPUT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xmms-meta-input+= xmms-meta-input>=0.4
diff --git a/audio/xmms/buildlink3.mk b/audio/xmms/buildlink3.mk
index 7bd9747227c..492521104f8 100644
--- a/audio/xmms/buildlink3.mk
+++ b/audio/xmms/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XMMS_BUILDLINK3_MK:= ${XMMS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xmms
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxmms}
BUILDLINK_PACKAGES+= xmms
-BUILDLINK_ORDER+= xmms
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xmms
.if !empty(XMMS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xmms+= xmms>=1.2.7nb10
diff --git a/cad/gplcver/buildlink3.mk b/cad/gplcver/buildlink3.mk
index 75a816af79c..e7246ed9532 100644
--- a/cad/gplcver/buildlink3.mk
+++ b/cad/gplcver/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GPLCVER_BUILDLINK3_MK:= ${GPLCVER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gplcver
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngplcver}
BUILDLINK_PACKAGES+= gplcver
-BUILDLINK_ORDER+= gplcver
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gplcver
.if !empty(GPLCVER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gplcver+= gplcver>=2.11a
diff --git a/cad/libgeda/buildlink3.mk b/cad/libgeda/buildlink3.mk
index 99487579b3d..9ed05189b57 100644
--- a/cad/libgeda/buildlink3.mk
+++ b/cad/libgeda/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGEDA_BUILDLINK3_MK:= ${LIBGEDA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgeda
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgeda}
BUILDLINK_PACKAGES+= libgeda
-BUILDLINK_ORDER+= libgeda
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgeda
.if !empty(LIBGEDA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgeda+= libgeda-20060123{,nb[0-9]*}
diff --git a/cad/libwcalc/buildlink3.mk b/cad/libwcalc/buildlink3.mk
index 85d80d54b22..c3c30f4622f 100644
--- a/cad/libwcalc/buildlink3.mk
+++ b/cad/libwcalc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:38 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= libwcalc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibwcalc}
BUILDLINK_PACKAGES+= libwcalc
-BUILDLINK_ORDER+= libwcalc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libwcalc
.if !empty(LIBWCALC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libwcalc+= libwcalc-1.0*
diff --git a/cad/verilog-current/buildlink3.mk b/cad/verilog-current/buildlink3.mk
index 0a74ff6415f..1a85358111a 100644
--- a/cad/verilog-current/buildlink3.mk
+++ b/cad/verilog-current/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
VERILOG_CURRENT_BUILDLINK3_MK:= ${VERILOG_CURRENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= verilog-current
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nverilog-current}
BUILDLINK_PACKAGES+= verilog-current
-BUILDLINK_ORDER+= verilog-current
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}verilog-current
.if !empty(VERILOG_CURRENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.verilog-current+= verilog-current>=20021019
diff --git a/cad/verilog/buildlink3.mk b/cad/verilog/buildlink3.mk
index 67006cad349..b867dd46409 100644
--- a/cad/verilog/buildlink3.mk
+++ b/cad/verilog/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
VERILOG_BUILDLINK3_MK:= ${VERILOG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= verilog
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nverilog}
BUILDLINK_PACKAGES+= verilog
-BUILDLINK_ORDER+= verilog
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}verilog
.if !empty(VERILOG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.verilog+= verilog>=0.8.1nb1
diff --git a/chat/ekg/buildlink3.mk b/chat/ekg/buildlink3.mk
index 276840dc08f..22c77b6582c 100644
--- a/chat/ekg/buildlink3.mk
+++ b/chat/ekg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EKG_BUILDLINK3_MK:= ${EKG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ekg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nekg}
BUILDLINK_PACKAGES+= ekg
-BUILDLINK_ORDER+= ekg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ekg
.if !empty(EKG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ekg+= ekg>=1.6
diff --git a/chat/gaim/buildlink3.mk b/chat/gaim/buildlink3.mk
index ffa54fe5912..b4be68e8e62 100644
--- a/chat/gaim/buildlink3.mk
+++ b/chat/gaim/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GAIM_BUILDLINK3_MK:= ${GAIM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gaim
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngaim}
BUILDLINK_PACKAGES+= gaim
-BUILDLINK_ORDER+= gaim
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gaim
.if !empty(GAIM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gaim+= gaim>=1.1.2
diff --git a/chat/gale/buildlink3.mk b/chat/gale/buildlink3.mk
index 50252999544..4c12bf304a5 100644
--- a/chat/gale/buildlink3.mk
+++ b/chat/gale/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GALE_BUILDLINK3_MK:= ${GALE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gale
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngale}
BUILDLINK_PACKAGES+= gale
-BUILDLINK_ORDER+= gale
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gale
.if !empty(GALE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gale+= gale>=0.99f
diff --git a/chat/jabberd/buildlink3.mk b/chat/jabberd/buildlink3.mk
index 69d3719382c..0e0ee3fa2c3 100644
--- a/chat/jabberd/buildlink3.mk
+++ b/chat/jabberd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JABBERD_BUILDLINK3_MK:= ${JABBERD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= jabberd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njabberd}
BUILDLINK_PACKAGES+= jabberd
-BUILDLINK_ORDER+= jabberd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jabberd
.if !empty(JABBERD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jabberd+= jabberd>=1.4.2
diff --git a/chat/libirc/buildlink3.mk b/chat/libirc/buildlink3.mk
index 957107d6d17..a8439a25184 100644
--- a/chat/libirc/buildlink3.mk
+++ b/chat/libirc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBIRC_BUILDLINK3_MK:= ${LIBIRC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libirc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibirc}
BUILDLINK_PACKAGES+= libirc
-BUILDLINK_ORDER+= libirc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libirc
.if !empty(LIBIRC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libirc+= libirc>=0.2nb1
diff --git a/chat/libotr/buildlink3.mk b/chat/libotr/buildlink3.mk
index 5f58c985f49..1a50935ed01 100644
--- a/chat/libotr/buildlink3.mk
+++ b/chat/libotr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOTR_BUILDLINK3_MK:= ${LIBOTR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libotr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibotr}
BUILDLINK_PACKAGES+= libotr
-BUILDLINK_ORDER+= libotr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libotr
.if !empty(LIBOTR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libotr+= libotr>=3.0.0
diff --git a/chat/libtlen/buildlink3.mk b/chat/libtlen/buildlink3.mk
index a3af6b99e56..2870ee1647a 100644
--- a/chat/libtlen/buildlink3.mk
+++ b/chat/libtlen/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:02 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTLEN_BUILDLINK3_MK:= ${LIBTLEN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtlen
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtlen}
BUILDLINK_PACKAGES+= libtlen
-BUILDLINK_ORDER+= libtlen
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtlen
.if !empty(LIBTLEN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtlen+= libtlen>=20040212
diff --git a/chat/loudmouth/buildlink3.mk b/chat/loudmouth/buildlink3.mk
index 0179e7baf5a..37abb14fc81 100644
--- a/chat/loudmouth/buildlink3.mk
+++ b/chat/loudmouth/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LOUDMOUTH_BUILDLINK3_MK:= ${LOUDMOUTH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= loudmouth
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nloudmouth}
BUILDLINK_PACKAGES+= loudmouth
-BUILDLINK_ORDER+= loudmouth
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}loudmouth
.if !empty(LOUDMOUTH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.loudmouth+= loudmouth>=1.0
diff --git a/chat/zephyr/buildlink3.mk b/chat/zephyr/buildlink3.mk
index d611be91df7..f3e26f29ce8 100644
--- a/chat/zephyr/buildlink3.mk
+++ b/chat/zephyr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ZEPHYR_BUILDLINK3_MK:= ${ZEPHYR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= zephyr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzephyr}
BUILDLINK_PACKAGES+= zephyr
-BUILDLINK_ORDER+= zephyr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}zephyr
.if !empty(ZEPHYR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.zephyr+= zephyr>=20010518nb1
diff --git a/comms/gnome-pilot/buildlink3.mk b/comms/gnome-pilot/buildlink3.mk
index f0bbe9b9d1a..210435173aa 100644
--- a/comms/gnome-pilot/buildlink3.mk
+++ b/comms/gnome-pilot/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_PILOT_BUILDLINK3_MK:= ${GNOME_PILOT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-pilot
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-pilot}
BUILDLINK_PACKAGES+= gnome-pilot
-BUILDLINK_ORDER+= gnome-pilot
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-pilot
.if !empty(GNOME_PILOT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-pilot?= gnome-pilot>=2.0.12nb2
diff --git a/comms/jpilot/buildlink3.mk b/comms/jpilot/buildlink3.mk
index f5c510f2125..a59bbc9b0d5 100644
--- a/comms/jpilot/buildlink3.mk
+++ b/comms/jpilot/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JPILOT_BUILDLINK3_MK:= ${JPILOT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= jpilot
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njpilot}
BUILDLINK_PACKAGES+= jpilot
-BUILDLINK_ORDER+= jpilot
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jpilot
.if !empty(JPILOT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jpilot+= jpilot>=0.99.5nb4
diff --git a/comms/libmal/buildlink3.mk b/comms/libmal/buildlink3.mk
index a680661478a..be054bcc391 100644
--- a/comms/libmal/buildlink3.mk
+++ b/comms/libmal/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMAL_BUILDLINK3_MK:= ${LIBMAL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmal
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmal}
BUILDLINK_PACKAGES+= libmal
-BUILDLINK_ORDER+= libmal
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmal
.if !empty(LIBMAL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmal+= libmal>=0.40
diff --git a/comms/openobex/buildlink3.mk b/comms/openobex/buildlink3.mk
index d852c3b510a..5c525c656dc 100644
--- a/comms/openobex/buildlink3.mk
+++ b/comms/openobex/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENOBEX_BUILDLINK3_MK:= ${OPENOBEX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openobex
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenobex}
BUILDLINK_PACKAGES+= openobex
-BUILDLINK_ORDER+= openobex
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openobex
.if !empty(OPENOBEX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openobex+= openobex>=1.0.1
diff --git a/comms/pilot-link-libs/buildlink3.mk b/comms/pilot-link-libs/buildlink3.mk
index 1b523293b8c..db8ab82d33b 100644
--- a/comms/pilot-link-libs/buildlink3.mk
+++ b/comms/pilot-link-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PILOT_LINK_LIBS_BUILDLINK3_MK:= ${PILOT_LINK_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pilot-link-libs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npilot-link-libs}
BUILDLINK_PACKAGES+= pilot-link-libs
-BUILDLINK_ORDER+= pilot-link-libs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pilot-link-libs
.if !empty(PILOT_LINK_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pilot-link-libs+= pilot-link-libs>=0.11.7nb1
diff --git a/comms/synce-librapi2/buildlink3.mk b/comms/synce-librapi2/buildlink3.mk
index 78082977351..df4d19baa93 100644
--- a/comms/synce-librapi2/buildlink3.mk
+++ b/comms/synce-librapi2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:38 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SYNCE_LIBRAPI2_BUILDLINK3_MK:= ${SYNCE_LIBRAPI2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= synce-librapi2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsynce-librapi2}
BUILDLINK_PACKAGES+= synce-librapi2
-BUILDLINK_ORDER+= synce-librapi2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}synce-librapi2
.if !empty(SYNCE_LIBRAPI2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.synce-librapi2+= synce-librapi2>=0.9.1
diff --git a/comms/synce-libsynce/buildlink3.mk b/comms/synce-libsynce/buildlink3.mk
index 6d274351cb4..928e73846a7 100644
--- a/comms/synce-libsynce/buildlink3.mk
+++ b/comms/synce-libsynce/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SYNCE_LIBSYNCE_BUILDLINK3_MK:= ${SYNCE_LIBSYNCE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= synce-libsynce
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsynce-libsynce}
BUILDLINK_PACKAGES+= synce-libsynce
-BUILDLINK_ORDER+= synce-libsynce
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}synce-libsynce
.if !empty(SYNCE_LIBSYNCE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.synce-libsynce+= synce-libsynce>=0.9.1
diff --git a/comms/zaptel-netbsd/buildlink3.mk b/comms/zaptel-netbsd/buildlink3.mk
index c9f63a419f0..5f5b9cdd258 100644
--- a/comms/zaptel-netbsd/buildlink3.mk
+++ b/comms/zaptel-netbsd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ZAPTEL_NETBSD_BUILDLINK3_MK:= ${ZAPTEL_NETBSD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= zaptel-netbsd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzaptel-netbsd}
BUILDLINK_PACKAGES+= zaptel-netbsd
-BUILDLINK_ORDER+= zaptel-netbsd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}zaptel-netbsd
.if !empty(ZAPTEL_NETBSD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.zaptel-netbsd+= zaptel-netbsd>=20050314
diff --git a/converters/fribidi/buildlink3.mk b/converters/fribidi/buildlink3.mk
index dd9611c7487..373c1878f0f 100644
--- a/converters/fribidi/buildlink3.mk
+++ b/converters/fribidi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FRIBIDI_BUILDLINK3_MK:= ${FRIBIDI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fribidi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfribidi}
BUILDLINK_PACKAGES+= fribidi
-BUILDLINK_ORDER+= fribidi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fribidi
.if !empty(FRIBIDI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fribidi+= fribidi>=0.10.4
diff --git a/converters/libiconv/buildlink3.mk b/converters/libiconv/buildlink3.mk
index 1b22ee0ca19..feade46fa6a 100644
--- a/converters/libiconv/buildlink3.mk
+++ b/converters/libiconv/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ICONV_BUILDLINK3_MK:= ${ICONV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= iconv
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niconv}
BUILDLINK_PACKAGES+= iconv
-BUILDLINK_ORDER+= iconv
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}iconv
.if !empty(ICONV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.iconv+= libiconv>=1.9.1
diff --git a/converters/libwpd/buildlink3.mk b/converters/libwpd/buildlink3.mk
index 7e6398dbc8a..0d51b22568f 100644
--- a/converters/libwpd/buildlink3.mk
+++ b/converters/libwpd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBWPD_BUILDLINK3_MK:= ${LIBWPD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libwpd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibwpd}
BUILDLINK_PACKAGES+= libwpd
-BUILDLINK_ORDER+= libwpd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libwpd
.if !empty(LIBWPD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libwpd+= libwpd>=0.8.1nb1
diff --git a/converters/psiconv/buildlink3.mk b/converters/psiconv/buildlink3.mk
index a86238a8436..4a23f5c8150 100644
--- a/converters/psiconv/buildlink3.mk
+++ b/converters/psiconv/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PSICONV_BUILDLINK3_MK:= ${PSICONV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= psiconv
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npsiconv}
BUILDLINK_PACKAGES+= psiconv
-BUILDLINK_ORDER+= psiconv
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}psiconv
.if !empty(PSICONV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.psiconv+= psiconv>=0.8.3nb1
diff --git a/converters/recode/buildlink3.mk b/converters/recode/buildlink3.mk
index 78e18621bb9..51e423bf20b 100644
--- a/converters/recode/buildlink3.mk
+++ b/converters/recode/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RECODE_BUILDLINK3_MK:= ${RECODE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= recode
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrecode}
BUILDLINK_PACKAGES+= recode
-BUILDLINK_ORDER+= recode
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}recode
.if !empty(RECODE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.recode+= recode>=3.6nb1
diff --git a/converters/uulib/buildlink3.mk b/converters/uulib/buildlink3.mk
index efa0f0feb4e..49140a2f598 100644
--- a/converters/uulib/buildlink3.mk
+++ b/converters/uulib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UULIB_BUILDLINK3_MK:= ${UULIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= uulib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nuulib}
BUILDLINK_PACKAGES+= uulib
-BUILDLINK_ORDER+= uulib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}uulib
.if !empty(UULIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.uulib+= uulib>=0.5.20
diff --git a/converters/wv/buildlink3.mk b/converters/wv/buildlink3.mk
index d7b51dbfd71..5f66ce046dd 100644
--- a/converters/wv/buildlink3.mk
+++ b/converters/wv/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WV_BUILDLINK3_MK:= ${WV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= wv
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwv}
BUILDLINK_PACKAGES+= wv
-BUILDLINK_ORDER+= wv
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wv
.if !empty(WV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wv+= wv>=1.0.0
diff --git a/converters/wv2/buildlink3.mk b/converters/wv2/buildlink3.mk
index 2aea54caeee..4ac4bdbe0d4 100644
--- a/converters/wv2/buildlink3.mk
+++ b/converters/wv2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WV2_BUILDLINK3_MK:= ${WV2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= wv2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwv2}
BUILDLINK_PACKAGES+= wv2
-BUILDLINK_ORDER+= wv2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wv2
.if !empty(WV2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wv2?= wv2>=0.2.2nb1
diff --git a/cross/binutils/buildlink3.mk b/cross/binutils/buildlink3.mk
index 0026e77e140..307d1ddf53f 100644
--- a/cross/binutils/buildlink3.mk
+++ b/cross/binutils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CROSS_BINUTILS_BUILDLINK3_MK:= ${CROSS_BINUTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cross-binutils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncross-binutils}
BUILDLINK_PACKAGES+= cross-binutils
-BUILDLINK_ORDER+= cross-binutils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cross-binutils
.if !empty(CROSS_BINUTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cross-binutils+= cross-binutils>=2.15.0.0nb3
diff --git a/databases/bdb-xml/buildlink3.mk b/databases/bdb-xml/buildlink3.mk
index 40633232c2c..2c276125788 100644
--- a/databases/bdb-xml/buildlink3.mk
+++ b/databases/bdb-xml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:03 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BDB_XML_BUILDLINK3_MK:= ${BDB_XML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= bdb-xml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbdb-xml}
BUILDLINK_PACKAGES+= bdb-xml
-BUILDLINK_ORDER+= bdb-xml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bdb-xml
.if !empty(BDB_XML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bdb-xml+= bdb-xml>=1.2.1nb3
diff --git a/databases/db/buildlink3.mk b/databases/db/buildlink3.mk
index 586d30186cc..c01e18dfbfd 100644
--- a/databases/db/buildlink3.mk
+++ b/databases/db/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB_BUILDLINK3_MK:= ${DB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= db2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndb2}
BUILDLINK_PACKAGES+= db2
-BUILDLINK_ORDER+= db2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}db2
.if !empty(DB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.db2+= db>=2.7.3
diff --git a/databases/db3/buildlink3.mk b/databases/db3/buildlink3.mk
index 929127ab634..9b33f8d38d5 100644
--- a/databases/db3/buildlink3.mk
+++ b/databases/db3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB3_BUILDLINK3_MK:= ${DB3_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= db3
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndb3}
BUILDLINK_PACKAGES+= db3
-BUILDLINK_ORDER+= db3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}db3
.if !empty(DB3_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.db3+= db3>=2.9.2
diff --git a/databases/db4/buildlink3.mk b/databases/db4/buildlink3.mk
index 3cc231a4889..3b3e805ca5c 100644
--- a/databases/db4/buildlink3.mk
+++ b/databases/db4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.28 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.29 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DB4_BUILDLINK3_MK:= ${DB4_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= db4
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndb4}
BUILDLINK_PACKAGES+= db4
-BUILDLINK_ORDER+= db4
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}db4
.if !empty(DB4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.db4+= db4>=4.4.16
diff --git a/databases/dbh/buildlink3.mk b/databases/dbh/buildlink3.mk
index 6aa72310d32..08a3f459350 100644
--- a/databases/dbh/buildlink3.mk
+++ b/databases/dbh/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DBH_BUILDLINK3_MK:= ${DBH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dbh
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndbh}
BUILDLINK_PACKAGES+= dbh
-BUILDLINK_ORDER+= dbh
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dbh
.if !empty(DBH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dbh+= dbh>=1.0.22
diff --git a/databases/edb/buildlink3.mk b/databases/edb/buildlink3.mk
index ddd93b3f6ba..bf6df29aadb 100644
--- a/databases/edb/buildlink3.mk
+++ b/databases/edb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EDB_BUILDLINK3_MK:= ${EDB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= edb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nedb}
BUILDLINK_PACKAGES+= edb
-BUILDLINK_ORDER+= edb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}edb
.if !empty(EDB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.edb+= edb>=1.0.3nb3
diff --git a/databases/freetds/buildlink3.mk b/databases/freetds/buildlink3.mk
index 9c806d543dc..f6cd4a89215 100644
--- a/databases/freetds/buildlink3.mk
+++ b/databases/freetds/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREETDS_BUILDLINK3_MK:= ${FREETDS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= freetds
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreetds}
BUILDLINK_PACKAGES+= freetds
-BUILDLINK_ORDER+= freetds
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}freetds
.if !empty(FREETDS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.freetds+= freetds>=0.63nb2
diff --git a/databases/gdbm/buildlink3.mk b/databases/gdbm/buildlink3.mk
index 7b1c979e58d..0b0314eb737 100644
--- a/databases/gdbm/buildlink3.mk
+++ b/databases/gdbm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDBM_BUILDLINK3_MK:= ${GDBM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gdbm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdbm}
BUILDLINK_PACKAGES+= gdbm
-BUILDLINK_ORDER+= gdbm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdbm
.if !empty(GDBM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gdbm+= gdbm>=1.8.3
diff --git a/databases/gnome-mime-data/buildlink3.mk b/databases/gnome-mime-data/buildlink3.mk
index 2452a1d7f8b..ff7e472ce74 100644
--- a/databases/gnome-mime-data/buildlink3.mk
+++ b/databases/gnome-mime-data/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_MIME_DATA_BUILDLINK3_MK:= ${GNOME_MIME_DATA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-mime-data
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-mime-data}
BUILDLINK_PACKAGES+= gnome-mime-data
-BUILDLINK_ORDER+= gnome-mime-data
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-mime-data
.if !empty(GNOME_MIME_DATA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-mime-data+= gnome-mime-data>=2.4.0
diff --git a/databases/iodbc/buildlink3.mk b/databases/iodbc/buildlink3.mk
index 5d474b4984c..6e219e8bdce 100644
--- a/databases/iodbc/buildlink3.mk
+++ b/databases/iodbc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IODBC_BUILDLINK3_MK:= ${IODBC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= iodbc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niodbc}
BUILDLINK_PACKAGES+= iodbc
-BUILDLINK_ORDER+= iodbc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}iodbc
.if !empty(IODBC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.iodbc+= iodbc>=3.52.3
diff --git a/databases/libgda/buildlink3.mk b/databases/libgda/buildlink3.mk
index 22ab1823301..e6b355fdf53 100644
--- a/databases/libgda/buildlink3.mk
+++ b/databases/libgda/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGDA_BUILDLINK3_MK:= ${LIBGDA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgda
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgda}
BUILDLINK_PACKAGES+= libgda
-BUILDLINK_ORDER+= libgda
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgda
.if !empty(LIBGDA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgda+= libgda>=1.9.100
diff --git a/databases/libgnomedb/buildlink3.mk b/databases/libgnomedb/buildlink3.mk
index 100b429d62d..f2ea9f6c23a 100644
--- a/databases/libgnomedb/buildlink3.mk
+++ b/databases/libgnomedb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:39 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEDB_BUILDLINK3_MK:= ${LIBGNOMEDB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomedb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomedb}
BUILDLINK_PACKAGES+= libgnomedb
-BUILDLINK_ORDER+= libgnomedb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomedb
.if !empty(LIBGNOMEDB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomedb+= libgnomedb>=1.9.100
diff --git a/databases/libpqxx/buildlink3.mk b/databases/libpqxx/buildlink3.mk
index 76ca495abdd..1d96585b092 100644
--- a/databases/libpqxx/buildlink3.mk
+++ b/databases/libpqxx/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPQXX_BUILDLINK3_MK:= ${LIBPQXX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libpqxx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpqxx}
BUILDLINK_PACKAGES+= libpqxx
-BUILDLINK_ORDER+= libpqxx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpqxx
.if !empty(LIBPQXX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libpqxx+= libpqxx>=2.5.0
diff --git a/databases/metakit-lib/buildlink3.mk b/databases/metakit-lib/buildlink3.mk
index 3f836939d42..cef0ca31a17 100644
--- a/databases/metakit-lib/buildlink3.mk
+++ b/databases/metakit-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
METAKIT_LIB_BUILDLINK3_MK:= ${METAKIT_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= metakit-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmetakit-lib}
BUILDLINK_PACKAGES+= metakit-lib
-BUILDLINK_ORDER+= metakit-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}metakit-lib
.if !empty(METAKIT_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.metakit-lib+= metakit-lib>=2.4.8
diff --git a/databases/mysql4-client/buildlink3.mk b/databases/mysql4-client/buildlink3.mk
index 693743b0fe7..7d712a29a0f 100644
--- a/databases/mysql4-client/buildlink3.mk
+++ b/databases/mysql4-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:04 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mysql-client
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmysql-client}
BUILDLINK_PACKAGES+= mysql-client
-BUILDLINK_ORDER+= mysql-client
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mysql-client
.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mysql-client+= mysql-client>=4.1.7
diff --git a/databases/mysql5-client/buildlink3.mk b/databases/mysql5-client/buildlink3.mk
index 61c171d4d23..9a7924cba15 100644
--- a/databases/mysql5-client/buildlink3.mk
+++ b/databases/mysql5-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MYSQL_CLIENT_BUILDLINK3_MK:= ${MYSQL_CLIENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mysql-client
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmysql-client}
BUILDLINK_PACKAGES+= mysql-client
-BUILDLINK_ORDER+= mysql-client
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mysql-client
.if !empty(MYSQL_CLIENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mysql-client+= mysql-client>=5.0.15
diff --git a/databases/openldap-client/buildlink3.mk b/databases/openldap-client/buildlink3.mk
index 89b4ff6aae0..a68f728aa47 100644
--- a/databases/openldap-client/buildlink3.mk
+++ b/databases/openldap-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENLDAP_BUILDLINK3_MK:= ${OPENLDAP_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= openldap-client
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenldap-client}
BUILDLINK_PACKAGES+= openldap-client
-BUILDLINK_ORDER+= openldap-client
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openldap-client
.if !empty(OPENLDAP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openldap-client+= openldap-client>=2.3.11nb2
diff --git a/databases/p5-DBI/buildlink3.mk b/databases/p5-DBI/buildlink3.mk
index 134912c6073..d9f1d073b73 100644
--- a/databases/p5-DBI/buildlink3.mk
+++ b/databases/p5-DBI/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
P5_DBI_BUILDLINK3_MK:= ${P5_DBI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= p5-DBI
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Np5-DBI}
BUILDLINK_PACKAGES+= p5-DBI
-BUILDLINK_ORDER+= p5-DBI
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}p5-DBI
.if !empty(P5_DBI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.p5-DBI+= p5-DBI>=1.48nb1
diff --git a/databases/php-pdo/buildlink3.mk b/databases/php-pdo/buildlink3.mk
index 5fa639ebfc9..3c65c4e063e 100644
--- a/databases/php-pdo/buildlink3.mk
+++ b/databases/php-pdo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHP_PDO_BUILDLINK3_MK:= ${PHP_PDO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= php-pdo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp-pdo}
BUILDLINK_PACKAGES+= php-pdo
-BUILDLINK_ORDER+= php-pdo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}php-pdo
.if !empty(PHP_PDO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.php-pdo+= ${PHP_PKG_PREFIX}-pdo-5.*
diff --git a/databases/postgresql74-lib/buildlink3.mk b/databases/postgresql74-lib/buildlink3.mk
index e00d81f9dc9..d4e58ce3e05 100644
--- a/databases/postgresql74-lib/buildlink3.mk
+++ b/databases/postgresql74-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSTGRESQL74_LIB_BUILDLINK3_MK:= ${POSTGRESQL74_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= postgresql74-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql74-lib}
BUILDLINK_PACKAGES+= postgresql74-lib
-BUILDLINK_ORDER+= postgresql74-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}postgresql74-lib
.if !empty(POSTGRESQL74_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.postgresql74-lib+= postgresql{74,}-lib>=7.4.0
diff --git a/databases/postgresql80-client/buildlink3.mk b/databases/postgresql80-client/buildlink3.mk
index 19fd8299ce6..640e0ed135a 100644
--- a/databases/postgresql80-client/buildlink3.mk
+++ b/databases/postgresql80-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSTGRESQL80_CLIENT_BUILDLINK3_MK:= ${POSTGRESQL80_CLIENT_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= postgresql80-client
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql80-client}
BUILDLINK_PACKAGES+= postgresql80-client
-BUILDLINK_ORDER+= postgresql80-client
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}postgresql80-client
.if !empty(POSTGRESQL80_CLIENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.postgresql80-client+= postgresql80-client>=8.0.2
diff --git a/databases/postgresql81-client/buildlink3.mk b/databases/postgresql81-client/buildlink3.mk
index 69e2906ce69..821fb43ba5e 100644
--- a/databases/postgresql81-client/buildlink3.mk
+++ b/databases/postgresql81-client/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POSTGRESQL81_CLIENT_BUILDLINK3_MK:= ${POSTGRESQL81_CLIENT_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= postgresql81-client
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npostgresql81-client}
BUILDLINK_PACKAGES+= postgresql81-client
-BUILDLINK_ORDER+= postgresql81-client
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}postgresql81-client
.if !empty(POSTGRESQL81_CLIENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.postgresql81-client+= postgresql81-client>=8.1.0
diff --git a/databases/py-ZODB/buildlink3.mk b/databases/py-ZODB/buildlink3.mk
index d1b42f0eb34..e516f1c5805 100644
--- a/databases/py-ZODB/buildlink3.mk
+++ b/databases/py-ZODB/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_ZODB_BUILDLINK3_MK:= ${PY_ZODB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pyZODB
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NpyZODB}
BUILDLINK_PACKAGES+= pyZODB
-BUILDLINK_ORDER+= pyZODB
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyZODB
.if !empty(PY_ZODB_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
diff --git a/databases/py-bsddb3/buildlink3.mk b/databases/py-bsddb3/buildlink3.mk
index 8019fb3c215..958a26f386a 100644
--- a/databases/py-bsddb3/buildlink3.mk
+++ b/databases/py-bsddb3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_BSDDB3_BUILDLINK3_MK:= ${PY_BSDDB3_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= py-bsddb3
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-bsddb3}
BUILDLINK_PACKAGES+= py-bsddb3
-BUILDLINK_ORDER+= py-bsddb3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-bsddb3
.if !empty(PY_BSDDB3_BUILDLINK3_MK:M+)
. include "../../mk/pthread.buildlink3.mk"
diff --git a/databases/py-ldap/buildlink3.mk b/databases/py-ldap/buildlink3.mk
index 11c67856c76..2a3baa394eb 100644
--- a/databases/py-ldap/buildlink3.mk
+++ b/databases/py-ldap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_LDAP_BUILDLINK3_MK:= ${PY_LDAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pyldap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyldap}
BUILDLINK_PACKAGES+= pyldap
-BUILDLINK_ORDER+= pyldap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyldap
.if !empty(PY_LDAP_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
diff --git a/databases/py-metakit/buildlink3.mk b/databases/py-metakit/buildlink3.mk
index e8395d5a90f..2572b1f3ea3 100644
--- a/databases/py-metakit/buildlink3.mk
+++ b/databases/py-metakit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_METAKIT_BUILDLINK3_MK:= ${PY_METAKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pymetakit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npymetakit}
BUILDLINK_PACKAGES+= pymetakit
-BUILDLINK_ORDER+= pymetakit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pymetakit
.if !empty(PY_METAKIT_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
diff --git a/databases/py-psycopg/buildlink3.mk b/databases/py-psycopg/buildlink3.mk
index f6c5ad78ba6..32a036c3e01 100644
--- a/databases/py-psycopg/buildlink3.mk
+++ b/databases/py-psycopg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_PSYCOPG_BUILDLINK3_MK:= ${PY_PSYCOPG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= psycopg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npsycopg}
BUILDLINK_PACKAGES+= psycopg
-BUILDLINK_ORDER+= psycopg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}psycopg
.if !empty(PY_PSYCOPG_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
diff --git a/databases/qdbm/buildlink3.mk b/databases/qdbm/buildlink3.mk
index b1476e27418..57cd5fbad6e 100644
--- a/databases/qdbm/buildlink3.mk
+++ b/databases/qdbm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QDBM_BUILDLINK3_MK:= ${QDBM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qdbm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqdbm}
BUILDLINK_PACKAGES+= qdbm
-BUILDLINK_ORDER+= qdbm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qdbm
.if !empty(QDBM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qdbm+= qdbm>=1.8.40
diff --git a/databases/rrdtool/buildlink3.mk b/databases/rrdtool/buildlink3.mk
index 3e5103c8508..cd9a235167a 100644
--- a/databases/rrdtool/buildlink3.mk
+++ b/databases/rrdtool/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RRDTOOL_BUILDLINK3_MK:= ${RRDTOOL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rrdtool
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrrdtool}
BUILDLINK_PACKAGES+= rrdtool
-BUILDLINK_ORDER+= rrdtool
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rrdtool
.if !empty(RRDTOOL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rrdtool+= rrdtool>=1.2.9
diff --git a/databases/sdbm/buildlink3.mk b/databases/sdbm/buildlink3.mk
index f9cb7dc7ae1..525e047d651 100644
--- a/databases/sdbm/buildlink3.mk
+++ b/databases/sdbm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDBM_BUILDLINK3_MK:= ${SDBM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sdbm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsdbm}
BUILDLINK_PACKAGES+= sdbm
-BUILDLINK_ORDER+= sdbm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sdbm
.if !empty(SDBM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sdbm+= sdbm>=90.12.1
diff --git a/databases/shared-mime-info/buildlink3.mk b/databases/shared-mime-info/buildlink3.mk
index e43dd56b58e..d08888124d5 100644
--- a/databases/shared-mime-info/buildlink3.mk
+++ b/databases/shared-mime-info/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SHARED_MIME_INFO_BUILDLINK3_MK:= ${SHARED_MIME_INFO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= shared-mime-info
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nshared-mime-info}
BUILDLINK_PACKAGES+= shared-mime-info
-BUILDLINK_ORDER+= shared-mime-info
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}shared-mime-info
.if !empty(SHARED_MIME_INFO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.shared-mime-info+= shared-mime-info>=0.15
diff --git a/databases/sqlite/buildlink3.mk b/databases/sqlite/buildlink3.mk
index ec5bbaa3aed..19345b6a091 100644
--- a/databases/sqlite/buildlink3.mk
+++ b/databases/sqlite/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SQLITE_BUILDLINK3_MK:= ${SQLITE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sqlite
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsqlite}
BUILDLINK_PACKAGES+= sqlite
-BUILDLINK_ORDER+= sqlite
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sqlite
.if !empty(SQLITE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sqlite+= sqlite>=2.8.0
diff --git a/databases/sqlite3/buildlink3.mk b/databases/sqlite3/buildlink3.mk
index 16b91aa9e45..0b1f0d3df2b 100644
--- a/databases/sqlite3/buildlink3.mk
+++ b/databases/sqlite3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SQLITE3_BUILDLINK3_MK:= ${SQLITE3_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sqlite3
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsqlite3}
BUILDLINK_PACKAGES+= sqlite3
-BUILDLINK_ORDER+= sqlite3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sqlite3
.if !empty(SQLITE3_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.0.8
diff --git a/databases/tcl-postgresql74/buildlink3.mk b/databases/tcl-postgresql74/buildlink3.mk
index d80e27f9ed3..def8604a2dc 100644
--- a/databases/tcl-postgresql74/buildlink3.mk
+++ b/databases/tcl-postgresql74/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:05 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_POSTGRESQL74_BUILDLINK3_MK:= ${TCL_POSTGRESQL74_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-postgresql74
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-postgresql74}
BUILDLINK_PACKAGES+= tcl-postgresql74
-BUILDLINK_ORDER+= tcl-postgresql74
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-postgresql74
.if !empty(TCL_POSTGRESQL74_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-postgresql74+= tcl-postgresql74>=7.3.6
diff --git a/databases/tdb/buildlink3.mk b/databases/tdb/buildlink3.mk
index d5cdc188b76..20f43a88984 100644
--- a/databases/tdb/buildlink3.mk
+++ b/databases/tdb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TDB_BUILDLINK3_MK:= ${TDB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tdb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntdb}
BUILDLINK_PACKAGES+= tdb
-BUILDLINK_ORDER+= tdb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tdb
.if !empty(TDB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tdb+= tdb>=1.0.6
diff --git a/databases/tinycdb/buildlink3.mk b/databases/tinycdb/buildlink3.mk
index 63f2d7667dd..41f102898c5 100644
--- a/databases/tinycdb/buildlink3.mk
+++ b/databases/tinycdb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:40 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TINYCDB_BUILDLINK3_MK:= ${TINYCDB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tinycdb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntinycdb}
BUILDLINK_PACKAGES+= tinycdb
-BUILDLINK_ORDER+= tinycdb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tinycdb
.if !empty(TINYCDB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tinycdb+= tinycdb>=0.75
diff --git a/databases/unixodbc/buildlink3.mk b/databases/unixodbc/buildlink3.mk
index 8b74374804f..aaa52813839 100644
--- a/databases/unixodbc/buildlink3.mk
+++ b/databases/unixodbc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UNIXODBC_BUILDLINK3_MK:= ${UNIXODBC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= unixodbc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nunixodbc}
BUILDLINK_PACKAGES+= unixodbc
-BUILDLINK_ORDER+= unixodbc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}unixodbc
.if !empty(UNIXODBC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.unixodbc+= unixodbc>=2.0.11nb1
diff --git a/devel/GConf/buildlink3.mk b/devel/GConf/buildlink3.mk
index 341da33ce78..69ca7bc8375 100644
--- a/devel/GConf/buildlink3.mk
+++ b/devel/GConf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCONF_BUILDLINK3_MK:= ${GCONF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GConf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGConf}
BUILDLINK_PACKAGES+= GConf
-BUILDLINK_ORDER+= GConf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GConf
.if !empty(GCONF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GConf+= GConf>=1.0.9nb7
diff --git a/devel/GConf2-ui/buildlink3.mk b/devel/GConf2-ui/buildlink3.mk
index 9f506b85214..ae507239746 100644
--- a/devel/GConf2-ui/buildlink3.mk
+++ b/devel/GConf2-ui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCONF2_UI_BUILDLINK3_MK:= ${GCONF2_UI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GConf2-ui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGConf2-ui}
BUILDLINK_PACKAGES+= GConf2-ui
-BUILDLINK_ORDER+= GConf2-ui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GConf2-ui
.if !empty(GCONF2_UI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GConf2-ui+= GConf2-ui>=2.8.0.1
diff --git a/devel/GConf2/buildlink3.mk b/devel/GConf2/buildlink3.mk
index 5e14f9877f4..059684fe47e 100644
--- a/devel/GConf2/buildlink3.mk
+++ b/devel/GConf2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCONF2_BUILDLINK3_MK:= ${GCONF2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GConf2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGConf2}
BUILDLINK_PACKAGES+= GConf2
-BUILDLINK_ORDER+= GConf2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GConf2
.if !empty(GCONF2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GConf2+= GConf2>=2.8.0.1
diff --git a/devel/Renaissance/buildlink3.mk b/devel/Renaissance/buildlink3.mk
index 41c664c6f98..00879e446e1 100644
--- a/devel/Renaissance/buildlink3.mk
+++ b/devel/Renaissance/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RENAISSANCE_BUILDLINK3_MK:= ${RENAISSANCE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Renaissance
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NRenaissance}
BUILDLINK_PACKAGES+= Renaissance
-BUILDLINK_ORDER+= Renaissance
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Renaissance
.if !empty(RENAISSANCE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Renaissance+= Renaissance>=0.7.0
diff --git a/devel/SDL/buildlink3.mk b/devel/SDL/buildlink3.mk
index 8808fb318ac..d8013955e1d 100644
--- a/devel/SDL/buildlink3.mk
+++ b/devel/SDL/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_BUILDLINK3_MK:= ${SDL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL}
BUILDLINK_PACKAGES+= SDL
-BUILDLINK_ORDER+= SDL
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL
.if !empty(SDL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.5nb5
diff --git a/devel/SDL_gfx/buildlink3.mk b/devel/SDL_gfx/buildlink3.mk
index 9f1eb3aa877..77db09d75e7 100644
--- a/devel/SDL_gfx/buildlink3.mk
+++ b/devel/SDL_gfx/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_GFX_BUILDLINK3_MK:= ${SDL_GFX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL_gfx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_gfx}
BUILDLINK_PACKAGES+= SDL_gfx
-BUILDLINK_ORDER+= SDL_gfx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_gfx
.if !empty(SDL_GFX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL_gfx+= SDL_gfx>=2.0.3nb2
diff --git a/devel/SDL_ttf/buildlink3.mk b/devel/SDL_ttf/buildlink3.mk
index 9d6f684e611..1ce36a501cd 100644
--- a/devel/SDL_ttf/buildlink3.mk
+++ b/devel/SDL_ttf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_TTF_BUILDLINK3_MK:= ${SDL_TTF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL_ttf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_ttf}
BUILDLINK_PACKAGES+= SDL_ttf
-BUILDLINK_ORDER+= SDL_ttf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_ttf
.if !empty(SDL_TTF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL_ttf+= SDL_ttf>=2.0.3nb3
diff --git a/devel/SDLmm/buildlink3.mk b/devel/SDLmm/buildlink3.mk
index d8510049afd..64be2d51edc 100644
--- a/devel/SDLmm/buildlink3.mk
+++ b/devel/SDLmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDLMM_BUILDLINK3_MK:= ${SDLMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDLmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDLmm}
BUILDLINK_PACKAGES+= SDLmm
-BUILDLINK_ORDER+= SDLmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDLmm
.if !empty(SDLMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDLmm+= SDLmm>=0.1.8nb1
diff --git a/devel/allegro/buildlink3.mk b/devel/allegro/buildlink3.mk
index 620f500eb79..0f4e4542849 100644
--- a/devel/allegro/buildlink3.mk
+++ b/devel/allegro/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ALLEGRO_BUILDLINK3_MK:= ${ALLEGRO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= allegro
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nallegro}
BUILDLINK_PACKAGES+= allegro
-BUILDLINK_ORDER+= allegro
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}allegro
.if !empty(ALLEGRO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.allegro+= allegro>=4.1.13
diff --git a/devel/apr/buildlink3.mk b/devel/apr/buildlink3.mk
index ba2f058c1f4..c4c9c1ce5b7 100644
--- a/devel/apr/buildlink3.mk
+++ b/devel/apr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.25 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.26 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
APR_BUILDLINK3_MK:= ${APR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= apr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napr}
BUILDLINK_PACKAGES+= apr
-BUILDLINK_ORDER+= apr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apr
.if !empty(APR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.apr+= apr>=0.9.5.2.0.51nb1
diff --git a/devel/at-spi/buildlink3.mk b/devel/at-spi/buildlink3.mk
index c9ef27f5902..50f86fb0c29 100644
--- a/devel/at-spi/buildlink3.mk
+++ b/devel/at-spi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:06 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AT_SPI_BUILDLINK3_MK:= ${AT_SPI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= at-spi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nat-spi}
BUILDLINK_PACKAGES+= at-spi
-BUILDLINK_ORDER+= at-spi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}at-spi
.if !empty(AT_SPI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.at-spi+= at-spi>=1.6.0
diff --git a/devel/atk/buildlink3.mk b/devel/atk/buildlink3.mk
index 753335b6853..a19b50db4b5 100644
--- a/devel/atk/buildlink3.mk
+++ b/devel/atk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ATK_BUILDLINK3_MK:= ${ATK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= atk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Natk}
BUILDLINK_PACKAGES+= atk
-BUILDLINK_ORDER+= atk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}atk
.if !empty(ATK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.atk+= atk>=1.11.4
diff --git a/devel/bglibs/buildlink3.mk b/devel/bglibs/buildlink3.mk
index 2634039a236..a6a095a24a3 100644
--- a/devel/bglibs/buildlink3.mk
+++ b/devel/bglibs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BGLIBS_BUILDLINK3_MK:= ${BGLIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= bglibs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbglibs}
BUILDLINK_PACKAGES+= bglibs
-BUILDLINK_ORDER+= bglibs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bglibs
.if !empty(BGLIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bglibs+= bglibs>=1.040
diff --git a/devel/binutils/buildlink3.mk b/devel/binutils/buildlink3.mk
index f53fe79b7fe..5c8b51845d8 100644
--- a/devel/binutils/buildlink3.mk
+++ b/devel/binutils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BINUTILS_BUILDLINK3_MK:= ${BINUTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= binutils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbinutils}
BUILDLINK_PACKAGES+= binutils
-BUILDLINK_ORDER+= binutils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}binutils
.if !empty(BINUTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.binutils+= binutils>=2.15.0
diff --git a/devel/blib/buildlink3.mk b/devel/blib/buildlink3.mk
index a3901d5bd02..02999c5860b 100644
--- a/devel/blib/buildlink3.mk
+++ b/devel/blib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BLIB_BUILDLINK3_MK:= ${BLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= blib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblib}
BUILDLINK_PACKAGES+= blib
-BUILDLINK_ORDER+= blib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}blib
.if !empty(BLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.blib+= blib>=1.0.2nb1
diff --git a/devel/boehm-gc/buildlink3.mk b/devel/boehm-gc/buildlink3.mk
index b21d1cbd3e1..5fb59c84368 100644
--- a/devel/boehm-gc/buildlink3.mk
+++ b/devel/boehm-gc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOEHM_GC_BUILDLINK3_MK:= ${BOEHM_GC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= boehm-gc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboehm-gc}
BUILDLINK_PACKAGES+= boehm-gc
-BUILDLINK_ORDER+= boehm-gc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}boehm-gc
.if !empty(BOEHM_GC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.boehm-gc+= boehm-gc>=6.3nb1
diff --git a/devel/bonobo/buildlink3.mk b/devel/bonobo/buildlink3.mk
index aacb699f9bb..464a60d41b2 100644
--- a/devel/bonobo/buildlink3.mk
+++ b/devel/bonobo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BONOBO_BUILDLINK3_MK:= ${BONOBO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= bonobo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbonobo}
BUILDLINK_PACKAGES+= bonobo
-BUILDLINK_ORDER+= bonobo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bonobo
.if !empty(BONOBO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bonobo+= bonobo>=1.0.18nb7
diff --git a/devel/boost-build/buildlink3.mk b/devel/boost-build/buildlink3.mk
index 810a3d4acdc..ae6403bd24e 100644
--- a/devel/boost-build/buildlink3.mk
+++ b/devel/boost-build/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOOST_BUILD_BUILDLINK3_MK:= ${BOOST_BUILD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= boost-build
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-build}
BUILDLINK_PACKAGES+= boost-build
-BUILDLINK_ORDER+= boost-build
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}boost-build
.if !empty(BOOST_BUILD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.boost-build+= boost-build-1.33.*
diff --git a/devel/boost-headers/buildlink3.mk b/devel/boost-headers/buildlink3.mk
index 4ceaf27551e..e62dfbe5ecf 100644
--- a/devel/boost-headers/buildlink3.mk
+++ b/devel/boost-headers/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOOST_HEADERS_BUILDLINK3_MK:= ${BOOST_HEADERS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= boost-headers
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-headers}
BUILDLINK_PACKAGES+= boost-headers
-BUILDLINK_ORDER+= boost-headers
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}boost-headers
.if !empty(BOOST_HEADERS_BUILDLINK3_MK:M+)
# Use a dependency pattern that guarantees the proper ABI.
diff --git a/devel/boost-libs/buildlink3.mk b/devel/boost-libs/buildlink3.mk
index 7ff1be65b53..e92f5ea06fe 100644
--- a/devel/boost-libs/buildlink3.mk
+++ b/devel/boost-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOOST_LIBS_BUILDLINK3_MK:= ${BOOST_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= boost-libs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-libs}
BUILDLINK_PACKAGES+= boost-libs
-BUILDLINK_ORDER+= boost-libs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}boost-libs
.if !empty(BOOST_LIBS_BUILDLINK3_MK:M+)
# Use a dependency pattern that guarantees the proper ABI.
diff --git a/devel/boost-python/buildlink3.mk b/devel/boost-python/buildlink3.mk
index 0a1a06393af..a264a65ba97 100644
--- a/devel/boost-python/buildlink3.mk
+++ b/devel/boost-python/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOOST_PYTHON_BUILDLINK3_MK:= ${BOOST_PYTHON_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= boost-python
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboost-python}
BUILDLINK_PACKAGES+= boost-python
-BUILDLINK_ORDER+= boost-python
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}boost-python
.if !empty(BOOST_PYTHON_BUILDLINK3_MK:M+)
# Use a dependency pattern that guarantees the proper ABI.
diff --git a/devel/buddy/buildlink3.mk b/devel/buddy/buildlink3.mk
index 9ce659c9f80..6d452c341cb 100644
--- a/devel/buddy/buildlink3.mk
+++ b/devel/buddy/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:41 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BUDDY_BUILDLINK3_MK:= ${BUDDY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= buddy
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbuddy}
BUILDLINK_PACKAGES+= buddy
-BUILDLINK_ORDER+= buddy
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}buddy
.if !empty(BUDDY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.buddy+= buddy>=2.4
diff --git a/devel/buildtool/buildlink3.mk b/devel/buildtool/buildlink3.mk
index 7a248ee9607..906e2fcbafe 100644
--- a/devel/buildtool/buildlink3.mk
+++ b/devel/buildtool/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BUILDTOOL_BUILDLINK3_MK:= ${BUILDTOOL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= buildtool
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbuildtool}
BUILDLINK_PACKAGES+= buildtool
-BUILDLINK_ORDER+= buildtool
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}buildtool
.if !empty(BUILDTOOL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.buildtool+= buildtool>=0.16
diff --git a/devel/cdk/buildlink3.mk b/devel/cdk/buildlink3.mk
index 340b4126381..022c81c2c01 100644
--- a/devel/cdk/buildlink3.mk
+++ b/devel/cdk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CDK_BUILDLINK3_MK:= ${CDK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cdk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdk}
BUILDLINK_PACKAGES+= cdk
-BUILDLINK_ORDER+= cdk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cdk
.if !empty(CDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cdk+= cdk>=4.9.9nb1
diff --git a/devel/chmlib/buildlink3.mk b/devel/chmlib/buildlink3.mk
index deeddaa95a9..3f3e874faa6 100644
--- a/devel/chmlib/buildlink3.mk
+++ b/devel/chmlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CHMLIB_BUILDLINK3_MK:= ${CHMLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= chmlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nchmlib}
BUILDLINK_PACKAGES+= chmlib
-BUILDLINK_ORDER+= chmlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}chmlib
.if !empty(CHMLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.chmlib+= chmlib>=0.31
diff --git a/devel/cppunit/buildlink3.mk b/devel/cppunit/buildlink3.mk
index b82e802b424..154fe302925 100644
--- a/devel/cppunit/buildlink3.mk
+++ b/devel/cppunit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CPPUNIT_BUILDLINK3_MK:= ${CPPUNIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cppunit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncppunit}
BUILDLINK_PACKAGES+= cppunit
-BUILDLINK_ORDER+= cppunit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cppunit
.if !empty(CPPUNIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2
diff --git a/devel/darts/buildlink3.mk b/devel/darts/buildlink3.mk
index cd933602cd6..d20f06f281d 100644
--- a/devel/darts/buildlink3.mk
+++ b/devel/darts/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPMETHOD.darts?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= darts
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndarts}
BUILDLINK_PACKAGES+= darts
-BUILDLINK_ORDER+= darts
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}darts
.if !empty(DARTS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.darts+= darts>=0.2
diff --git a/devel/devIL/buildlink3.mk b/devel/devIL/buildlink3.mk
index 3f9988d1624..f47f3aeddbf 100644
--- a/devel/devIL/buildlink3.mk
+++ b/devel/devIL/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DEVIL_BUILDLINK3_MK:= ${DEVIL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= devIL
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NdevIL}
BUILDLINK_PACKAGES+= devIL
-BUILDLINK_ORDER+= devIL
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}devIL
.if !empty(DEVIL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.devIL+= devIL>=1.6.6nb1
diff --git a/devel/dlcompat/buildlink3.mk b/devel/dlcompat/buildlink3.mk
index ef1ea2e9a23..9d31a1fe69b 100644
--- a/devel/dlcompat/buildlink3.mk
+++ b/devel/dlcompat/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DLCOMPAT_BUILDLINK3_MK:= ${DLCOMPAT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dlcompat
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndlcompat}
BUILDLINK_PACKAGES+= dlcompat
-BUILDLINK_ORDER+= dlcompat
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dlcompat
.if !empty(DLCOMPAT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dlcompat+= dlcompat>=20030629
diff --git a/devel/dmalloc/buildlink3.mk b/devel/dmalloc/buildlink3.mk
index 3274962a923..c5b34c02e38 100644
--- a/devel/dmalloc/buildlink3.mk
+++ b/devel/dmalloc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DMALLOC_BUILDLINK3_MK:= ${DMALLOC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dmalloc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndmalloc}
BUILDLINK_PACKAGES+= dmalloc
-BUILDLINK_ORDER+= dmalloc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dmalloc
.if !empty(DMALLOC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dmalloc+= dmalloc>=4.8.2nb2
diff --git a/devel/edcommon/buildlink3.mk b/devel/edcommon/buildlink3.mk
index 01ae37e5567..78d538a7e63 100644
--- a/devel/edcommon/buildlink3.mk
+++ b/devel/edcommon/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:07 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EDCOMMON_BUILDLINK3_MK:= ${EDCOMMON_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= edcommon
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nedcommon}
BUILDLINK_PACKAGES+= edcommon
-BUILDLINK_ORDER+= edcommon
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}edcommon
.if !empty(EDCOMMON_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.edcommon+= edcommon>=32
diff --git a/devel/eel2/buildlink3.mk b/devel/eel2/buildlink3.mk
index 5839d76cde2..72e743047d6 100644
--- a/devel/eel2/buildlink3.mk
+++ b/devel/eel2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EEL2_BUILDLINK3_MK:= ${EEL2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= eel2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Neel2}
BUILDLINK_PACKAGES+= eel2
-BUILDLINK_ORDER+= eel2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}eel2
.if !empty(EEL2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.eel2+= eel2>=2.10.0
diff --git a/devel/eet/buildlink3.mk b/devel/eet/buildlink3.mk
index edb51817cad..126549cc65b 100644
--- a/devel/eet/buildlink3.mk
+++ b/devel/eet/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EET_BUILDLINK3_MK:= ${EET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= eet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Neet}
BUILDLINK_PACKAGES+= eet
-BUILDLINK_ORDER+= eet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}eet
.if !empty(EET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.eet+= eet>=0.9.9
diff --git a/devel/ffcall/buildlink3.mk b/devel/ffcall/buildlink3.mk
index 7fc705d0dc9..df03752e345 100644
--- a/devel/ffcall/buildlink3.mk
+++ b/devel/ffcall/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FFCALL_BUILDLINK3_MK:= ${FFCALL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ffcall
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nffcall}
BUILDLINK_PACKAGES+= ffcall
-BUILDLINK_ORDER+= ffcall
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ffcall
.if !empty(FFCALL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ffcall+= ffcall>=1.9
diff --git a/devel/flex/buildlink3.mk b/devel/flex/buildlink3.mk
index 8aec47a402f..1a93889e987 100644
--- a/devel/flex/buildlink3.mk
+++ b/devel/flex/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:42 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= flex
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflex}
BUILDLINK_PACKAGES+= flex
-BUILDLINK_ORDER+= flex
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flex
.if !empty(FLEX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.flex+= flex>=2.5.4a
diff --git a/devel/florist/buildlink3.mk b/devel/florist/buildlink3.mk
index 84aa7369fa2..8ccd09f5be5 100644
--- a/devel/florist/buildlink3.mk
+++ b/devel/florist/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FLORIST_BUILDLINK3_MK:= ${FLORIST_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= florist
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflorist}
BUILDLINK_PACKAGES+= florist
-BUILDLINK_ORDER+= florist
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}florist
.if !empty(FLORIST_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.florist+= florist>=3.15p
diff --git a/devel/g-wrap/buildlink3.mk b/devel/g-wrap/buildlink3.mk
index 1f79eb25574..9f88a134480 100644
--- a/devel/g-wrap/buildlink3.mk
+++ b/devel/g-wrap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
G_WRAP_BUILDLINK3_MK:= ${G_WRAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= g-wrap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ng-wrap}
BUILDLINK_PACKAGES+= g-wrap
-BUILDLINK_ORDER+= g-wrap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}g-wrap
.if !empty(G_WRAP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.g-wrap+= g-wrap>=1.9.5
diff --git a/devel/g-wrap1/buildlink3.mk b/devel/g-wrap1/buildlink3.mk
index 6a99138301b..e12971d60ff 100644
--- a/devel/g-wrap1/buildlink3.mk
+++ b/devel/g-wrap1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
G_WRAP_BUILDLINK3_MK:= ${G_WRAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= g-wrap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ng-wrap}
BUILDLINK_PACKAGES+= g-wrap
-BUILDLINK_ORDER+= g-wrap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}g-wrap
.if !empty(G_WRAP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.g-wrap+= g-wrap>=1.3.4nb6
diff --git a/devel/gail/buildlink3.mk b/devel/gail/buildlink3.mk
index d81f2e5faa3..179c8df54ba 100644
--- a/devel/gail/buildlink3.mk
+++ b/devel/gail/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GAIL_BUILDLINK3_MK:= ${GAIL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gail
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngail}
BUILDLINK_PACKAGES+= gail
-BUILDLINK_ORDER+= gail
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gail
.if !empty(GAIL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gail+= gail>=1.8.0
diff --git a/devel/gal/buildlink3.mk b/devel/gal/buildlink3.mk
index 238aba198f6..334ae319671 100644
--- a/devel/gal/buildlink3.mk
+++ b/devel/gal/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GAL_BUILDLINK3_MK:= ${GAL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gal
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngal}
BUILDLINK_PACKAGES+= gal
-BUILDLINK_ORDER+= gal
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gal
.if !empty(GAL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gal+= gal>=0.22nb6
diff --git a/devel/gconfmm/buildlink3.mk b/devel/gconfmm/buildlink3.mk
index fd3d8fee812..d544bdc8ef2 100644
--- a/devel/gconfmm/buildlink3.mk
+++ b/devel/gconfmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCONFMM_BUILDLINK3_MK:= ${GCONFMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gconfmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngconfmm}
BUILDLINK_PACKAGES+= gconfmm
-BUILDLINK_ORDER+= gconfmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gconfmm
.if !empty(GCONFMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gconfmm+= gconfmm>=2.10.0
diff --git a/devel/gdbada/buildlink3.mk b/devel/gdbada/buildlink3.mk
index 8bb479c44c3..8416c4bfba8 100644
--- a/devel/gdbada/buildlink3.mk
+++ b/devel/gdbada/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDBADA_BUILDLINK3_MK:= ${GDBADA_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdbada} gdbada
.if !empty(GDBADA_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= gdbada
-BUILDLINK_ORDER+= gdbada
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdbada
BUILDLINK_API_DEPENDS.gdbada+= gdbada>=5.3
BUILDLINK_ABI_DEPENDS.gdbada+= gdbada>=6.3nb1
BUILDLINK_PKGSRCDIR.gdbada?= ../../devel/gdbada
diff --git a/devel/gettext-asprintf/buildlink3.mk b/devel/gettext-asprintf/buildlink3.mk
index f4987b0a70e..2c6af8003d0 100644
--- a/devel/gettext-asprintf/buildlink3.mk
+++ b/devel/gettext-asprintf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GETTEXT_ASPRINTF_BUILDLINK3_MK:= ${GETTEXT_ASPRINTF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gettext-asprintf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngettext-asprintf}
BUILDLINK_PACKAGES+= gettext-asprintf
-BUILDLINK_ORDER+= gettext-asprintf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gettext-asprintf
.if !empty(GETTEXT_ASPRINTF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gettext-asprintf+= gettext-asprintf>=0.14.5
diff --git a/devel/gettext-lib/buildlink3.mk b/devel/gettext-lib/buildlink3.mk
index d4ece1824b5..d75ac314809 100644
--- a/devel/gettext-lib/buildlink3.mk
+++ b/devel/gettext-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.26 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.27 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GETTEXT_BUILDLINK3_MK:= ${GETTEXT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gettext
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngettext}
BUILDLINK_PACKAGES+= gettext
-BUILDLINK_ORDER+= gettext
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gettext
.if !empty(GETTEXT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.14.5
diff --git a/devel/giblib/buildlink3.mk b/devel/giblib/buildlink3.mk
index 2f365143836..8a4ba7ab75a 100644
--- a/devel/giblib/buildlink3.mk
+++ b/devel/giblib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:42 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GIBLIB_BUILDLINK3_MK:= ${GIBLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= giblib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngiblib}
BUILDLINK_PACKAGES+= giblib
-BUILDLINK_ORDER+= giblib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}giblib
.if !empty(GIBLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.giblib+= giblib>=1.2.3nb3
diff --git a/devel/glib/buildlink3.mk b/devel/glib/buildlink3.mk
index 6089fa8ce1e..89d64ce635d 100644
--- a/devel/glib/buildlink3.mk
+++ b/devel/glib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLIB_BUILDLINK3_MK:= ${GLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglib}
BUILDLINK_PACKAGES+= glib
-BUILDLINK_ORDER+= glib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glib
.if !empty(GLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glib+= glib>=1.2.10nb5
diff --git a/devel/glib2/buildlink3.mk b/devel/glib2/buildlink3.mk
index 37735850581..6b96c8cc832 100644
--- a/devel/glib2/buildlink3.mk
+++ b/devel/glib2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLIB2_BUILDLINK3_MK:= ${GLIB2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glib2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglib2}
BUILDLINK_PACKAGES+= glib2
-BUILDLINK_ORDER+= glib2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glib2
.if !empty(GLIB2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.4.0
diff --git a/devel/glibmm/buildlink3.mk b/devel/glibmm/buildlink3.mk
index 0841aaa3487..12246bf95ee 100644
--- a/devel/glibmm/buildlink3.mk
+++ b/devel/glibmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLIBMM_BUILDLINK3_MK:= ${GLIBMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glibmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglibmm}
BUILDLINK_PACKAGES+= glibmm
-BUILDLINK_ORDER+= glibmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glibmm
.if !empty(GLIBMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glibmm+= glibmm>=2.6.1
diff --git a/devel/gmp/buildlink3.mk b/devel/gmp/buildlink3.mk
index f683b0c8b9d..d4e5c5e9eda 100644
--- a/devel/gmp/buildlink3.mk
+++ b/devel/gmp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GMP_BUILDLINK3_MK:= ${GMP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gmp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngmp}
BUILDLINK_PACKAGES+= gmp
-BUILDLINK_ORDER+= gmp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gmp
.if !empty(GMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gmp+= gmp>=4.1.2
diff --git a/devel/gnustep-base/buildlink3.mk b/devel/gnustep-base/buildlink3.mk
index bb002febbb0..32f16c80f78 100644
--- a/devel/gnustep-base/buildlink3.mk
+++ b/devel/gnustep-base/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_BASE_BUILDLINK3_MK:= ${GNUSTEP_BASE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-base}
BUILDLINK_PACKAGES+= gnustep-base
-BUILDLINK_ORDER+= gnustep-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-base
.if !empty(GNUSTEP_BASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-base+= gnustep-base>=1.9.1
diff --git a/devel/gnustep-make/buildlink3.mk b/devel/gnustep-make/buildlink3.mk
index 9a8cd14f9d5..e8167714f47 100644
--- a/devel/gnustep-make/buildlink3.mk
+++ b/devel/gnustep-make/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_MAKE_BUILDLINK3_MK:= ${GNUSTEP_MAKE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-make
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-make}
BUILDLINK_PACKAGES+= gnustep-make
-BUILDLINK_ORDER+= gnustep-make
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-make
.if !empty(GNUSTEP_MAKE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-make+= gnustep-make>=1.9.1
diff --git a/devel/gnustep-objc-lf2/buildlink3.mk b/devel/gnustep-objc-lf2/buildlink3.mk
index 0aed147c76f..2e79c31565a 100644
--- a/devel/gnustep-objc-lf2/buildlink3.mk
+++ b/devel/gnustep-objc-lf2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_OBJC_LF2_BUILDLINK3_MK:= ${GNUSTEP_OBJC_LF2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-objc-lf2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-objc-lf2}
BUILDLINK_PACKAGES+= gnustep-objc-lf2
-BUILDLINK_ORDER+= gnustep-objc-lf2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-objc-lf2
.if !empty(GNUSTEP_OBJC_LF2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-objc-lf2+= gnustep-objc-lf2>=2.95.3.88
diff --git a/devel/gnustep-objc/buildlink3.mk b/devel/gnustep-objc/buildlink3.mk
index 8d6975c2f3c..0e36dde5b8c 100644
--- a/devel/gnustep-objc/buildlink3.mk
+++ b/devel/gnustep-objc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_OBJC_BUILDLINK3_MK:= ${GNUSTEP_OBJC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-objc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-objc}
BUILDLINK_PACKAGES+= gnustep-objc
-BUILDLINK_ORDER+= gnustep-objc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-objc
.if !empty(GNUSTEP_OBJC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-objc+= gnustep-objc>=1.3.0
diff --git a/devel/gob2/buildlink3.mk b/devel/gob2/buildlink3.mk
index 9c648d05269..76955a12420 100644
--- a/devel/gob2/buildlink3.mk
+++ b/devel/gob2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GOB2_BUILDLINK3_MK:= ${GOB2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gob2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngob2}
BUILDLINK_PACKAGES+= gob2
-BUILDLINK_ORDER+= gob2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gob2
.if !empty(GOB2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gob2+= gob2>=2.0.10
diff --git a/devel/gperf/buildlink3.mk b/devel/gperf/buildlink3.mk
index 9f29728756c..066fa00205e 100644
--- a/devel/gperf/buildlink3.mk
+++ b/devel/gperf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GPERF_BUILDLINK3_MK:= ${GPERF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gperf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngperf}
BUILDLINK_PACKAGES+= gperf
-BUILDLINK_ORDER+= gperf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gperf
.if !empty(GPERF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gperf+= gperf>=3.0.1
diff --git a/devel/gtl/buildlink3.mk b/devel/gtl/buildlink3.mk
index 8a3e2982a0d..07613fad7e3 100644
--- a/devel/gtl/buildlink3.mk
+++ b/devel/gtl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTL_BUILDLINK3_MK:= ${GTL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtl}
BUILDLINK_PACKAGES+= gtl
-BUILDLINK_ORDER+= gtl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtl
.if !empty(GTL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtl+= gtl>=1.2.0
diff --git a/devel/guile-gtk/buildlink3.mk b/devel/guile-gtk/buildlink3.mk
index 3b9b47c31c9..8238b9a3ae6 100644
--- a/devel/guile-gtk/buildlink3.mk
+++ b/devel/guile-gtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUILE_GTK_BUILDLINK3_MK:= ${GUILE_GTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= guile-gtk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nguile-gtk}
BUILDLINK_PACKAGES+= guile-gtk
-BUILDLINK_ORDER+= guile-gtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}guile-gtk
.if !empty(GUILE_GTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.guile-gtk+= guile-gtk>=0.40
diff --git a/devel/guile14-gtk/buildlink3.mk b/devel/guile14-gtk/buildlink3.mk
index 78321563556..033d0a96901 100644
--- a/devel/guile14-gtk/buildlink3.mk
+++ b/devel/guile14-gtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUILE_GTK_BUILDLINK3_MK:= ${GUILE_GTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= guile-gtk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nguile-gtk}
BUILDLINK_PACKAGES+= guile-gtk
-BUILDLINK_ORDER+= guile-gtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}guile-gtk
.if !empty(GUILE_GTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.guile-gtk+= guile-gtk>=0.19nb4
diff --git a/devel/hdf/buildlink3.mk b/devel/hdf/buildlink3.mk
index ee0b8abf285..24f465aaffd 100644
--- a/devel/hdf/buildlink3.mk
+++ b/devel/hdf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HDF_BUILDLINK3_MK:= ${HDF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= hdf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhdf}
BUILDLINK_PACKAGES+= hdf
-BUILDLINK_ORDER+= hdf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hdf
.if !empty(HDF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.hdf+= hdf>=4.1r5
diff --git a/devel/hdf5/buildlink3.mk b/devel/hdf5/buildlink3.mk
index 1215937dbdf..de1301b2030 100644
--- a/devel/hdf5/buildlink3.mk
+++ b/devel/hdf5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HDF5_BUILDLINK3_MK:= ${HDF5_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= hdf5
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhdf5}
BUILDLINK_PACKAGES+= hdf5
-BUILDLINK_ORDER+= hdf5
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hdf5
.if !empty(HDF5_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.hdf5+= hdf5>=1.6.2
diff --git a/devel/kdesdk3/buildlink3.mk b/devel/kdesdk3/buildlink3.mk
index 487ea8f051f..a82b2ac1b44 100644
--- a/devel/kdesdk3/buildlink3.mk
+++ b/devel/kdesdk3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDESDK_BUILDLINK3_MK:= ${KDESDK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdesdk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdesdk}
BUILDLINK_PACKAGES+= kdesdk
-BUILDLINK_ORDER+= kdesdk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdesdk
.if !empty(KDESDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdesdk+= kdesdk>=3.5.0nb1
diff --git a/devel/ldapsdk/buildlink3.mk b/devel/ldapsdk/buildlink3.mk
index 592fb83bbd9..267f46c1ac1 100644
--- a/devel/ldapsdk/buildlink3.mk
+++ b/devel/ldapsdk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LDAPSDK_BUILDLINK3_MK:= ${LDAPSDK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ldapsdk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nldapsdk}
BUILDLINK_PACKAGES+= ldapsdk
-BUILDLINK_ORDER+= ldapsdk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ldapsdk
.if !empty(LDAPSDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ldapsdk+= ldapsdk>=12311998
diff --git a/devel/libFoundation/buildlink3.mk b/devel/libFoundation/buildlink3.mk
index f44e799bfea..ae2648c51ea 100644
--- a/devel/libFoundation/buildlink3.mk
+++ b/devel/libFoundation/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBFOUNDATION_BUILDLINK3_MK:= ${LIBFOUNDATION_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libFoundation
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibFoundation}
BUILDLINK_PACKAGES+= libFoundation
-BUILDLINK_ORDER+= libFoundation
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libFoundation
.if !empty(LIBFOUNDATION_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libFoundation+= libFoundation>=1.0.72.107nb1
diff --git a/devel/libargparse/buildlink3.mk b/devel/libargparse/buildlink3.mk
index 05947c26035..58c3f8d1c02 100644
--- a/devel/libargparse/buildlink3.mk
+++ b/devel/libargparse/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBARGPARSE_BUILDLINK3_MK:= ${LIBARGPARSE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libargparse
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibargparse}
BUILDLINK_PACKAGES+= libargparse
-BUILDLINK_ORDER+= libargparse
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libargparse
.if !empty(LIBARGPARSE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libargparse+= libargparse>=0.1.0000
diff --git a/devel/libast/buildlink3.mk b/devel/libast/buildlink3.mk
index a2599713b36..b8765e00ee4 100644
--- a/devel/libast/buildlink3.mk
+++ b/devel/libast/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBAST_BUILDLINK3_MK:= ${LIBAST_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libast
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibast}
BUILDLINK_PACKAGES+= libast
-BUILDLINK_ORDER+= libast
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libast
.if !empty(LIBAST_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libast+= libast>=0.5nb5
diff --git a/devel/libaura/buildlink3.mk b/devel/libaura/buildlink3.mk
index 83a25e1071a..9c716e4fa66 100644
--- a/devel/libaura/buildlink3.mk
+++ b/devel/libaura/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBAURA_BUILDLINK3_MK:= ${LIBAURA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libaura
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibaura}
BUILDLINK_PACKAGES+= libaura
-BUILDLINK_ORDER+= libaura
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libaura
.if !empty(LIBAURA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libaura+= libaura>=3.1
diff --git a/devel/libbegemot/buildlink3.mk b/devel/libbegemot/buildlink3.mk
index ee2ee3f7965..255e6dc6fb9 100644
--- a/devel/libbegemot/buildlink3.mk
+++ b/devel/libbegemot/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBBEGEMOT_BUILDLINK3_MK:= ${LIBBEGEMOT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libbegemot
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibbegemot}
BUILDLINK_PACKAGES+= libbegemot
-BUILDLINK_ORDER+= libbegemot
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libbegemot
.if !empty(LIBBEGEMOT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libbegemot+= libbegemot>=1.9nb1
diff --git a/devel/libbonobo/buildlink3.mk b/devel/libbonobo/buildlink3.mk
index cab10ad9381..351bf5e66ad 100644
--- a/devel/libbonobo/buildlink3.mk
+++ b/devel/libbonobo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBBONOBO_BUILDLINK3_MK:= ${LIBBONOBO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libbonobo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibbonobo}
BUILDLINK_PACKAGES+= libbonobo
-BUILDLINK_ORDER+= libbonobo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libbonobo
.if !empty(LIBBONOBO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libbonobo+= libbonobo>=2.8.0
diff --git a/devel/libbonoboui/buildlink3.mk b/devel/libbonoboui/buildlink3.mk
index 1a577948491..46578eb00eb 100644
--- a/devel/libbonoboui/buildlink3.mk
+++ b/devel/libbonoboui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:43 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBBONOBOUI_BUILDLINK3_MK:= ${LIBBONOBOUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libbonoboui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibbonoboui}
BUILDLINK_PACKAGES+= libbonoboui
-BUILDLINK_ORDER+= libbonoboui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libbonoboui
.if !empty(LIBBONOBOUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libbonoboui+= libbonoboui>=2.8.0
diff --git a/devel/libcfg+/buildlink3.mk b/devel/libcfg+/buildlink3.mk
index 8cc0c635091..e0f5aee7b56 100644
--- a/devel/libcfg+/buildlink3.mk
+++ b/devel/libcfg+/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCFG_BUILDLINK3_MK:= ${LIBCFG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcfg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcfg}
BUILDLINK_PACKAGES+= libcfg
-BUILDLINK_ORDER+= libcfg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcfg
.if !empty(LIBCFG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcfg+= libcfg+>=0.6.2nb1
diff --git a/devel/libdfui/buildlink3.mk b/devel/libdfui/buildlink3.mk
index 6abed5dec24..5d3df15ee26 100644
--- a/devel/libdfui/buildlink3.mk
+++ b/devel/libdfui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDFUI_BUILDLINK3_MK:= ${LIBDFUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdfui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdfui}
BUILDLINK_PACKAGES+= libdfui
-BUILDLINK_ORDER+= libdfui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdfui
.if !empty(LIBDFUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdfui+= libdfui>=4.1
diff --git a/devel/libdnsres/buildlink3.mk b/devel/libdnsres/buildlink3.mk
index 411e9df3093..58d64fd221d 100644
--- a/devel/libdnsres/buildlink3.mk
+++ b/devel/libdnsres/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDNSRES_BUILDLINK3_MK:= ${LIBDNSRES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdnsres
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdnsres}
BUILDLINK_PACKAGES+= libdnsres
-BUILDLINK_ORDER+= libdnsres
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdnsres
.if !empty(LIBDNSRES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdnsres+= libdnsres>=0.1a
diff --git a/devel/libdockapp/buildlink3.mk b/devel/libdockapp/buildlink3.mk
index 5ea915c4548..5ac959c836f 100644
--- a/devel/libdockapp/buildlink3.mk
+++ b/devel/libdockapp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDOCKAPP_BUILDLINK3_MK:= ${LIBDOCKAPP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdockapp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdockapp}
BUILDLINK_PACKAGES+= libdockapp
-BUILDLINK_ORDER+= libdockapp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdockapp
.if !empty(LIBDOCKAPP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdockapp+= libdockapp>=0.4.0
diff --git a/devel/libebml/buildlink3.mk b/devel/libebml/buildlink3.mk
index 7566d7ccff8..5c9e66f81e7 100644
--- a/devel/libebml/buildlink3.mk
+++ b/devel/libebml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:44 jlam Exp $
#
# This Makefile fragment is included by packages that use libebml.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= libebml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibebml}
BUILDLINK_PACKAGES+= libebml
-BUILDLINK_ORDER+= libebml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libebml
.if !empty(LIBEBML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libebml+= libebml>=0.7.6
diff --git a/devel/libelf/buildlink3.mk b/devel/libelf/buildlink3.mk
index b96c4a58e38..07789d00795 100644
--- a/devel/libelf/buildlink3.mk
+++ b/devel/libelf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBELF_BUILDLINK3_MK:= ${LIBELF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libelf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibelf}
BUILDLINK_PACKAGES+= libelf
-BUILDLINK_ORDER+= libelf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libelf
.if !empty(LIBELF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libelf+= libelf>=0.8.5
diff --git a/devel/libetm/buildlink3.mk b/devel/libetm/buildlink3.mk
index 7725f7db349..2a7efa27792 100644
--- a/devel/libetm/buildlink3.mk
+++ b/devel/libetm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBETM_BUILDLINK3_MK:= ${LIBETM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libetm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibetm}
BUILDLINK_PACKAGES+= libetm
-BUILDLINK_ORDER+= libetm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libetm
.if !empty(LIBETM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libetm+= libetm>=1.09
diff --git a/devel/libevent/buildlink3.mk b/devel/libevent/buildlink3.mk
index 71ae65eea8b..b27a412cbd6 100644
--- a/devel/libevent/buildlink3.mk
+++ b/devel/libevent/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBEVENT_BUILDLINK3_MK:= ${LIBEVENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libevent
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibevent}
BUILDLINK_PACKAGES+= libevent
-BUILDLINK_ORDER+= libevent
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libevent
.if !empty(LIBEVENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libevent+= libevent>=0.6
diff --git a/devel/libextractor/buildlink3.mk b/devel/libextractor/buildlink3.mk
index 00c35fae77e..f6a57ef2f68 100644
--- a/devel/libextractor/buildlink3.mk
+++ b/devel/libextractor/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBEXTRACTOR_BUILDLINK3_MK:= ${LIBEXTRACTOR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libextractor
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibextractor}
BUILDLINK_PACKAGES+= libextractor
-BUILDLINK_ORDER+= libextractor
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libextractor
.if !empty(LIBEXTRACTOR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libextractor+= libextractor>=0.3.10
diff --git a/devel/libffi/buildlink3.mk b/devel/libffi/buildlink3.mk
index 826bf822efb..2dbe2f065de 100644
--- a/devel/libffi/buildlink3.mk
+++ b/devel/libffi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBFFI_BUILDLINK3_MK:= ${LIBFFI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libffi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibffi}
BUILDLINK_PACKAGES+= libffi
-BUILDLINK_ORDER+= libffi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libffi
.if !empty(LIBFFI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libffi+= libffi>=1.20
diff --git a/devel/libgail-gnome/buildlink3.mk b/devel/libgail-gnome/buildlink3.mk
index 19af7ec37b3..3cd7c464400 100644
--- a/devel/libgail-gnome/buildlink3.mk
+++ b/devel/libgail-gnome/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGAIL_GNOME_BUILDLINK3_MK:= ${LIBGAIL_GNOME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgail-gnome
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgail-gnome}
BUILDLINK_PACKAGES+= libgail-gnome
-BUILDLINK_ORDER+= libgail-gnome
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgail-gnome
.if !empty(LIBGAIL_GNOME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgail-gnome+= libgail-gnome>=1.1.1nb2
diff --git a/devel/libgetopt/buildlink3.mk b/devel/libgetopt/buildlink3.mk
index 9794d8d4599..aeb84d5edce 100644
--- a/devel/libgetopt/buildlink3.mk
+++ b/devel/libgetopt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGETOPT_BUILDLINK3_MK:= ${LIBGETOPT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= getopt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngetopt}
BUILDLINK_PACKAGES+= getopt
-BUILDLINK_ORDER+= getopt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}getopt
.if !empty(LIBGETOPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.getopt+= libgetopt>=1.3
diff --git a/devel/libglade/buildlink3.mk b/devel/libglade/buildlink3.mk
index 83c3a420c8d..4eb57783429 100644
--- a/devel/libglade/buildlink3.mk
+++ b/devel/libglade/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGLADE_BUILDLINK3_MK:= ${LIBGLADE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libglade
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibglade}
BUILDLINK_PACKAGES+= libglade
-BUILDLINK_ORDER+= libglade
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libglade
.if !empty(LIBGLADE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libglade+= libglade>=0.17nb5
diff --git a/devel/libglade2/buildlink3.mk b/devel/libglade2/buildlink3.mk
index 1a52bfd5365..60a5b76aa84 100644
--- a/devel/libglade2/buildlink3.mk
+++ b/devel/libglade2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGLADE2_BUILDLINK3_MK:= ${LIBGLADE2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libglade2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibglade2}
BUILDLINK_PACKAGES+= libglade2
-BUILDLINK_ORDER+= libglade2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libglade2
.if !empty(LIBGLADE2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libglade2+= libglade2>=2.3.6
diff --git a/devel/libglademm/buildlink3.mk b/devel/libglademm/buildlink3.mk
index ef1edd7b089..3dca726436b 100644
--- a/devel/libglademm/buildlink3.mk
+++ b/devel/libglademm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGLADEMM_BUILDLINK3_MK:= ${LIBGLADEMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libglademm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibglademm}
BUILDLINK_PACKAGES+= libglademm
-BUILDLINK_ORDER+= libglademm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libglademm
.if !empty(LIBGLADEMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libglademm+= libglademm>=2.6.0
diff --git a/devel/libgnome/buildlink3.mk b/devel/libgnome/buildlink3.mk
index d215aedcb64..e026e7b3741 100644
--- a/devel/libgnome/buildlink3.mk
+++ b/devel/libgnome/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOME_BUILDLINK3_MK:= ${LIBGNOME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnome
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnome}
BUILDLINK_PACKAGES+= libgnome
-BUILDLINK_ORDER+= libgnome
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnome
.if !empty(LIBGNOME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnome+= libgnome>=2.8.0
diff --git a/devel/libgnomemm/buildlink3.mk b/devel/libgnomemm/buildlink3.mk
index 628891a95d9..4b509580180 100644
--- a/devel/libgnomemm/buildlink3.mk
+++ b/devel/libgnomemm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEMM_BUILDLINK3_MK:= ${LIBGNOMEMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomemm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomemm}
BUILDLINK_PACKAGES+= libgnomemm
-BUILDLINK_ORDER+= libgnomemm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomemm
.if !empty(LIBGNOMEMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomemm+= libgnomemm>=2.10.0
diff --git a/devel/libgnomeui/buildlink3.mk b/devel/libgnomeui/buildlink3.mk
index 37216c03f33..fba1700e80e 100644
--- a/devel/libgnomeui/buildlink3.mk
+++ b/devel/libgnomeui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:10 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEUI_BUILDLINK3_MK:= ${LIBGNOMEUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomeui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomeui}
BUILDLINK_PACKAGES+= libgnomeui
-BUILDLINK_ORDER+= libgnomeui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomeui
.if !empty(LIBGNOMEUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomeui+= libgnomeui>=2.8.0
diff --git a/devel/libgnomeuimm/buildlink3.mk b/devel/libgnomeuimm/buildlink3.mk
index b15d5bc21ac..4993658a451 100644
--- a/devel/libgnomeuimm/buildlink3.mk
+++ b/devel/libgnomeuimm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEUIMM_BUILDLINK3_MK:= ${LIBGNOMEUIMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomeuimm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomeuimm}
BUILDLINK_PACKAGES+= libgnomeuimm
-BUILDLINK_ORDER+= libgnomeuimm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomeuimm
.if !empty(LIBGNOMEUIMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomeuimm+= libgnomeuimm>=2.10.0
diff --git a/devel/libgphoto2/buildlink3.mk b/devel/libgphoto2/buildlink3.mk
index 4ff89ed3809..deaa19ad1cc 100644
--- a/devel/libgphoto2/buildlink3.mk
+++ b/devel/libgphoto2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGPHOTO2_BUILDLINK3_MK:= ${LIBGPHOTO2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgphoto2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgphoto2}
BUILDLINK_PACKAGES+= libgphoto2
-BUILDLINK_ORDER+= libgphoto2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgphoto2
.if !empty(LIBGPHOTO2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgphoto2+= libgphoto2>=2.1.2
diff --git a/devel/libgsf/buildlink3.mk b/devel/libgsf/buildlink3.mk
index b598a80796b..24af3b18944 100644
--- a/devel/libgsf/buildlink3.mk
+++ b/devel/libgsf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGSF_BUILDLINK3_MK:= ${LIBGSF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgsf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgsf}
BUILDLINK_PACKAGES+= libgsf
-BUILDLINK_ORDER+= libgsf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgsf
.if !empty(LIBGSF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgsf+= libgsf>=1.13.3
diff --git a/devel/libhfs/buildlink3.mk b/devel/libhfs/buildlink3.mk
index 2f65f297303..dd341c75ff2 100644
--- a/devel/libhfs/buildlink3.mk
+++ b/devel/libhfs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBHFS_BUILDLINK3_MK:= ${LIBHFS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libhfs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibhfs}
BUILDLINK_PACKAGES+= libhfs
-BUILDLINK_ORDER+= libhfs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libhfs
.if !empty(LIBHFS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libhfs+= libhfs>=3.2.6nb1
diff --git a/devel/libiberty/buildlink3.mk b/devel/libiberty/buildlink3.mk
index 0021b9b4ccb..5d1e9436d30 100644
--- a/devel/libiberty/buildlink3.mk
+++ b/devel/libiberty/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:44 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBIBERTY_BUILDLINK3_MK:= ${LIBIBERTY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libiberty
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibiberty}
BUILDLINK_PACKAGES+= libiberty
-BUILDLINK_ORDER+= libiberty
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libiberty
.if !empty(LIBIBERTY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libiberty+= libiberty>=1.0nb1
diff --git a/devel/libidn/buildlink3.mk b/devel/libidn/buildlink3.mk
index e74162277b3..6bd073817a7 100644
--- a/devel/libidn/buildlink3.mk
+++ b/devel/libidn/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBIDN_BUILDLINK3_MK:= ${LIBIDN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libidn
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibidn}
BUILDLINK_PACKAGES+= libidn
-BUILDLINK_ORDER+= libidn
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libidn
.if !empty(LIBIDN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libidn+= libidn>=0.4.6
diff --git a/devel/libinstaller/buildlink3.mk b/devel/libinstaller/buildlink3.mk
index 87a0e904d33..f19b4462986 100644
--- a/devel/libinstaller/buildlink3.mk
+++ b/devel/libinstaller/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBINSTALLER_BUILDLINK3_MK:= ${LIBINSTALLER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libinstaller
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibinstaller}
BUILDLINK_PACKAGES+= libinstaller
-BUILDLINK_ORDER+= libinstaller
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libinstaller
.if !empty(LIBINSTALLER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libinstaller+= libinstaller>=5.1
diff --git a/devel/libjit/buildlink3.mk b/devel/libjit/buildlink3.mk
index b85d8a23a07..4fbc9e9b2a6 100644
--- a/devel/libjit/buildlink3.mk
+++ b/devel/libjit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBJIT_BUILDLINK3_MK:= ${LIBJIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libjit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibjit}
BUILDLINK_PACKAGES+= libjit
-BUILDLINK_ORDER+= libjit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libjit
.if !empty(LIBJIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libjit+= libjit>=0.0.2
diff --git a/devel/libltdl/buildlink3.mk b/devel/libltdl/buildlink3.mk
index ac3646a9a20..c9b86d9f421 100644
--- a/devel/libltdl/buildlink3.mk
+++ b/devel/libltdl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBLTDL_BUILDLINK3_MK:= ${LIBLTDL_BUILDLINK3_MK}+
@@ -17,7 +17,7 @@ BUILDLINK_DEPENDS+= libltdl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibltdl}
BUILDLINK_PACKAGES+= libltdl
-BUILDLINK_ORDER+= libltdl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libltdl
.if !empty(LIBLTDL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libltdl+= libltdl>=1.5.10
diff --git a/devel/libmatchbox/buildlink3.mk b/devel/libmatchbox/buildlink3.mk
index 69fc93967fe..3ad725bbb68 100644
--- a/devel/libmatchbox/buildlink3.mk
+++ b/devel/libmatchbox/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMATCHBOX_BUILDLINK3_MK:= ${LIBMATCHBOX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmatchbox
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmatchbox}
BUILDLINK_PACKAGES+= libmatchbox
-BUILDLINK_ORDER+= libmatchbox
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmatchbox
.if !empty(LIBMATCHBOX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmatchbox+= libmatchbox>=1.4
diff --git a/devel/libmemcache/buildlink3.mk b/devel/libmemcache/buildlink3.mk
index f0a9983a750..91813d9e331 100644
--- a/devel/libmemcache/buildlink3.mk
+++ b/devel/libmemcache/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMEMCACHE_BUILDLINK3_MK:= ${LIBMEMCACHE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmemcache
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmemcache}
BUILDLINK_PACKAGES+= libmemcache
-BUILDLINK_ORDER+= libmemcache
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmemcache
.if !empty(LIBMEMCACHE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmemcache+= libmemcache>=1.4.0beta5
diff --git a/devel/libmemmgr/buildlink3.mk b/devel/libmemmgr/buildlink3.mk
index eec1a8de4fc..769b9e0755a 100644
--- a/devel/libmemmgr/buildlink3.mk
+++ b/devel/libmemmgr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMEMMGR_BUILDLINK3_MK:= ${LIBMEMMGR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmemmgr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmemmgr}
BUILDLINK_PACKAGES+= libmemmgr
-BUILDLINK_ORDER+= libmemmgr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmemmgr
.if !empty(LIBMEMMGR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmemmgr+= libmemmgr>=1.04
diff --git a/devel/libmimedir/buildlink3.mk b/devel/libmimedir/buildlink3.mk
index 112bbe7cef3..fba9624a7c0 100644
--- a/devel/libmimedir/buildlink3.mk
+++ b/devel/libmimedir/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMIMEDIR_BUILDLINK3_MK:= ${LIBMIMEDIR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmimedir
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmimedir}
BUILDLINK_PACKAGES+= libmimedir
-BUILDLINK_ORDER+= libmimedir
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmimedir
.if !empty(LIBMIMEDIR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmimedir+= libmimedir>=0.4nb1
diff --git a/devel/libmm/buildlink3.mk b/devel/libmm/buildlink3.mk
index d094057f6a8..1f41088b03e 100644
--- a/devel/libmm/buildlink3.mk
+++ b/devel/libmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMM_BUILDLINK3_MK:= ${LIBMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmm}
BUILDLINK_PACKAGES+= libmm
-BUILDLINK_ORDER+= libmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmm
.if !empty(LIBMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmm+= libmm>=1.2.1
diff --git a/devel/libnet/buildlink3.mk b/devel/libnet/buildlink3.mk
index 6b330bb2692..dc5367a899e 100644
--- a/devel/libnet/buildlink3.mk
+++ b/devel/libnet/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libnet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet}
BUILDLINK_PACKAGES+= libnet
-BUILDLINK_ORDER+= libnet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnet
.if !empty(LIBNET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnet+= libnet>=1.0.1bnb3
diff --git a/devel/libnet11/buildlink3.mk b/devel/libnet11/buildlink3.mk
index 6463bcf8f9f..6cad8c9a494 100644
--- a/devel/libnet11/buildlink3.mk
+++ b/devel/libnet11/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libnet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet}
BUILDLINK_PACKAGES+= libnet
-BUILDLINK_ORDER+= libnet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnet
.if !empty(LIBNET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnet+= libnet>=1.1.2.1
diff --git a/devel/libntlm/buildlink3.mk b/devel/libntlm/buildlink3.mk
index 2ad84792a7a..ca35458007f 100644
--- a/devel/libntlm/buildlink3.mk
+++ b/devel/libntlm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:11 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNTLM_BUILDLINK3_MK:= ${LIBNTLM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libntlm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibntlm}
BUILDLINK_PACKAGES+= libntlm
-BUILDLINK_ORDER+= libntlm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libntlm
.if !empty(LIBNTLM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libntlm+= libntlm>=0.3.2
diff --git a/devel/liboil/buildlink3.mk b/devel/liboil/buildlink3.mk
index 3b6c74e6431..b91ad9c15e0 100644
--- a/devel/liboil/buildlink3.mk
+++ b/devel/liboil/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOIL_BUILDLINK3_MK:= ${LIBOIL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= liboil
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nliboil}
BUILDLINK_PACKAGES+= liboil
-BUILDLINK_ORDER+= liboil
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}liboil
.if !empty(LIBOIL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.liboil+= liboil>=0.3.6
diff --git a/devel/libole2/buildlink3.mk b/devel/libole2/buildlink3.mk
index 3ca41a1e246..be4ad4146bf 100644
--- a/devel/libole2/buildlink3.mk
+++ b/devel/libole2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOLE2_BUILDLINK3_MK:= ${LIBOLE2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libole2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibole2}
BUILDLINK_PACKAGES+= libole2
-BUILDLINK_ORDER+= libole2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libole2
.if !empty(LIBOLE2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libole2+= libole2>=0.2.4nb1
diff --git a/devel/liboop/buildlink3.mk b/devel/liboop/buildlink3.mk
index 15b8c6dc80d..e8e52fbd782 100644
--- a/devel/liboop/buildlink3.mk
+++ b/devel/liboop/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOOP_BUILDLINK3_MK:= ${LIBOOP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= liboop
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nliboop}
BUILDLINK_PACKAGES+= liboop
-BUILDLINK_ORDER+= liboop
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}liboop
.if !empty(LIBOOP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.liboop+= liboop>=0.9
diff --git a/devel/libosip/buildlink3.mk b/devel/libosip/buildlink3.mk
index c66f4d86816..c66306216c2 100644
--- a/devel/libosip/buildlink3.mk
+++ b/devel/libosip/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOSIP2_BUILDLINK3_MK:= ${LIBOSIP2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libosip2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibosip2}
BUILDLINK_PACKAGES+= libosip2
-BUILDLINK_ORDER+= libosip2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libosip2
.if !empty(LIBOSIP2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libosip2+= libosip2>=2.2.0
diff --git a/devel/libportlib/buildlink3.mk b/devel/libportlib/buildlink3.mk
index bf6f7de422c..6075ed16115 100644
--- a/devel/libportlib/buildlink3.mk
+++ b/devel/libportlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPORTLIB_BUILDLINK3_MK:= ${LIBPORTLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libportlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibportlib}
BUILDLINK_PACKAGES+= libportlib
-BUILDLINK_ORDER+= libportlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libportlib
.if !empty(LIBPORTLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libportlib+= libportlib>=1.01
diff --git a/devel/libproplist/buildlink3.mk b/devel/libproplist/buildlink3.mk
index 737113b5da2..d7ec63d44b8 100644
--- a/devel/libproplist/buildlink3.mk
+++ b/devel/libproplist/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPROPLIST_BUILDLINK3_MK:= ${LIBPROPLIST_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libproplist
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibproplist}
BUILDLINK_PACKAGES+= libproplist
-BUILDLINK_ORDER+= libproplist
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libproplist
.if !empty(LIBPROPLIST_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libproplist+= libproplist>=0.10.1
diff --git a/devel/librfuncs/buildlink3.mk b/devel/librfuncs/buildlink3.mk
index 8d3fdd9d11b..b5f20af2662 100644
--- a/devel/librfuncs/buildlink3.mk
+++ b/devel/librfuncs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBRFUNCS_BUILDLINK3_MK:= ${LIBRFUNCS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= librfuncs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibrfuncs}
BUILDLINK_PACKAGES+= librfuncs
-BUILDLINK_ORDER+= librfuncs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}librfuncs
.if !empty(LIBRFUNCS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.librfuncs+= librfuncs>=1.0.4
diff --git a/devel/librsync/buildlink3.mk b/devel/librsync/buildlink3.mk
index 69fb3d71ba8..94400a1a11b 100644
--- a/devel/librsync/buildlink3.mk
+++ b/devel/librsync/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBRSYNC_BUILDLINK3_MK:= ${LIBRSYNC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= librsync
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibrsync}
BUILDLINK_PACKAGES+= librsync
-BUILDLINK_ORDER+= librsync
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}librsync
.if !empty(LIBRSYNC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.librsync+= librsync>=0.9.6nb2
diff --git a/devel/libscsi/buildlink3.mk b/devel/libscsi/buildlink3.mk
index 0aa8300993c..85d9778e03a 100644
--- a/devel/libscsi/buildlink3.mk
+++ b/devel/libscsi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSCSI_BUILDLINK3_MK:= ${LIBSCSI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libscsi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibscsi}
BUILDLINK_PACKAGES+= libscsi
-BUILDLINK_ORDER+= libscsi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libscsi
.if !empty(LIBSCSI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libscsi+= libscsi>=1.6
diff --git a/devel/libsexy/buildlink3.mk b/devel/libsexy/buildlink3.mk
index 6909634c1a6..46683e67d25 100644
--- a/devel/libsexy/buildlink3.mk
+++ b/devel/libsexy/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSEXY_BUILDLINK3_MK:= ${LIBSEXY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsexy
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsexy}
BUILDLINK_PACKAGES+= libsexy
-BUILDLINK_ORDER+= libsexy
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsexy
.if !empty(LIBSEXY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsexy+= libsexy>=0.1.8
diff --git a/devel/libsigc++/buildlink3.mk b/devel/libsigc++/buildlink3.mk
index d52f4e1e331..4084afd5a3a 100644
--- a/devel/libsigc++/buildlink3.mk
+++ b/devel/libsigc++/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:45 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSIGC++_BUILDLINK3_MK:= ${LIBSIGC++_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsigcxx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsigcxx}
BUILDLINK_PACKAGES+= libsigcxx
-BUILDLINK_ORDER+= libsigcxx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsigcxx
.if !empty(LIBSIGC++_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsigcxx+= libsigc++>=1.2.3nb1
diff --git a/devel/libsigc++2/buildlink3.mk b/devel/libsigc++2/buildlink3.mk
index 648372a123e..974bc3c3dfd 100644
--- a/devel/libsigc++2/buildlink3.mk
+++ b/devel/libsigc++2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSIGC++_BUILDLINK3_MK:= ${LIBSIGC++_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsigcxx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsigcxx}
BUILDLINK_PACKAGES+= libsigcxx
-BUILDLINK_ORDER+= libsigcxx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsigcxx
.if !empty(LIBSIGC++_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsigcxx+= libsigc++2>=2.0.3
diff --git a/devel/libsigsegv/buildlink3.mk b/devel/libsigsegv/buildlink3.mk
index c8fe2b7e58e..78dc1eceae9 100644
--- a/devel/libsigsegv/buildlink3.mk
+++ b/devel/libsigsegv/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSIGSEGV_BUILDLINK3_MK:= ${LIBSIGSEGV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsigsegv
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsigsegv}
BUILDLINK_PACKAGES+= libsigsegv
-BUILDLINK_ORDER+= libsigsegv
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsigsegv
.if !empty(LIBSIGSEGV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsigsegv+= libsigsegv>=2.2
diff --git a/devel/libslang/buildlink3.mk b/devel/libslang/buildlink3.mk
index f79bb4cfddf..ab820a8cb19 100644
--- a/devel/libslang/buildlink3.mk
+++ b/devel/libslang/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSLANG_BUILDLINK3_MK:= ${LIBSLANG_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= libslang
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibslang}
BUILDLINK_PACKAGES+= libslang
-BUILDLINK_ORDER+= libslang
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libslang
.if !empty(LIBSLANG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libslang+= libslang>=1.4.9nb1
diff --git a/devel/libstatgrab/buildlink3.mk b/devel/libstatgrab/buildlink3.mk
index 7315a0205ab..c8182b234b5 100644
--- a/devel/libstatgrab/buildlink3.mk
+++ b/devel/libstatgrab/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSTATGRAB_BUILDLINK3_MK:= ${LIBSTATGRAB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libstatgrab
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibstatgrab}
BUILDLINK_PACKAGES+= libstatgrab
-BUILDLINK_ORDER+= libstatgrab
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libstatgrab
.if !empty(LIBSTATGRAB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libstatgrab+= libstatgrab>=0.10
diff --git a/devel/libstroke/buildlink3.mk b/devel/libstroke/buildlink3.mk
index f67e9410478..9bdab64a5d5 100644
--- a/devel/libstroke/buildlink3.mk
+++ b/devel/libstroke/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSTROKE_BUILDLINK3_MK:= ${LIBSTROKE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libstroke
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibstroke}
BUILDLINK_PACKAGES+= libstroke
-BUILDLINK_ORDER+= libstroke
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libstroke
.if !empty(LIBSTROKE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libstroke+= libstroke>=0.5.1
diff --git a/devel/libtar/buildlink3.mk b/devel/libtar/buildlink3.mk
index da341117c49..aeef02e96bc 100644
--- a/devel/libtar/buildlink3.mk
+++ b/devel/libtar/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTAR_BUILDLINK3_MK:= ${LIBTAR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtar
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtar}
BUILDLINK_PACKAGES+= libtar
-BUILDLINK_ORDER+= libtar
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtar
.if !empty(LIBTAR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtar+= libtar>=1.2.11
diff --git a/devel/libtecla/buildlink3.mk b/devel/libtecla/buildlink3.mk
index 6decaf95d3f..ce732b0612f 100644
--- a/devel/libtecla/buildlink3.mk
+++ b/devel/libtecla/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTECLA_BUILDLINK3_MK:= ${LIBTECLA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtecla
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtecla}
BUILDLINK_PACKAGES+= libtecla
-BUILDLINK_ORDER+= libtecla
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtecla
.if !empty(LIBTECLA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtecla+= libtecla>=1.5.0
diff --git a/devel/libts/buildlink3.mk b/devel/libts/buildlink3.mk
index b08e07a4800..0f0282d4653 100644
--- a/devel/libts/buildlink3.mk
+++ b/devel/libts/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPMETHOD.libts?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= libts
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibts}
BUILDLINK_PACKAGES+= libts
-BUILDLINK_ORDER+= libts
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libts
.if !empty(LIBTS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libts+= libts>=1.08
diff --git a/devel/libusb/buildlink3.mk b/devel/libusb/buildlink3.mk
index 3b4f17f5f08..1ae02f3a66c 100644
--- a/devel/libusb/buildlink3.mk
+++ b/devel/libusb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBUSB_BUILDLINK3_MK:= ${LIBUSB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libusb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibusb}
BUILDLINK_PACKAGES+= libusb
-BUILDLINK_ORDER+= libusb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libusb
.if !empty(LIBUSB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libusb+= libusb>=0.1.7
diff --git a/devel/libwnck/buildlink3.mk b/devel/libwnck/buildlink3.mk
index 71d4ffd6a30..be647812dad 100644
--- a/devel/libwnck/buildlink3.mk
+++ b/devel/libwnck/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBWNCK_BUILDLINK3_MK:= ${LIBWNCK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libwnck
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibwnck}
BUILDLINK_PACKAGES+= libwnck
-BUILDLINK_ORDER+= libwnck
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libwnck
.if !empty(LIBWNCK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libwnck+= libwnck>=2.10.0
diff --git a/devel/lwp/buildlink3.mk b/devel/lwp/buildlink3.mk
index c022a79960f..ee2340f1bd1 100644
--- a/devel/lwp/buildlink3.mk
+++ b/devel/lwp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LWP_BUILDLINK3_MK:= ${LWP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lwp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlwp}
BUILDLINK_PACKAGES+= lwp
-BUILDLINK_ORDER+= lwp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lwp
.if !empty(LWP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lwp+= lwp>=1.6
diff --git a/devel/ncurses/buildlink3.mk b/devel/ncurses/buildlink3.mk
index 181284b629e..739354a9169 100644
--- a/devel/ncurses/buildlink3.mk
+++ b/devel/ncurses/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.26 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.27 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NCURSES_BUILDLINK3_MK:= ${NCURSES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ncurses
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nncurses}
BUILDLINK_PACKAGES+= ncurses
-BUILDLINK_ORDER+= ncurses
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ncurses
.if !empty(NCURSES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ncurses+= ncurses>=5.3nb1
diff --git a/devel/netcdf/buildlink3.mk b/devel/netcdf/buildlink3.mk
index c5562439399..abf97c90b8e 100644
--- a/devel/netcdf/buildlink3.mk
+++ b/devel/netcdf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NETCDF_BUILDLINK3_MK:= ${NETCDF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= netcdf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnetcdf}
BUILDLINK_PACKAGES+= netcdf
-BUILDLINK_ORDER+= netcdf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}netcdf
.if !empty(NETCDF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.netcdf+= netcdf>=3.5
diff --git a/devel/newt/buildlink3.mk b/devel/newt/buildlink3.mk
index be0a897e2e1..14c3c3aa7b9 100644
--- a/devel/newt/buildlink3.mk
+++ b/devel/newt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NEWT_BUILDLINK3_MK:= ${NEWT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= newt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnewt}
BUILDLINK_PACKAGES+= newt
-BUILDLINK_ORDER+= newt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}newt
.if !empty(NEWT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.newt+= newt>=0.51.6
diff --git a/devel/nspr/buildlink3.mk b/devel/nspr/buildlink3.mk
index 6d7c997dd04..ab2c42f02d4 100644
--- a/devel/nspr/buildlink3.mk
+++ b/devel/nspr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NSPR_BUILDLINK3_MK:= ${NSPR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nspr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnspr}
BUILDLINK_PACKAGES+= nspr
-BUILDLINK_ORDER+= nspr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nspr
.if !empty(NSPR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nspr+= nspr>=4.4.1nb1
diff --git a/devel/nss/buildlink3.mk b/devel/nss/buildlink3.mk
index c404045bb40..6977353f3c7 100644
--- a/devel/nss/buildlink3.mk
+++ b/devel/nss/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NSS_BUILDLINK3_MK:= ${NSS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nss
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnss}
BUILDLINK_PACKAGES+= nss
-BUILDLINK_ORDER+= nss
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nss
.if !empty(NSS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nss+= nss>=3.9.2nb1
diff --git a/devel/oaf/buildlink3.mk b/devel/oaf/buildlink3.mk
index 650b9aeae51..b29794fd4ee 100644
--- a/devel/oaf/buildlink3.mk
+++ b/devel/oaf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OAF_BUILDLINK3_MK:= ${OAF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= oaf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noaf}
BUILDLINK_PACKAGES+= oaf
-BUILDLINK_ORDER+= oaf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}oaf
.if !empty(OAF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.oaf+= oaf>=0.6.10nb4
diff --git a/devel/ode/buildlink3.mk b/devel/ode/buildlink3.mk
index c477d9582d1..74ec76956ef 100644
--- a/devel/ode/buildlink3.mk
+++ b/devel/ode/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ODE_BUILDLINK3_MK:= ${ODE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ode
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Node}
BUILDLINK_PACKAGES+= ode
-BUILDLINK_ORDER+= ode
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ode
.if !empty(ODE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ode+= ode>=0.5nb2
diff --git a/devel/ogre/buildlink3.mk b/devel/ogre/buildlink3.mk
index 41819227d12..e8b15f2626a 100644
--- a/devel/ogre/buildlink3.mk
+++ b/devel/ogre/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OGRE_BUILDLINK3_MK:= ${OGRE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ogre
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nogre}
BUILDLINK_PACKAGES+= ogre
-BUILDLINK_ORDER+= ogre
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ogre
.if !empty(OGRE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ogre+= ogre>=0.12.1nb1
diff --git a/devel/p5-glib2/buildlink3.mk b/devel/p5-glib2/buildlink3.mk
index 975ec2ac2a4..9298fa24960 100644
--- a/devel/p5-glib2/buildlink3.mk
+++ b/devel/p5-glib2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
P5_GLIB2_BUILDLINK3_MK:= ${P5_GLIB2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= p5-glib2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Np5-glib2}
BUILDLINK_PACKAGES+= p5-glib2
-BUILDLINK_ORDER+= p5-glib2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}p5-glib2
.if !empty(P5_GLIB2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.p5-glib2+= p5-glib2>=1.103
diff --git a/devel/pango/buildlink3.mk b/devel/pango/buildlink3.mk
index 9cde473b941..5446e85865a 100644
--- a/devel/pango/buildlink3.mk
+++ b/devel/pango/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PANGO_BUILDLINK3_MK:= ${PANGO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pango
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npango}
BUILDLINK_PACKAGES+= pango
-BUILDLINK_ORDER+= pango
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pango
.if !empty(PANGO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pango+= pango>=1.6.0
diff --git a/devel/pccts/buildlink3.mk b/devel/pccts/buildlink3.mk
index 432b2111b45..b830b86c5be 100644
--- a/devel/pccts/buildlink3.mk
+++ b/devel/pccts/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PCCTS_BUILDLINK3_MK:= ${PCCTS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pccts
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npccts}
BUILDLINK_PACKAGES+= pccts
-BUILDLINK_ORDER+= pccts
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pccts
.if !empty(PCCTS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pccts+= pccts>=1.33.22
diff --git a/devel/pcre++/buildlink3.mk b/devel/pcre++/buildlink3.mk
index 9600d8cd6d4..c85054e1198 100644
--- a/devel/pcre++/buildlink3.mk
+++ b/devel/pcre++/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PCRE++_BUILDLINK3_MK:= ${PCRE++_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pcrexx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npcrexx}
BUILDLINK_PACKAGES+= pcrexx
-BUILDLINK_ORDER+= pcrexx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcrexx
.if !empty(PCRE++_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pcrexx+= pcre++>=0.9.5
diff --git a/devel/pcre/buildlink3.mk b/devel/pcre/buildlink3.mk
index 6b6dbe489ab..2988ef8639f 100644
--- a/devel/pcre/buildlink3.mk
+++ b/devel/pcre/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PCRE_BUILDLINK3_MK:= ${PCRE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pcre
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npcre}
BUILDLINK_PACKAGES+= pcre
-BUILDLINK_ORDER+= pcre
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcre
.if !empty(PCRE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pcre+= pcre>=3.4nb1
diff --git a/devel/physfs/buildlink3.mk b/devel/physfs/buildlink3.mk
index 84bff66862b..2377555519e 100644
--- a/devel/physfs/buildlink3.mk
+++ b/devel/physfs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHYSFS_BUILDLINK3_MK:= ${PHYSFS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= physfs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphysfs}
BUILDLINK_PACKAGES+= physfs
-BUILDLINK_ORDER+= physfs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}physfs
.if !empty(PHYSFS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.physfs+= physfs>=1.0.0
diff --git a/devel/popt/buildlink3.mk b/devel/popt/buildlink3.mk
index e81c05e4c45..7e8ab9c6aac 100644
--- a/devel/popt/buildlink3.mk
+++ b/devel/popt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POPT_BUILDLINK3_MK:= ${POPT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= popt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npopt}
BUILDLINK_PACKAGES+= popt
-BUILDLINK_ORDER+= popt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}popt
.if !empty(POPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.popt+= popt>=1.7nb3
diff --git a/devel/pth/buildlink3.mk b/devel/pth/buildlink3.mk
index 495f2543e20..875330ca58b 100644
--- a/devel/pth/buildlink3.mk
+++ b/devel/pth/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PTH_BUILDLINK3_MK:= ${PTH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pth
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npth}
BUILDLINK_PACKAGES+= pth
-BUILDLINK_ORDER+= pth
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pth
.if !empty(PTH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pth+= pth>=2.0.0
diff --git a/devel/pthread-sem/buildlink3.mk b/devel/pthread-sem/buildlink3.mk
index 80266aba967..ef558cd2c81 100644
--- a/devel/pthread-sem/buildlink3.mk
+++ b/devel/pthread-sem/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PTHREAD_SEM_BUILDLINK3_MK:= ${PTHREAD_SEM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pthread-sem
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread-sem}
BUILDLINK_PACKAGES+= pthread-sem
-BUILDLINK_ORDER+= pthread-sem
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pthread-sem
.if !empty(PTHREAD_SEM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pthread-sem+= pthread-sem>=1.0
diff --git a/devel/pthread-stublib/buildlink3.mk b/devel/pthread-stublib/buildlink3.mk
index 1b3561ee33e..d9950b84f13 100644
--- a/devel/pthread-stublib/buildlink3.mk
+++ b/devel/pthread-stublib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:47 jlam Exp $
# XXX
# XXX This file was created automatically using createbuildlink-3.10.
# XXX After this file has been verified as correct, the comment lines
@@ -19,7 +19,7 @@ BUILDLINK_DEPENDS+= pthread-stublib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread-stublib}
BUILDLINK_PACKAGES+= pthread-stublib
-BUILDLINK_ORDER+= pthread-stublib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pthread-stublib
.if !empty(PTHREAD_STUBLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pthread-stublib+= pthread-stublib>=1.0
diff --git a/devel/pwlib/buildlink3.mk b/devel/pwlib/buildlink3.mk
index a66012a0d4b..e2176adf6e9 100644
--- a/devel/pwlib/buildlink3.mk
+++ b/devel/pwlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PWLIB_BUILDLINK3_MK:= ${PWLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pwlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npwlib}
BUILDLINK_PACKAGES+= pwlib
-BUILDLINK_ORDER+= pwlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pwlib
.if !empty(PWLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pwlib+= pwlib>=1.8.3nb1
diff --git a/devel/py-curses/buildlink3.mk b/devel/py-curses/buildlink3.mk
index e15fe4ef65b..d11764cb2de 100644
--- a/devel/py-curses/buildlink3.mk
+++ b/devel/py-curses/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_CURSES_BUILDLINK3_MK:= ${PY_CURSES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pycurses
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npycurses}
BUILDLINK_PACKAGES+= pycurses
-BUILDLINK_ORDER+= pycurses
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pycurses
.if !empty(PY_CURSES_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
diff --git a/devel/py-cursespanel/buildlink3.mk b/devel/py-cursespanel/buildlink3.mk
index 881e318b551..d4b0bc897d1 100644
--- a/devel/py-cursespanel/buildlink3.mk
+++ b/devel/py-cursespanel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_CURSESPANEL_BUILDLINK3_MK:= ${PY_CURSESPANEL_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pycursespanel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npycursespanel}
BUILDLINK_PACKAGES+= pycursespanel
-BUILDLINK_ORDER+= pycursespanel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pycursespanel
.if !empty(PY_CURSESPANEL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pycursespanel+= ${PYPKGPREFIX}-cursespanel-[0-9]*
diff --git a/devel/py-game/buildlink3.mk b/devel/py-game/buildlink3.mk
index 5ac4574bce7..6483680801b 100644
--- a/devel/py-game/buildlink3.mk
+++ b/devel/py-game/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GAME_BUILDLINK3_MK:= ${PY_GAME_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= ${PYPKGPREFIX}-game
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${PYPKGPREFIX}-game}
BUILDLINK_PACKAGES+= ${PYPKGPREFIX}-game
-BUILDLINK_ORDER+= ${PYPKGPREFIX}-game
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${PYPKGPREFIX}-game
.if !empty(PY_GAME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-game+= ${PYPKGPREFIX}-game>=1.6
diff --git a/devel/py-gobject-shared/buildlink3.mk b/devel/py-gobject-shared/buildlink3.mk
index 024c7657776..3fda7328f5b 100644
--- a/devel/py-gobject-shared/buildlink3.mk
+++ b/devel/py-gobject-shared/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:47 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GOBJECT_SHARED_BUILDLINK3_MK:= ${PY_GOBJECT_SHARED_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= py-gobject-shared
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gobject-shared}
BUILDLINK_PACKAGES+= py-gobject-shared
-BUILDLINK_ORDER+= py-gobject-shared
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-gobject-shared
.if ${PY_GOBJECT_SHARED_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=2.10.1
diff --git a/devel/py-gobject/buildlink3.mk b/devel/py-gobject/buildlink3.mk
index a14d2b5164d..19391d7587e 100644
--- a/devel/py-gobject/buildlink3.mk
+++ b/devel/py-gobject/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GOBJECT_BUILDLINK3_MK:= ${PY_GOBJECT_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pygobject
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygobject}
BUILDLINK_PACKAGES+= pygobject
-BUILDLINK_ORDER+= pygobject
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pygobject
.if !empty(PY_GOBJECT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pygobject+= ${PYPKGPREFIX}-gobject>=2.10.1nb1
diff --git a/devel/py-readline/buildlink3.mk b/devel/py-readline/buildlink3.mk
index 096f109e737..4d4a701586e 100644
--- a/devel/py-readline/buildlink3.mk
+++ b/devel/py-readline/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYREADLINE_BUILDLINK3_MK:= ${PYREADLINE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pyreadline
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyreadline}
BUILDLINK_PACKAGES+= pyreadline
-BUILDLINK_ORDER+= pyreadline
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyreadline
.if !empty(PYREADLINE_BUILDLINK3_MK:M+)
diff --git a/devel/readline/buildlink3.mk b/devel/readline/buildlink3.mk
index c4810b8245d..7f83bb9c9ee 100644
--- a/devel/readline/buildlink3.mk
+++ b/devel/readline/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.25 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
READLINE_BUILDLINK3_MK:= ${READLINE_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= readline
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nreadline}
BUILDLINK_PACKAGES+= readline
-BUILDLINK_ORDER+= readline
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}readline
.if !empty(READLINE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.readline+= readline>=2.2
diff --git a/devel/rpc2/buildlink3.mk b/devel/rpc2/buildlink3.mk
index ca960d658fa..98aa4e340de 100644
--- a/devel/rpc2/buildlink3.mk
+++ b/devel/rpc2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RPC2_BUILDLINK3_MK:= ${RPC2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rpc2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrpc2}
BUILDLINK_PACKAGES+= rpc2
-BUILDLINK_ORDER+= rpc2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rpc2
.if !empty(RPC2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rpc2+= rpc2>=1.10
diff --git a/devel/ruby-gnome2-pango/buildlink3.mk b/devel/ruby-gnome2-pango/buildlink3.mk
index e7ed5176879..10e3c733f5d 100644
--- a/devel/ruby-gnome2-pango/buildlink3.mk
+++ b/devel/ruby-gnome2-pango/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RUBY_GNOME2_PANGO_BUILDLINK3_MK:= ${RUBY_GNOME2_PANGO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ruby-gnome2-pango
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nruby-gnome2-pango}
BUILDLINK_PACKAGES+= ruby-gnome2-pango
-BUILDLINK_ORDER+= ruby-gnome2-pango
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ruby-gnome2-pango
.if !empty(RUBY_GNOME2_PANGO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ruby-gnome2-pango+= ruby-gnome2-pango>=0.14.1
diff --git a/devel/rudiments/buildlink3.mk b/devel/rudiments/buildlink3.mk
index b9848b35a26..f9424831395 100644
--- a/devel/rudiments/buildlink3.mk
+++ b/devel/rudiments/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:48 jlam Exp $
#
# This Makefile fragment is included by packages that use rudiments.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= rudiments
.if !empty(RUDIMENTS_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= rudiments
-BUILDLINK_ORDER+= rudiments
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rudiments
BUILDLINK_API_DEPENDS.rudiments+= rudiments>=0.25.1
BUILDLINK_ABI_DEPENDS.rudiments+= rudiments>=0.28.2nb1
BUILDLINK_PKGSRCDIR.rudiments?= ../../devel/rudiments
diff --git a/devel/rvm/buildlink3.mk b/devel/rvm/buildlink3.mk
index 41215ec0d66..a1a2a67fcd0 100644
--- a/devel/rvm/buildlink3.mk
+++ b/devel/rvm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RVM_BUILDLINK3_MK:= ${RVM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rvm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrvm}
BUILDLINK_PACKAGES+= rvm
-BUILDLINK_ORDER+= rvm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rvm
.if !empty(RVM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rvm+= rvm>=1.3
diff --git a/devel/rx/buildlink3.mk b/devel/rx/buildlink3.mk
index a3276f721a4..855568a16cd 100644
--- a/devel/rx/buildlink3.mk
+++ b/devel/rx/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:14 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RX_BUILDLINK3_MK:= ${RX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrx}
BUILDLINK_PACKAGES+= rx
-BUILDLINK_ORDER+= rx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rx
.if !empty(RX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rx+= rx>=1.5
diff --git a/devel/sgb/buildlink3.mk b/devel/sgb/buildlink3.mk
index 35c7ca41971..2070338bf9d 100644
--- a/devel/sgb/buildlink3.mk
+++ b/devel/sgb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SGB_BUILDLINK3_MK:= ${SGB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sgb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsgb}
BUILDLINK_PACKAGES+= sgb
-BUILDLINK_ORDER+= sgb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sgb
.if !empty(SGB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sgb+= sgb>=0pre20050409
diff --git a/devel/silc-toolkit/buildlink3.mk b/devel/silc-toolkit/buildlink3.mk
index 1bac9539b65..d42200f017b 100644
--- a/devel/silc-toolkit/buildlink3.mk
+++ b/devel/silc-toolkit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= silc-toolkit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsilc-toolkit}
BUILDLINK_PACKAGES+= silc-toolkit
-BUILDLINK_ORDER+= silc-toolkit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}silc-toolkit
.if !empty(SILC_TOOLKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.silc-toolkit+= silc-toolkit>=0.9.12
diff --git a/devel/subversion-base/buildlink3.mk b/devel/subversion-base/buildlink3.mk
index 1b1b61e7352..075eb48c2d7 100644
--- a/devel/subversion-base/buildlink3.mk
+++ b/devel/subversion-base/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUBVERSION_BASE_BUILDLINK3_MK:= ${SUBVERSION_BASE_BUILDLINK3_MK}+
@@ -12,7 +12,7 @@ BUILDLINK_DEPENDS+= subversion-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsubversion-base}
BUILDLINK_PACKAGES+= subversion-base
-BUILDLINK_ORDER+= subversion-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}subversion-base
.if !empty(SUBVERSION_BASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.subversion-base+= subversion-base>=1.0.0
diff --git a/devel/swig/buildlink3.mk b/devel/swig/buildlink3.mk
index f01d25beee6..afb0f98c4b5 100644
--- a/devel/swig/buildlink3.mk
+++ b/devel/swig/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SWIG_BUILDLINK3_MK:= ${SWIG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= swig
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswig}
BUILDLINK_PACKAGES+= swig
-BUILDLINK_ORDER+= swig
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}swig
.if !empty(SWIG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.swig+= swig>=1.3.24
diff --git a/devel/syncdir/buildlink3.mk b/devel/syncdir/buildlink3.mk
index bee3cada932..e0837abbe49 100644
--- a/devel/syncdir/buildlink3.mk
+++ b/devel/syncdir/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SYNCDIR_BUILDLINK3_MK:= ${SYNCDIR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= syncdir
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsyncdir}
BUILDLINK_PACKAGES+= syncdir
-BUILDLINK_ORDER+= syncdir
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}syncdir
.if !empty(SYNCDIR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.syncdir+= syncdir>=1.0
diff --git a/devel/sysexits/buildlink3.mk b/devel/sysexits/buildlink3.mk
index c725c817c1b..b134fb3a3c7 100644
--- a/devel/sysexits/buildlink3.mk
+++ b/devel/sysexits/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SYSEXITS_BUILDLINK3_MK:= ${SYSEXITS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sysexits
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsysexits}
BUILDLINK_PACKAGES+= sysexits
-BUILDLINK_ORDER+= sysexits
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sysexits
.if !empty(SYSEXITS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sysexits+= sysexits>=1.1
diff --git a/devel/tcl-tclcl/buildlink3.mk b/devel/tcl-tclcl/buildlink3.mk
index 4c912f39019..a522ca2fc23 100644
--- a/devel/tcl-tclcl/buildlink3.mk
+++ b/devel/tcl-tclcl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_TCLCL_BUILDLINK3_MK:= ${TCL_TCLCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-tclcl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-tclcl}
BUILDLINK_PACKAGES+= tcl-tclcl
-BUILDLINK_ORDER+= tcl-tclcl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-tclcl
.if !empty(TCL_TCLCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-tclcl+= tcl-tclcl>=1.15
diff --git a/devel/teem/buildlink3.mk b/devel/teem/buildlink3.mk
index 308a3fb85e9..4cdd1e597e0 100644
--- a/devel/teem/buildlink3.mk
+++ b/devel/teem/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TEEM_BUILDLINK3_MK:= ${TEEM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= teem
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nteem}
BUILDLINK_PACKAGES+= teem
-BUILDLINK_ORDER+= teem
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}teem
.if !empty(TEEM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.teem+= teem>=1.8.0
diff --git a/devel/tre/buildlink3.mk b/devel/tre/buildlink3.mk
index d1ff742120d..9b5f759329d 100644
--- a/devel/tre/buildlink3.mk
+++ b/devel/tre/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TRE_BUILDLINK3_MK:= ${TRE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tre
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntre}
BUILDLINK_PACKAGES+= tre
-BUILDLINK_ORDER+= tre
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tre
.if !empty(TRE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tre+= tre>=0.7.2
diff --git a/devel/ucl/buildlink3.mk b/devel/ucl/buildlink3.mk
index c06546fdaba..efb66907425 100644
--- a/devel/ucl/buildlink3.mk
+++ b/devel/ucl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UCL_BUILDLINK3_MK:= ${UCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ucl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nucl}
BUILDLINK_PACKAGES+= ucl
-BUILDLINK_ORDER+= ucl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ucl
.if !empty(UCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ucl+= ucl>=1.02
diff --git a/devel/vanessa_adt/buildlink3.mk b/devel/vanessa_adt/buildlink3.mk
index dd8fee43046..ec83f9cf4e0 100644
--- a/devel/vanessa_adt/buildlink3.mk
+++ b/devel/vanessa_adt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
#
# This file was created automatically using createbuildlink-3.5.
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= vanessa_adt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nvanessa_adt}
BUILDLINK_PACKAGES+= vanessa_adt
-BUILDLINK_ORDER+= vanessa_adt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vanessa_adt
.if !empty(VANESSA_ADT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.vanessa_adt+= vanessa_adt>=0.0.6
diff --git a/devel/vanessa_logger/buildlink3.mk b/devel/vanessa_logger/buildlink3.mk
index dce8d5151c3..4e5b566e6a8 100644
--- a/devel/vanessa_logger/buildlink3.mk
+++ b/devel/vanessa_logger/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:48 jlam Exp $
#
# This file was created automatically using createbuildlink-3.5.
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= vanessa_logger
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nvanessa_logger}
BUILDLINK_PACKAGES+= vanessa_logger
-BUILDLINK_ORDER+= vanessa_logger
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vanessa_logger
.if !empty(VANESSA_LOGGER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.vanessa_logger+= vanessa_logger>=0.0.7
diff --git a/devel/vanessa_socket/buildlink3.mk b/devel/vanessa_socket/buildlink3.mk
index cc974a4100b..82535019437 100644
--- a/devel/vanessa_socket/buildlink3.mk
+++ b/devel/vanessa_socket/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:48 jlam Exp $
#
# This file was created automatically using createbuildlink-3.5.
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= vanessa_socket
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nvanessa_socket}
BUILDLINK_PACKAGES+= vanessa_socket
-BUILDLINK_ORDER+= vanessa_socket
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vanessa_socket
.if !empty(VANESSA_SOCKET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.vanessa_socket+= vanessa_socket>=0.0.7nb2
diff --git a/devel/zlib/buildlink3.mk b/devel/zlib/buildlink3.mk
index 232d2dbcb79..6c0867d04f5 100644
--- a/devel/zlib/buildlink3.mk
+++ b/devel/zlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ZLIB_BUILDLINK3_MK:= ${ZLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= zlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nzlib}
BUILDLINK_PACKAGES+= zlib
-BUILDLINK_ORDER+= zlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}zlib
.if !empty(ZLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.zlib+= zlib>=1.1.4nb1
diff --git a/editors/gedit/buildlink3.mk b/editors/gedit/buildlink3.mk
index 9f3d9475f1a..e95428f72ef 100644
--- a/editors/gedit/buildlink3.mk
+++ b/editors/gedit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:49 jlam Exp $
# XXX
# XXX This file was created automatically using createbuildlink-3.10.
# XXX After this file has been verified as correct, the comment lines
@@ -19,7 +19,7 @@ BUILDLINK_DEPENDS+= gedit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngedit}
BUILDLINK_PACKAGES+= gedit
-BUILDLINK_ORDER+= gedit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gedit
.if !empty(GEDIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gedit+= gedit>=2.12.1nb4
diff --git a/editors/pico/buildlink3.mk b/editors/pico/buildlink3.mk
index e657a49bee9..80240f596d5 100644
--- a/editors/pico/buildlink3.mk
+++ b/editors/pico/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PICO_BUILDLINK3_MK:= ${PICO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pico
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npico}
BUILDLINK_PACKAGES+= pico
-BUILDLINK_ORDER+= pico
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pico
.if !empty(PICO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pico+= pico>=4.10
diff --git a/editors/sam/buildlink3.mk b/editors/sam/buildlink3.mk
index f40d564b043..28aa8947326 100644
--- a/editors/sam/buildlink3.mk
+++ b/editors/sam/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SAM_BUILDLINK3_MK:= ${SAM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sam
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsam}
BUILDLINK_PACKAGES+= sam
-BUILDLINK_ORDER+= sam
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sam
.if !empty(SAM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sam+= sam>=4.3nb1
diff --git a/emulators/DatLib/buildlink3.mk b/emulators/DatLib/buildlink3.mk
index a9eeca3521e..7c40671a3c5 100644
--- a/emulators/DatLib/buildlink3.mk
+++ b/emulators/DatLib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DATLIB_BUILDLINK3_MK:= ${DATLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= DatLib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NDatLib}
BUILDLINK_PACKAGES+= DatLib
-BUILDLINK_ORDER+= DatLib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}DatLib
.if !empty(DATLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.DatLib+= DatLib>=2.8
diff --git a/emulators/cygwin_lib/buildlink3.mk b/emulators/cygwin_lib/buildlink3.mk
index ab18f0ab751..a8a17e99f08 100644
--- a/emulators/cygwin_lib/buildlink3.mk
+++ b/emulators/cygwin_lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CYGWIN_LIB_BUILDLINK3_MK:= ${CYGWIN_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cygwin_lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncygwin_lib}
BUILDLINK_PACKAGES+= cygwin_lib
-BUILDLINK_ORDER+= cygwin_lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cygwin_lib
.if !empty(CYGWIN_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cygwin_lib+= cygwin_lib>=1.5.11.1
diff --git a/emulators/gpsim-devel/buildlink3.mk b/emulators/gpsim-devel/buildlink3.mk
index 74debdfa4d9..bd4d0771883 100644
--- a/emulators/gpsim-devel/buildlink3.mk
+++ b/emulators/gpsim-devel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GPSIM_BUILDLINK3_MK:= ${GPSIM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gpsim
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngpsim}
BUILDLINK_PACKAGES+= gpsim
-BUILDLINK_ORDER+= gpsim
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gpsim
.if !empty(GPSIM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gpsim+= gpsim>=20050905
diff --git a/emulators/libspectrum/buildlink3.mk b/emulators/libspectrum/buildlink3.mk
index 5617e2e3978..06643914d52 100644
--- a/emulators/libspectrum/buildlink3.mk
+++ b/emulators/libspectrum/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSPECTRUM_BUILDLINK3_MK:= ${LIBSPECTRUM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libspectrum
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibspectrum}
BUILDLINK_PACKAGES+= libspectrum
-BUILDLINK_ORDER+= libspectrum
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libspectrum
.if !empty(LIBSPECTRUM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libspectrum+= libspectrum>=0.2.2
diff --git a/emulators/lrmi/buildlink3.mk b/emulators/lrmi/buildlink3.mk
index ed620b4dd9d..5465677d726 100644
--- a/emulators/lrmi/buildlink3.mk
+++ b/emulators/lrmi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LRMI_BUILDLINK3_MK:= ${LRMI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lrmi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlrmi}
BUILDLINK_PACKAGES+= lrmi
-BUILDLINK_ORDER+= lrmi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lrmi
.if !empty(LRMI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lrmi+= lrmi>=0.8nb1
diff --git a/emulators/wine/buildlink3.mk b/emulators/wine/buildlink3.mk
index 77b891bc887..d902bff1fe2 100644
--- a/emulators/wine/buildlink3.mk
+++ b/emulators/wine/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WINE_BUILDLINK3_MK:= ${WINE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= wine
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwine}
BUILDLINK_PACKAGES+= wine
-BUILDLINK_ORDER+= wine
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wine
.if !empty(WINE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wine+= wine>=0.9.6nb1
diff --git a/finance/libofx/buildlink3.mk b/finance/libofx/buildlink3.mk
index 9ff914a3295..25dc3f2aa31 100644
--- a/finance/libofx/buildlink3.mk
+++ b/finance/libofx/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOFX_BUILDLINK3_MK:= ${LIBOFX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libofx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibofx}
BUILDLINK_PACKAGES+= libofx
-BUILDLINK_ORDER+= libofx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libofx
.if !empty(LIBOFX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libofx+= libofx>=0.8.0
diff --git a/fonts/Xft2/buildlink3.mk b/fonts/Xft2/buildlink3.mk
index 4aa0121aa28..4004f368c6a 100644
--- a/fonts/Xft2/buildlink3.mk
+++ b/fonts/Xft2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFT2_BUILDLINK3_MK:= ${XFT2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xft2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXft2}
BUILDLINK_PACKAGES+= Xft2
-BUILDLINK_ORDER+= Xft2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xft2
.if !empty(XFT2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xft2+= Xft2>=2.1
diff --git a/fonts/fontconfig/buildlink3.mk b/fonts/fontconfig/buildlink3.mk
index 63ac92ca43a..ddc6bb14856 100644
--- a/fonts/fontconfig/buildlink3.mk
+++ b/fonts/fontconfig/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FONTCONFIG_BUILDLINK3_MK:= ${FONTCONFIG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fontconfig
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfontconfig}
BUILDLINK_PACKAGES+= fontconfig
-BUILDLINK_ORDER+= fontconfig
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fontconfig
.if !empty(FONTCONFIG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fontconfig+= fontconfig>=1.0.1
diff --git a/fonts/gucharmap/buildlink3.mk b/fonts/gucharmap/buildlink3.mk
index ac87f0928df..90b2b2be001 100644
--- a/fonts/gucharmap/buildlink3.mk
+++ b/fonts/gucharmap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUCHARMAP_BUILDLINK3_MK:= ${GUCHARMAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gucharmap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngucharmap}
BUILDLINK_PACKAGES+= gucharmap
-BUILDLINK_ORDER+= gucharmap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gucharmap
.if !empty(GUCHARMAP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gucharmap+= gucharmap>=1.4.0
diff --git a/fonts/mftrace/buildlink3.mk b/fonts/mftrace/buildlink3.mk
index 1b681c0534c..85cd1b69168 100644
--- a/fonts/mftrace/buildlink3.mk
+++ b/fonts/mftrace/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MFTRACE_BUILDLINK3_MK:= ${MFTRACE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mftrace
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmftrace}
BUILDLINK_PACKAGES+= mftrace
-BUILDLINK_ORDER+= mftrace
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mftrace
.if !empty(MFTRACE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mftrace+= mftrace>=1.0.19
diff --git a/fonts/t1lib/buildlink3.mk b/fonts/t1lib/buildlink3.mk
index 1a72ac60479..384aef2a6b0 100644
--- a/fonts/t1lib/buildlink3.mk
+++ b/fonts/t1lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
T1LIB_BUILDLINK3_MK:= ${T1LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= t1lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nt1lib}
BUILDLINK_PACKAGES+= t1lib
-BUILDLINK_ORDER+= t1lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}t1lib
.if !empty(T1LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.t1lib+= t1lib>=5.0.1
diff --git a/games/kdegames3/buildlink3.mk b/games/kdegames3/buildlink3.mk
index e8db6115e7d..ba6f990c3ae 100644
--- a/games/kdegames3/buildlink3.mk
+++ b/games/kdegames3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDEGAMES_BUILDLINK3_MK:= ${KDEGAMES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdegames
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdegames}
BUILDLINK_PACKAGES+= kdegames
-BUILDLINK_ORDER+= kdegames
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdegames
.if !empty(KDEGAMES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdegames+= kdegames>=3.5.0nb1
diff --git a/games/plib/buildlink3.mk b/games/plib/buildlink3.mk
index f2f031e71be..87ba9493164 100644
--- a/games/plib/buildlink3.mk
+++ b/games/plib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PLIB_BUILDLINK3_MK:= ${PLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= plib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nplib}
BUILDLINK_PACKAGES+= plib
-BUILDLINK_ORDER+= plib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}plib
.if !empty(PLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.plib+= plib>=1.6.0
diff --git a/geography/gdal-lib/buildlink3.mk b/geography/gdal-lib/buildlink3.mk
index 87cfa2a2151..8ad72ffa9a3 100644
--- a/geography/gdal-lib/buildlink3.mk
+++ b/geography/gdal-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDAL_LIB_BUILDLINK3_MK:= ${GDAL_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gdal-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdal-lib}
BUILDLINK_PACKAGES+= gdal-lib
-BUILDLINK_ORDER+= gdal-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdal-lib
.if !empty(GDAL_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gdal-lib+= gdal-lib>=1.3.1
diff --git a/geography/geos/buildlink3.mk b/geography/geos/buildlink3.mk
index 692afa720e0..f875ccb0320 100644
--- a/geography/geos/buildlink3.mk
+++ b/geography/geos/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:49 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GEOS_BUILDLINK3_MK:= ${GEOS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= geos
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngeos}
BUILDLINK_PACKAGES+= geos
-BUILDLINK_ORDER+= geos
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}geos
.if !empty(GEOS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.geos+= geos>=2.0.0
diff --git a/geography/shapelib/buildlink3.mk b/geography/shapelib/buildlink3.mk
index 714f12d8388..b5b15d4af53 100644
--- a/geography/shapelib/buildlink3.mk
+++ b/geography/shapelib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:16 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SHAPELIB_BUILDLINK3_MK:= ${SHAPELIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= shapelib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nshapelib}
BUILDLINK_PACKAGES+= shapelib
-BUILDLINK_ORDER+= shapelib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}shapelib
.if !empty(SHAPELIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.shapelib+= shapelib>=1.2.10
diff --git a/graphics/Coin/buildlink3.mk b/graphics/Coin/buildlink3.mk
index 6dc5ac8145e..f006410d260 100644
--- a/graphics/Coin/buildlink3.mk
+++ b/graphics/Coin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:50 jlam Exp $
#
# This Makefile fragment is included by packages that use Coin.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= Coin
.if !empty(COIN_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= Coin
-BUILDLINK_ORDER+= Coin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Coin
BUILDLINK_API_DEPENDS.Coin+= Coin>=2.2.1
BUILDLINK_ABI_DEPENDS.Coin?= Coin>=2.4.4nb2
BUILDLINK_PKGSRCDIR.Coin?= ../../graphics/Coin
diff --git a/graphics/GLXKit/buildlink3.mk b/graphics/GLXKit/buildlink3.mk
index 5baa3a691d7..7fb67c506f1 100644
--- a/graphics/GLXKit/buildlink3.mk
+++ b/graphics/GLXKit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLXKIT_BUILDLINK3_MK:= ${GLXKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GLXKit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGLXKit}
BUILDLINK_PACKAGES+= GLXKit
-BUILDLINK_ORDER+= GLXKit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GLXKit
.if !empty(GLXKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GLXKit+= GLXKit>=0.3.1r2nb3
diff --git a/graphics/GUIlib/buildlink3.mk b/graphics/GUIlib/buildlink3.mk
index f8e5017d456..90fe5fc9e1d 100644
--- a/graphics/GUIlib/buildlink3.mk
+++ b/graphics/GUIlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUILIB_BUILDLINK3_MK:= ${GUILIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GUIlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGUIlib}
BUILDLINK_PACKAGES+= GUIlib
-BUILDLINK_ORDER+= GUIlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GUIlib
.if !empty(GUILIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GUIlib+= GUIlib>=1.1.0nb2
diff --git a/graphics/GeometryKit/buildlink3.mk b/graphics/GeometryKit/buildlink3.mk
index 513670c209f..633cc146f6b 100644
--- a/graphics/GeometryKit/buildlink3.mk
+++ b/graphics/GeometryKit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GEOMETRYKIT_BUILDLINK3_MK:= ${GEOMETRYKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GeometryKit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGeometryKit}
BUILDLINK_PACKAGES+= GeometryKit
-BUILDLINK_ORDER+= GeometryKit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GeometryKit
.if !empty(GEOMETRYKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GeometryKit+= GeometryKit>=0.3.1r2nb3
diff --git a/graphics/GlutKit/buildlink3.mk b/graphics/GlutKit/buildlink3.mk
index b1dfdd85aa6..399d6552bd7 100644
--- a/graphics/GlutKit/buildlink3.mk
+++ b/graphics/GlutKit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLUTKIT_BUILDLINK3_MK:= ${GLUTKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GlutKit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGlutKit}
BUILDLINK_PACKAGES+= GlutKit
-BUILDLINK_ORDER+= GlutKit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GlutKit
.if !empty(GLUTKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GlutKit+= GlutKit>=0.3.1r2nb4
diff --git a/graphics/ImageMagick/buildlink3.mk b/graphics/ImageMagick/buildlink3.mk
index 81e1e5d1713..c4621b6ba56 100644
--- a/graphics/ImageMagick/buildlink3.mk
+++ b/graphics/ImageMagick/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IMAGEMAGICK_BUILDLINK3_MK:= ${IMAGEMAGICK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ImageMagick
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NImageMagick}
BUILDLINK_PACKAGES+= ImageMagick
-BUILDLINK_ORDER+= ImageMagick
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ImageMagick
.if !empty(IMAGEMAGICK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ImageMagick+= ImageMagick>=5.5.7.11nb1
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk
index 9ce8bcddb05..aac34edb8c1 100644
--- a/graphics/MesaLib/buildlink3.mk
+++ b/graphics/MesaLib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.35 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.36 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= MesaLib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NMesaLib}
BUILDLINK_PACKAGES+= MesaLib
-BUILDLINK_ORDER+= MesaLib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}MesaLib
.if !empty(MESALIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=3.4.2
diff --git a/graphics/OpenRM/buildlink3.mk b/graphics/OpenRM/buildlink3.mk
index 37fb5770b8d..649d6573cbe 100644
--- a/graphics/OpenRM/buildlink3.mk
+++ b/graphics/OpenRM/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENRM_BUILDLINK3_MK:= ${OPENRM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= OpenRM
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NOpenRM}
BUILDLINK_PACKAGES+= OpenRM
-BUILDLINK_ORDER+= OpenRM
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}OpenRM
.if !empty(OPENRM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.OpenRM+= OpenRM>=1.5.1
diff --git a/graphics/RenderKit/buildlink3.mk b/graphics/RenderKit/buildlink3.mk
index b3edb149535..6d73a98c839 100644
--- a/graphics/RenderKit/buildlink3.mk
+++ b/graphics/RenderKit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RENDERKIT_BUILDLINK3_MK:= ${RENDERKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= RenderKit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NRenderKit}
BUILDLINK_PACKAGES+= RenderKit
-BUILDLINK_ORDER+= RenderKit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}RenderKit
.if !empty(RENDERKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.RenderKit+= RenderKit>=0.3.1r2nb3
diff --git a/graphics/SDLKit/buildlink3.mk b/graphics/SDLKit/buildlink3.mk
index d6924598d5e..15e793c07e3 100644
--- a/graphics/SDLKit/buildlink3.mk
+++ b/graphics/SDLKit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDLKIT_BUILDLINK3_MK:= ${SDLKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDLKit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDLKit}
BUILDLINK_PACKAGES+= SDLKit
-BUILDLINK_ORDER+= SDLKit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDLKit
.if !empty(SDLKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDLKit+= SDLKit>=0.3.1r2nb5
diff --git a/graphics/SDL_image/buildlink3.mk b/graphics/SDL_image/buildlink3.mk
index 220ecf1645b..83af44a56a1 100644
--- a/graphics/SDL_image/buildlink3.mk
+++ b/graphics/SDL_image/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_IMAGE_BUILDLINK3_MK:= ${SDL_IMAGE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL_image
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_image}
BUILDLINK_PACKAGES+= SDL_image
-BUILDLINK_ORDER+= SDL_image
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_image
.if !empty(SDL_IMAGE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL_image+= SDL_image>=1.2.3nb1
diff --git a/graphics/aalib/buildlink3.mk b/graphics/aalib/buildlink3.mk
index c16bfcf5aac..defdf7e737b 100644
--- a/graphics/aalib/buildlink3.mk
+++ b/graphics/aalib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AALIB_BUILDLINK3_MK:= ${AALIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= aalib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Naalib}
BUILDLINK_PACKAGES+= aalib
-BUILDLINK_ORDER+= aalib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}aalib
.if !empty(AALIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.aalib+= aalib>=1.4.0.4
diff --git a/graphics/cairo/buildlink3.mk b/graphics/cairo/buildlink3.mk
index f1298e9af1d..6e516bd4db0 100644
--- a/graphics/cairo/buildlink3.mk
+++ b/graphics/cairo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CAIRO_BUILDLINK3_MK:= ${CAIRO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cairo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncairo}
BUILDLINK_PACKAGES+= cairo
-BUILDLINK_ORDER+= cairo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cairo
.if !empty(CAIRO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.0.0nb2
diff --git a/graphics/cal3d/buildlink3.mk b/graphics/cal3d/buildlink3.mk
index 5504550dfa0..cd4e7cf7171 100644
--- a/graphics/cal3d/buildlink3.mk
+++ b/graphics/cal3d/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CAL3D_BUILDLINK3_MK:= ${CAL3D_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cal3d
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncal3d}
BUILDLINK_PACKAGES+= cal3d
-BUILDLINK_ORDER+= cal3d
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cal3d
.if !empty(CAL3D_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cal3d+= cal3d>=0.9.1
diff --git a/graphics/camlimages/buildlink3.mk b/graphics/camlimages/buildlink3.mk
index 30d84fef29f..a0d60c430db 100644
--- a/graphics/camlimages/buildlink3.mk
+++ b/graphics/camlimages/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CAMLIMAGES_BUILDLINK3_MK:= ${CAMLIMAGES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= camlimages
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncamlimages}
BUILDLINK_PACKAGES+= camlimages
-BUILDLINK_ORDER+= camlimages
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}camlimages
.if !empty(CAMLIMAGES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.camlimages+= camlimages>=2.2.0
diff --git a/graphics/compface/buildlink3.mk b/graphics/compface/buildlink3.mk
index 6ba956f4e11..b8a709c98bc 100644
--- a/graphics/compface/buildlink3.mk
+++ b/graphics/compface/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
COMPFACE_BUILDLINK3_MK:= ${COMPFACE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= compface
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncompface}
BUILDLINK_PACKAGES+= compface
-BUILDLINK_ORDER+= compface
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}compface
.if !empty(COMPFACE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.compface+= compface>=1.4
diff --git a/graphics/digikam/buildlink3.mk b/graphics/digikam/buildlink3.mk
index c929bf0f026..1313c1de0c5 100644
--- a/graphics/digikam/buildlink3.mk
+++ b/graphics/digikam/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DIGIKAM_BUILDLINK3_MK:= ${DIGIKAM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= digikam
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndigikam}
BUILDLINK_PACKAGES+= digikam
-BUILDLINK_ORDER+= digikam
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}digikam
.if !empty(DIGIKAM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.digikam+= digikam>=0.8.1
diff --git a/graphics/epeg/buildlink3.mk b/graphics/epeg/buildlink3.mk
index 3397c220498..56402c48882 100644
--- a/graphics/epeg/buildlink3.mk
+++ b/graphics/epeg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EPEG_BUILDLINK3_MK:= ${EPEG_BUILDLINK3_MK}+
@@ -8,7 +8,7 @@ BUILDLINK_DEPENDS+= epeg
.endif
BUILDLINK_PACKAGES+= epeg
-BUILDLINK_ORDER+= epeg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}epeg
.if !empty(EPEG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.epeg+= epeg>=0.9.0
diff --git a/graphics/exiv2/buildlink3.mk b/graphics/exiv2/buildlink3.mk
index 06c8be05899..f4a811bc2e0 100644
--- a/graphics/exiv2/buildlink3.mk
+++ b/graphics/exiv2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EXIV2_BUILDLINK3_MK:= ${EXIV2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= exiv2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nexiv2}
BUILDLINK_PACKAGES+= exiv2
-BUILDLINK_ORDER+= exiv2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}exiv2
.if ${EXIV2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.exiv2+= exiv2>=0.10
diff --git a/graphics/fnlib/buildlink3.mk b/graphics/fnlib/buildlink3.mk
index 06f910de65d..722ac8a44a7 100644
--- a/graphics/fnlib/buildlink3.mk
+++ b/graphics/fnlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:17 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:50 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FNLIB_BUILDLINK3_MK:= ${FNLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fnlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfnlib}
BUILDLINK_PACKAGES+= fnlib
-BUILDLINK_ORDER+= fnlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fnlib
.if !empty(FNLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fnlib+= fnlib>=0.5nb6
diff --git a/graphics/freeglut/buildlink3.mk b/graphics/freeglut/buildlink3.mk
index 2e2de20617f..dcc07ced370 100644
--- a/graphics/freeglut/buildlink3.mk
+++ b/graphics/freeglut/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREEGLUT_BUILDLINK3_MK:= ${FREEGLUT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= freeglut
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreeglut}
BUILDLINK_PACKAGES+= freeglut
-BUILDLINK_ORDER+= freeglut
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}freeglut
.if !empty(FREEGLUT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.freeglut+= freeglut>=2.2.0
diff --git a/graphics/freetype-lib/buildlink3.mk b/graphics/freetype-lib/buildlink3.mk
index 7caaee68cce..f64936796b5 100644
--- a/graphics/freetype-lib/buildlink3.mk
+++ b/graphics/freetype-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREETYPE_BUILDLINK3_MK:= ${FREETYPE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= freetype
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreetype}
BUILDLINK_PACKAGES+= freetype
-BUILDLINK_ORDER+= freetype
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}freetype
.if !empty(FREETYPE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.freetype+= freetype-lib>=1.3.1nb1
diff --git a/graphics/freetype2/buildlink3.mk b/graphics/freetype2/buildlink3.mk
index 5c8b4f435e4..5d537b2c993 100644
--- a/graphics/freetype2/buildlink3.mk
+++ b/graphics/freetype2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.28 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.29 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREETYPE2_BUILDLINK3_MK:= ${FREETYPE2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= freetype2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreetype2}
BUILDLINK_PACKAGES+= freetype2
-BUILDLINK_ORDER+= freetype2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}freetype2
.if !empty(FREETYPE2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.freetype2+= freetype2>=2.1.8
diff --git a/graphics/gd/buildlink3.mk b/graphics/gd/buildlink3.mk
index 79d86425ea5..4625d9bfdcd 100644
--- a/graphics/gd/buildlink3.mk
+++ b/graphics/gd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GD_BUILDLINK3_MK:= ${GD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngd}
BUILDLINK_PACKAGES+= gd
-BUILDLINK_ORDER+= gd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gd
.if !empty(GD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gd+= gd>=2.0.15nb1
diff --git a/graphics/gdchart/buildlink3.mk b/graphics/gdchart/buildlink3.mk
index d85428a0140..035eea49e60 100644
--- a/graphics/gdchart/buildlink3.mk
+++ b/graphics/gdchart/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDCHART_BUILDLINK3_MK:= ${GDCHART_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gdchart
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdchart}
BUILDLINK_PACKAGES+= gdchart
-BUILDLINK_ORDER+= gdchart
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdchart
.if !empty(GDCHART_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gdchart+= gdchart>=0.11.4nb1
diff --git a/graphics/gdk-pixbuf-gnome/buildlink3.mk b/graphics/gdk-pixbuf-gnome/buildlink3.mk
index efafae8bd0f..e4a07d67054 100644
--- a/graphics/gdk-pixbuf-gnome/buildlink3.mk
+++ b/graphics/gdk-pixbuf-gnome/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDK_PIXBUF_GNOME_BUILDLINK3_MK:= ${GDK_PIXBUF_GNOME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gdk-pixbuf-gnome
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdk-pixbuf-gnome}
BUILDLINK_PACKAGES+= gdk-pixbuf-gnome
-BUILDLINK_ORDER+= gdk-pixbuf-gnome
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdk-pixbuf-gnome
.if !empty(GDK_PIXBUF_GNOME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gdk-pixbuf-gnome+= gdk-pixbuf-gnome>=0.22.0nb2
diff --git a/graphics/gdk-pixbuf/buildlink3.mk b/graphics/gdk-pixbuf/buildlink3.mk
index 866774291b6..41034eb3c1c 100644
--- a/graphics/gdk-pixbuf/buildlink3.mk
+++ b/graphics/gdk-pixbuf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDK_PIXBUF_BUILDLINK3_MK:= ${GDK_PIXBUF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gdk-pixbuf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdk-pixbuf}
BUILDLINK_PACKAGES+= gdk-pixbuf
-BUILDLINK_ORDER+= gdk-pixbuf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdk-pixbuf
.if !empty(GDK_PIXBUF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gdk-pixbuf+= gdk-pixbuf>=0.22.0nb2
diff --git a/graphics/gimp/buildlink3.mk b/graphics/gimp/buildlink3.mk
index 95e300a891e..e5e853ad991 100644
--- a/graphics/gimp/buildlink3.mk
+++ b/graphics/gimp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GIMP_BUILDLINK3_MK:= ${GIMP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gimp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngimp}
BUILDLINK_PACKAGES+= gimp
-BUILDLINK_ORDER+= gimp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gimp
.if !empty(GIMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gimp+= gimp>=2.2.9nb1
diff --git a/graphics/gimp1-base/buildlink3.mk b/graphics/gimp1-base/buildlink3.mk
index 825baa212b7..f78faad7c03 100644
--- a/graphics/gimp1-base/buildlink3.mk
+++ b/graphics/gimp1-base/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GIMP_BASE_BUILDLINK3_MK:= ${GIMP_BASE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gimp-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngimp-base}
BUILDLINK_PACKAGES+= gimp-base
-BUILDLINK_ORDER+= gimp-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gimp-base
.if !empty(GIMP_BASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gimp-base+= gimp-base>=1.2.5nb2
diff --git a/graphics/gimp24/buildlink3.mk b/graphics/gimp24/buildlink3.mk
index 6e4fd503b0c..8f9c77eab00 100644
--- a/graphics/gimp24/buildlink3.mk
+++ b/graphics/gimp24/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GIMP_BUILDLINK3_MK:= ${GIMP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gimp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngimp}
BUILDLINK_PACKAGES+= gimp
-BUILDLINK_ORDER+= gimp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gimp
.if !empty(GIMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gimp+= gimp>=2.3.4nb1
diff --git a/graphics/gle/buildlink3.mk b/graphics/gle/buildlink3.mk
index 584ad6ae1f1..6af9f29f56c 100644
--- a/graphics/gle/buildlink3.mk
+++ b/graphics/gle/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLE_BUILDLINK3_MK:= ${GLE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gle
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngle}
BUILDLINK_PACKAGES+= gle
-BUILDLINK_ORDER+= gle
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gle
.if !empty(GLE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gle+= gle>=3.0.3
diff --git a/graphics/glitz/buildlink3.mk b/graphics/glitz/buildlink3.mk
index a8c1339cb46..6dfd3e7cc12 100644
--- a/graphics/glitz/buildlink3.mk
+++ b/graphics/glitz/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLITZ_BUILDLINK3_MK:= ${GLITZ_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glitz
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglitz}
BUILDLINK_PACKAGES+= glitz
-BUILDLINK_ORDER+= glitz
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glitz
.if !empty(GLITZ_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glitz+= glitz>=0.4.4
diff --git a/graphics/glu/buildlink3.mk b/graphics/glu/buildlink3.mk
index b5193f34bdc..1d9d3bd8b3d 100644
--- a/graphics/glu/buildlink3.mk
+++ b/graphics/glu/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.30 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.31 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLU_BUILDLINK3_MK:= ${GLU_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glu
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglu}
BUILDLINK_PACKAGES+= glu
-BUILDLINK_ORDER+= glu
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glu
.if !empty(GLU_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glu+= glu>=3.4.2
diff --git a/graphics/glut/buildlink3.mk b/graphics/glut/buildlink3.mk
index 4ac064e635e..d449e2e72bb 100644
--- a/graphics/glut/buildlink3.mk
+++ b/graphics/glut/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLUT_BUILDLINK3_MK:= ${GLUT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glut
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglut}
BUILDLINK_PACKAGES+= glut
-BUILDLINK_ORDER+= glut
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glut
.if !empty(GLUT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glut+= glut>=3.4.2
diff --git a/graphics/gnome-icon-theme/buildlink3.mk b/graphics/gnome-icon-theme/buildlink3.mk
index fcc77c5ea37..808d8b9d520 100644
--- a/graphics/gnome-icon-theme/buildlink3.mk
+++ b/graphics/gnome-icon-theme/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_ICON_THEME_BUILDLINK3_MK:= ${GNOME_ICON_THEME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-icon-theme
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-icon-theme}
BUILDLINK_PACKAGES+= gnome-icon-theme
-BUILDLINK_ORDER+= gnome-icon-theme
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-icon-theme
.if !empty(GNOME_ICON_THEME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-icon-theme+= gnome-icon-theme>=2.8.0
diff --git a/graphics/graphviz/buildlink3.mk b/graphics/graphviz/buildlink3.mk
index 75bcca995f0..d46073ade1d 100644
--- a/graphics/graphviz/buildlink3.mk
+++ b/graphics/graphviz/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GRAPHVIZ_BUILDLINK3_MK:= ${GRAPHVIZ_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= graphviz
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngraphviz}
BUILDLINK_PACKAGES+= graphviz
-BUILDLINK_ORDER+= graphviz
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}graphviz
.if !empty(GRAPHVIZ_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.graphviz+= graphviz>=1.12
diff --git a/graphics/gtkglext/buildlink3.mk b/graphics/gtkglext/buildlink3.mk
index d157692bb7b..9676d5d1a06 100644
--- a/graphics/gtkglext/buildlink3.mk
+++ b/graphics/gtkglext/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:18 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKGLEXT_BUILDLINK3_MK:= ${GTKGLEXT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkglext
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkglext}
BUILDLINK_PACKAGES+= gtkglext
-BUILDLINK_ORDER+= gtkglext
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkglext
.if !empty(GTKGLEXT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkglext+= gtkglext>=1.2.0
diff --git a/graphics/hermes/buildlink3.mk b/graphics/hermes/buildlink3.mk
index 4f70b499fb0..412b696c935 100644
--- a/graphics/hermes/buildlink3.mk
+++ b/graphics/hermes/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HERMES_BUILDLINK3_MK:= ${HERMES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Hermes
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NHermes}
BUILDLINK_PACKAGES+= Hermes
-BUILDLINK_ORDER+= Hermes
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Hermes
.if !empty(HERMES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Hermes+= Hermes>=1.3.2
diff --git a/graphics/hicolor-icon-theme/buildlink3.mk b/graphics/hicolor-icon-theme/buildlink3.mk
index 9a31db98549..0bdfa0a0eb8 100644
--- a/graphics/hicolor-icon-theme/buildlink3.mk
+++ b/graphics/hicolor-icon-theme/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HICOLOR_ICON_THEME_BUILDLINK3_MK:= ${HICOLOR_ICON_THEME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= hicolor-icon-theme
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhicolor-icon-theme}
BUILDLINK_PACKAGES+= hicolor-icon-theme
-BUILDLINK_ORDER+= hicolor-icon-theme
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hicolor-icon-theme
.if !empty(HICOLOR_ICON_THEME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.hicolor-icon-theme+= hicolor-icon-theme>=0.4
diff --git a/graphics/imlib/buildlink3.mk b/graphics/imlib/buildlink3.mk
index e7da7859093..06ebe797719 100644
--- a/graphics/imlib/buildlink3.mk
+++ b/graphics/imlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IMLIB_BUILDLINK3_MK:= ${IMLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= imlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nimlib}
BUILDLINK_PACKAGES+= imlib
-BUILDLINK_ORDER+= imlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}imlib
.if !empty(IMLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.imlib+= imlib>=1.9.14nb5
diff --git a/graphics/imlib2/buildlink3.mk b/graphics/imlib2/buildlink3.mk
index 63c597d223b..a9da4a58ee4 100644
--- a/graphics/imlib2/buildlink3.mk
+++ b/graphics/imlib2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IMLIB2_BUILDLINK3_MK:= ${IMLIB2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= imlib2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nimlib2}
BUILDLINK_PACKAGES+= imlib2
-BUILDLINK_ORDER+= imlib2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}imlib2
.if !empty(IMLIB2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.imlib2+= imlib2>=1.1.0nb2
diff --git a/graphics/jasper/buildlink3.mk b/graphics/jasper/buildlink3.mk
index 10a703b7899..8998302a3a4 100644
--- a/graphics/jasper/buildlink3.mk
+++ b/graphics/jasper/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JASPER_BUILDLINK3_MK:= ${JASPER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= jasper
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njasper}
BUILDLINK_PACKAGES+= jasper
-BUILDLINK_ORDER+= jasper
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jasper
.if !empty(JASPER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jasper+= jasper>=1.600.0
diff --git a/graphics/jpeg/buildlink3.mk b/graphics/jpeg/buildlink3.mk
index 1e29b619e98..92088a10853 100644
--- a/graphics/jpeg/buildlink3.mk
+++ b/graphics/jpeg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:51 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JPEG_BUILDLINK3_MK:= ${JPEG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= jpeg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njpeg}
BUILDLINK_PACKAGES+= jpeg
-BUILDLINK_ORDER+= jpeg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jpeg
.if !empty(JPEG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jpeg+= jpeg>=6b
diff --git a/graphics/kdegraphics3/buildlink3.mk b/graphics/kdegraphics3/buildlink3.mk
index 6eeafc65234..e1fae98e91a 100644
--- a/graphics/kdegraphics3/buildlink3.mk
+++ b/graphics/kdegraphics3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDEGRAPHICS_BUILDLINK3_MK:= ${KDEGRAPHICS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdegraphics
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdegraphics}
BUILDLINK_PACKAGES+= kdegraphics
-BUILDLINK_ORDER+= kdegraphics
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdegraphics
.if !empty(KDEGRAPHICS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdegraphics+= kdegraphics>=3.5.0nb2
diff --git a/graphics/lcms/buildlink3.mk b/graphics/lcms/buildlink3.mk
index 24a3f5f99be..3cef04af615 100644
--- a/graphics/lcms/buildlink3.mk
+++ b/graphics/lcms/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LCMS_BUILDLINK3_MK:= ${LCMS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lcms
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlcms}
BUILDLINK_PACKAGES+= lcms
-BUILDLINK_ORDER+= lcms
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lcms
.if !empty(LCMS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lcms+= lcms>=1.06
diff --git a/graphics/lib3ds/buildlink3.mk b/graphics/lib3ds/buildlink3.mk
index 1293a725f36..8136a910c18 100644
--- a/graphics/lib3ds/buildlink3.mk
+++ b/graphics/lib3ds/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIB3DS_BUILDLINK3_MK:= ${LIB3DS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lib3ds
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlib3ds}
BUILDLINK_PACKAGES+= lib3ds
-BUILDLINK_ORDER+= lib3ds
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lib3ds
.if !empty(LIB3DS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lib3ds+= lib3ds>=1.2.0nb2
diff --git a/graphics/libart2/buildlink3.mk b/graphics/libart2/buildlink3.mk
index 71a4ea53aac..cd1468ccf8b 100644
--- a/graphics/libart2/buildlink3.mk
+++ b/graphics/libart2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBART2_BUILDLINK3_MK:= ${LIBART2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libart2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibart2}
BUILDLINK_PACKAGES+= libart2
-BUILDLINK_ORDER+= libart2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libart2
.if !empty(LIBART2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libart2+= libart2>=2.3.10nb1
diff --git a/graphics/libexif-gtk/buildlink3.mk b/graphics/libexif-gtk/buildlink3.mk
index 7474190eacd..9cd9da9feb7 100644
--- a/graphics/libexif-gtk/buildlink3.mk
+++ b/graphics/libexif-gtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:52 jlam Exp $
#
# This file was created automatically using createbuildlink-3.4.
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= libexif-gtk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibexif-gtk}
BUILDLINK_PACKAGES+= libexif-gtk
-BUILDLINK_ORDER+= libexif-gtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libexif-gtk
.if !empty(LIBEXIF_GTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libexif-gtk+= libexif-gtk>=0.3.3nb7
diff --git a/graphics/libexif/buildlink3.mk b/graphics/libexif/buildlink3.mk
index 269bd551475..f435c795b7c 100644
--- a/graphics/libexif/buildlink3.mk
+++ b/graphics/libexif/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBEXIF_BUILDLINK3_MK:= ${LIBEXIF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libexif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibexif}
BUILDLINK_PACKAGES+= libexif
-BUILDLINK_ORDER+= libexif
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libexif
.if !empty(LIBEXIF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libexif+= libexif>=0.6.11
diff --git a/graphics/libgdgeda/buildlink3.mk b/graphics/libgdgeda/buildlink3.mk
index 43daed2c0e0..c42e2491af2 100644
--- a/graphics/libgdgeda/buildlink3.mk
+++ b/graphics/libgdgeda/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGDGEDA_BUILDLINK3_MK:= ${LIBGDGEDA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgdgeda
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgdgeda}
BUILDLINK_PACKAGES+= libgdgeda
-BUILDLINK_ORDER+= libgdgeda
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgdgeda
.if !empty(LIBGDGEDA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgdgeda+= libgdgeda>=2.0.15
diff --git a/graphics/libgdiplus/buildlink3.mk b/graphics/libgdiplus/buildlink3.mk
index c989e5e1bf4..4cd88593d0b 100644
--- a/graphics/libgdiplus/buildlink3.mk
+++ b/graphics/libgdiplus/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGDIPLUS_BUILDLINK3_MK:= ${LIBGDIPLUS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgdiplus
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgdiplus}
BUILDLINK_PACKAGES+= libgdiplus
-BUILDLINK_ORDER+= libgdiplus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgdiplus
.if !empty(LIBGDIPLUS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgdiplus+= libgdiplus>=1.1.11
diff --git a/graphics/libggi/buildlink3.mk b/graphics/libggi/buildlink3.mk
index 1c98940e9b5..a34c41047f7 100644
--- a/graphics/libggi/buildlink3.mk
+++ b/graphics/libggi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGGI_BUILDLINK3_MK:= ${LIBGGI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libggi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibggi}
BUILDLINK_PACKAGES+= libggi
-BUILDLINK_ORDER+= libggi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libggi
.if !empty(LIBGGI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libggi+= libggi>=2.1.0
diff --git a/graphics/libggiwmh/buildlink3.mk b/graphics/libggiwmh/buildlink3.mk
index 341240823db..dc3754ea308 100644
--- a/graphics/libggiwmh/buildlink3.mk
+++ b/graphics/libggiwmh/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGGIWMH_BUILDLINK3_MK:= ${LIBGGIWMH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libggiwmh
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibggiwmh}
BUILDLINK_PACKAGES+= libggiwmh
-BUILDLINK_ORDER+= libggiwmh
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libggiwmh
.if !empty(LIBGGIWMH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libggiwmh+= libggiwmh>=0.2.0
diff --git a/graphics/libgii/buildlink3.mk b/graphics/libgii/buildlink3.mk
index c8b97f0101e..170d5bc8d8e 100644
--- a/graphics/libgii/buildlink3.mk
+++ b/graphics/libgii/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGII_BUILDLINK3_MK:= ${LIBGII_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgii
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgii}
BUILDLINK_PACKAGES+= libgii
-BUILDLINK_ORDER+= libgii
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgii
.if !empty(LIBGII_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgii+= libgii>=0.9.0
diff --git a/graphics/libgnomecanvas/buildlink3.mk b/graphics/libgnomecanvas/buildlink3.mk
index 6519c9b8f66..d9846656f20 100644
--- a/graphics/libgnomecanvas/buildlink3.mk
+++ b/graphics/libgnomecanvas/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMECANVAS_BUILDLINK3_MK:= ${LIBGNOMECANVAS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomecanvas
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomecanvas}
BUILDLINK_PACKAGES+= libgnomecanvas
-BUILDLINK_ORDER+= libgnomecanvas
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomecanvas
.if !empty(LIBGNOMECANVAS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomecanvas+= libgnomecanvas>=2.8.0
diff --git a/graphics/libgnomecanvasmm/buildlink3.mk b/graphics/libgnomecanvasmm/buildlink3.mk
index 0bd3258ef64..b202c3070ae 100644
--- a/graphics/libgnomecanvasmm/buildlink3.mk
+++ b/graphics/libgnomecanvasmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:19 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMECANVASMM_BUILDLINK3_MK:= ${LIBGNOMECANVASMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomecanvasmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomecanvasmm}
BUILDLINK_PACKAGES+= libgnomecanvasmm
-BUILDLINK_ORDER+= libgnomecanvasmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomecanvasmm
.if !empty(LIBGNOMECANVASMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomecanvasmm+= libgnomecanvasmm>=2.10.0
diff --git a/graphics/libkexif/buildlink3.mk b/graphics/libkexif/buildlink3.mk
index 1b031fe5c46..f26556bcfae 100644
--- a/graphics/libkexif/buildlink3.mk
+++ b/graphics/libkexif/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBKEXIF_BUILDLINK3_MK:= ${LIBKEXIF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libkexif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibkexif}
BUILDLINK_PACKAGES+= libkexif
-BUILDLINK_ORDER+= libkexif
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libkexif
.if !empty(LIBKEXIF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libkexif+= libkexif>=0.2.1
diff --git a/graphics/libkipi/buildlink3.mk b/graphics/libkipi/buildlink3.mk
index 0d4869ec79e..d98f52ca7b9 100644
--- a/graphics/libkipi/buildlink3.mk
+++ b/graphics/libkipi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBKIPI_BUILDLINK3_MK:= ${LIBKIPI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libkipi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibkipi}
BUILDLINK_PACKAGES+= libkipi
-BUILDLINK_ORDER+= libkipi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libkipi
.if !empty(LIBKIPI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libkipi+= libkipi>=0.1
diff --git a/graphics/libpixman/buildlink3.mk b/graphics/libpixman/buildlink3.mk
index f1dbd133fed..d4589045870 100644
--- a/graphics/libpixman/buildlink3.mk
+++ b/graphics/libpixman/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPIXMAN_BUILDLINK3_MK:= ${LIBPIXMAN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libpixman
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpixman}
BUILDLINK_PACKAGES+= libpixman
-BUILDLINK_ORDER+= libpixman
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpixman
.if !empty(LIBPIXMAN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libpixman+= libpixman>=0.1.4
diff --git a/graphics/librsvg/buildlink3.mk b/graphics/librsvg/buildlink3.mk
index 49614aab7e6..9241c8b52a4 100644
--- a/graphics/librsvg/buildlink3.mk
+++ b/graphics/librsvg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBRSVG_BUILDLINK3_MK:= ${LIBRSVG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= librsvg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibrsvg}
BUILDLINK_PACKAGES+= librsvg
-BUILDLINK_ORDER+= librsvg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}librsvg
.if !empty(LIBRSVG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.librsvg+= librsvg>=1.0.1nb5
diff --git a/graphics/librsvg2/buildlink3.mk b/graphics/librsvg2/buildlink3.mk
index ed773bb85fb..3c8fd5bdbc0 100644
--- a/graphics/librsvg2/buildlink3.mk
+++ b/graphics/librsvg2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBRSVG2_BUILDLINK3_MK:= ${LIBRSVG2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= librsvg2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibrsvg2}
BUILDLINK_PACKAGES+= librsvg2
-BUILDLINK_ORDER+= librsvg2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}librsvg2
.if !empty(LIBRSVG2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.librsvg2+= librsvg2>=2.12.6nb1
diff --git a/graphics/libscigraphica/buildlink3.mk b/graphics/libscigraphica/buildlink3.mk
index 7cc983485ad..08caad2eec9 100644
--- a/graphics/libscigraphica/buildlink3.mk
+++ b/graphics/libscigraphica/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:52 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= libscigraphica
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibscigraphica}
BUILDLINK_PACKAGES+= libscigraphica
-BUILDLINK_ORDER+= libscigraphica
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libscigraphica
.if ${LIBSCIGRAPHICA_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libscigraphica+= libscigraphica>=2.1.1
diff --git a/graphics/libungif/buildlink3.mk b/graphics/libungif/buildlink3.mk
index 2a589cfda39..359691b42c5 100644
--- a/graphics/libungif/buildlink3.mk
+++ b/graphics/libungif/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBUNGIF_BUILDLINK3_MK:= ${LIBUNGIF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libungif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibungif}
BUILDLINK_PACKAGES+= libungif
-BUILDLINK_ORDER+= libungif
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libungif
.if !empty(LIBUNGIF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libungif+= libungif>=4.1.0
diff --git a/graphics/libvideogfx/buildlink3.mk b/graphics/libvideogfx/buildlink3.mk
index 56227f3e253..8e4c080e762 100644
--- a/graphics/libvideogfx/buildlink3.mk
+++ b/graphics/libvideogfx/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBVIDEOGFX_BUILDLINK3_MK:= ${LIBVIDEOGFX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libvideogfx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvideogfx}
BUILDLINK_PACKAGES+= libvideogfx
-BUILDLINK_ORDER+= libvideogfx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libvideogfx
.if !empty(LIBVIDEOGFX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libvideogfx+= libvideogfx>=1.0.3
diff --git a/graphics/libwmf/buildlink3.mk b/graphics/libwmf/buildlink3.mk
index 55506309765..47f7bc74b11 100644
--- a/graphics/libwmf/buildlink3.mk
+++ b/graphics/libwmf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBWMF_BUILDLINK3_MK:= ${LIBWMF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libwmf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibwmf}
BUILDLINK_PACKAGES+= libwmf
-BUILDLINK_ORDER+= libwmf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libwmf
.if !empty(LIBWMF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libwmf+= libwmf>=0.2.8nb2
diff --git a/graphics/mng/buildlink3.mk b/graphics/mng/buildlink3.mk
index bba7eec4583..94bb9876d61 100644
--- a/graphics/mng/buildlink3.mk
+++ b/graphics/mng/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:52 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MNG_BUILDLINK3_MK:= ${MNG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mng
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmng}
BUILDLINK_PACKAGES+= mng
-BUILDLINK_ORDER+= mng
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mng
.if !empty(MNG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mng+= mng>=1.0.0
diff --git a/graphics/netpbm/buildlink3.mk b/graphics/netpbm/buildlink3.mk
index 27f9f67a76c..494f6c2e744 100644
--- a/graphics/netpbm/buildlink3.mk
+++ b/graphics/netpbm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NETPBM_BUILDLINK3_MK:= ${NETPBM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= netpbm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnetpbm}
BUILDLINK_PACKAGES+= netpbm
-BUILDLINK_ORDER+= netpbm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}netpbm
.if !empty(NETPBM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.netpbm+= netpbm>=10.11.6
diff --git a/graphics/openexr/buildlink3.mk b/graphics/openexr/buildlink3.mk
index 20b67a5c0cc..dff1e3711d2 100644
--- a/graphics/openexr/buildlink3.mk
+++ b/graphics/openexr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENEXR_BUILDLINK3_MK:= ${OPENEXR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openexr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenexr}
BUILDLINK_PACKAGES+= openexr
-BUILDLINK_ORDER+= openexr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openexr
.if !empty(OPENEXR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openexr+= openexr>=1.2.1
diff --git a/graphics/plotutils-nox11/buildlink3.mk b/graphics/plotutils-nox11/buildlink3.mk
index 6f4d4b5f79e..59e1d567ce0 100644
--- a/graphics/plotutils-nox11/buildlink3.mk
+++ b/graphics/plotutils-nox11/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PLOTUTILS_NOX11_BUILDLINK3_MK:= ${PLOTUTILS_NOX11_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= plotutils-nox11
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nplotutils-nox11}
BUILDLINK_PACKAGES+= plotutils-nox11
-BUILDLINK_ORDER+= plotutils-nox11
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}plotutils-nox11
.if !empty(PLOTUTILS_NOX11_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.plotutils-nox11+= plotutils-nox11>=2.4.1
diff --git a/graphics/plotutils/buildlink3.mk b/graphics/plotutils/buildlink3.mk
index 0887b22b08e..3424d0a66f0 100644
--- a/graphics/plotutils/buildlink3.mk
+++ b/graphics/plotutils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PLOTUTILS_BUILDLINK3_MK:= ${PLOTUTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= plotutils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nplotutils}
BUILDLINK_PACKAGES+= plotutils
-BUILDLINK_ORDER+= plotutils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}plotutils
.if !empty(PLOTUTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.plotutils+= plotutils>=2.4.1nb2
diff --git a/graphics/png/buildlink3.mk b/graphics/png/buildlink3.mk
index d14daeb111a..52f3e2ef90d 100644
--- a/graphics/png/buildlink3.mk
+++ b/graphics/png/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PNG_BUILDLINK3_MK:= ${PNG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= png
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npng}
BUILDLINK_PACKAGES+= png
-BUILDLINK_ORDER+= png
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}png
.if !empty(PNG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.png+= png>=1.2.4
diff --git a/graphics/py-cairo/buildlink3.mk b/graphics/py-cairo/buildlink3.mk
index 57eecd148d4..741000befc1 100644
--- a/graphics/py-cairo/buildlink3.mk
+++ b/graphics/py-cairo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_CAIRO_BUILDLINK3_MK:= ${PY_CAIRO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pycairo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npycairo}
BUILDLINK_PACKAGES+= pycairo
-BUILDLINK_ORDER+= pycairo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pycairo
.if !empty(PY_CAIRO_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
diff --git a/graphics/py-imaging/buildlink3.mk b/graphics/py-imaging/buildlink3.mk
index 20c7ab9e38b..8d3d158a310 100644
--- a/graphics/py-imaging/buildlink3.mk
+++ b/graphics/py-imaging/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_IMAGING_BUILDLINK3_MK:= ${PY_IMAGING_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyimaging
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyimaging}
BUILDLINK_PACKAGES+= pyimaging
-BUILDLINK_ORDER+= pyimaging
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyimaging
.if !empty(PY_IMAGING_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyimaging+= ${PYPKGPREFIX}-imaging>=1.1.4
diff --git a/graphics/py-matplotlib/buildlink3.mk b/graphics/py-matplotlib/buildlink3.mk
index b558c82404e..2c68b6d449d 100644
--- a/graphics/py-matplotlib/buildlink3.mk
+++ b/graphics/py-matplotlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_MATPLOTLIB_BUILDLINK3_MK:= ${PY_MATPLOTLIB_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pymatplotlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npymatplotlib}
BUILDLINK_PACKAGES+= pymatplotlib
-BUILDLINK_ORDER+= pymatplotlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pymatplotlib
.if !empty(PY_MATPLOTLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pymatplotlib+= ${PYPKGPREFIX}-matplotlib>=0.87.2
diff --git a/graphics/sane-backends/buildlink3.mk b/graphics/sane-backends/buildlink3.mk
index f39d1809267..31d39e78c52 100644
--- a/graphics/sane-backends/buildlink3.mk
+++ b/graphics/sane-backends/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SANE_BACKENDS_BUILDLINK3_MK:= ${SANE_BACKENDS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sane-backends
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsane-backends}
BUILDLINK_PACKAGES+= sane-backends
-BUILDLINK_ORDER+= sane-backends
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sane-backends
.if !empty(SANE_BACKENDS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sane-backends+= sane-backends>=1.0.3
diff --git a/graphics/simage/buildlink3.mk b/graphics/simage/buildlink3.mk
index 1241d9c6fc3..5cb3a952cc8 100644
--- a/graphics/simage/buildlink3.mk
+++ b/graphics/simage/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:20 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SIMAGE_BUILDLINK3_MK:= ${SIMAGE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= simage
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsimage}
BUILDLINK_PACKAGES+= simage
-BUILDLINK_ORDER+= simage
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}simage
.if !empty(SIMAGE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.simage+= simage>=1.6.1
diff --git a/graphics/tiff/buildlink3.mk b/graphics/tiff/buildlink3.mk
index 687abc41764..f4a74e4888d 100644
--- a/graphics/tiff/buildlink3.mk
+++ b/graphics/tiff/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TIFF_BUILDLINK3_MK:= ${TIFF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tiff
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntiff}
BUILDLINK_PACKAGES+= tiff
-BUILDLINK_ORDER+= tiff
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tiff
.if !empty(TIFF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tiff+= tiff>=3.6.1
diff --git a/graphics/urt/buildlink3.mk b/graphics/urt/buildlink3.mk
index 6de8d23bdad..cb8e1367398 100644
--- a/graphics/urt/buildlink3.mk
+++ b/graphics/urt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
URT_BUILDLINK3_MK:= ${URT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= urt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nurt}
BUILDLINK_PACKAGES+= urt
-BUILDLINK_ORDER+= urt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}urt
.if !empty(URT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.urt+= urt>=3.1b1nb5
diff --git a/graphics/wxsvg/buildlink3.mk b/graphics/wxsvg/buildlink3.mk
index 4237d8e8f7b..00e236e33a1 100644
--- a/graphics/wxsvg/buildlink3.mk
+++ b/graphics/wxsvg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WXSVG_BUILDLINK3_MK:= ${WXSVG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= wxsvg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwxsvg}
BUILDLINK_PACKAGES+= wxsvg
-BUILDLINK_ORDER+= wxsvg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wxsvg
.if !empty(WXSVG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wxsvg+= wxsvg>=1.0beta5
diff --git a/graphics/xfce4-artwork/buildlink3.mk b/graphics/xfce4-artwork/buildlink3.mk
index b6104d87a77..cc3f5229f46 100644
--- a/graphics/xfce4-artwork/buildlink3.mk
+++ b/graphics/xfce4-artwork/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_ARTWORK_BUILDLINK3_MK:= ${XFCE4_ARTWORK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-artwork
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-artwork}
BUILDLINK_PACKAGES+= xfce4-artwork
-BUILDLINK_ORDER+= xfce4-artwork
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-artwork
.if !empty(XFCE4_ARTWORK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-artwork+= xfce4-artwork>=0.0.4nb5
diff --git a/graphics/xfce4-icon-theme/buildlink3.mk b/graphics/xfce4-icon-theme/buildlink3.mk
index 6f63c5dcf3b..1cc3a98b161 100644
--- a/graphics/xfce4-icon-theme/buildlink3.mk
+++ b/graphics/xfce4-icon-theme/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_ICON_THEME_BUILDLINK3_MK:= ${XFCE4_ICON_THEME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-icon-theme
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-icon-theme}
BUILDLINK_PACKAGES+= xfce4-icon-theme
-BUILDLINK_ORDER+= xfce4-icon-theme
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-icon-theme
.if !empty(XFCE4_ICON_THEME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-icon-theme+= xfce4-icon-theme>=4.2.3
diff --git a/graphics/xfce4-iconbox/buildlink3.mk b/graphics/xfce4-iconbox/buildlink3.mk
index c5f0479564d..fd8b4f7dcaf 100644
--- a/graphics/xfce4-iconbox/buildlink3.mk
+++ b/graphics/xfce4-iconbox/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_ICONBOX_BUILDLINK3_MK:= ${XFCE4_ICONBOX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-iconbox
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-iconbox}
BUILDLINK_PACKAGES+= xfce4-iconbox
-BUILDLINK_ORDER+= xfce4-iconbox
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-iconbox
.if !empty(XFCE4_ICONBOX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-iconbox+= xfce4-iconbox>=4.2.3
diff --git a/graphics/xpm/buildlink3.mk b/graphics/xpm/buildlink3.mk
index 7ec337fbfb2..9e24c00335c 100644
--- a/graphics/xpm/buildlink3.mk
+++ b/graphics/xpm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XPM_BUILDLINK3_MK:= ${XPM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xpm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxpm}
BUILDLINK_PACKAGES+= xpm
-BUILDLINK_ORDER+= xpm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xpm
.if !empty(XPM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xpm+= xpm>=3.4k
diff --git a/ham/gnuradio-core/buildlink3.mk b/ham/gnuradio-core/buildlink3.mk
index 0e41cc06de8..52aa6305b20 100644
--- a/ham/gnuradio-core/buildlink3.mk
+++ b/ham/gnuradio-core/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNURADIO_CORE_BUILDLINK3_MK:= ${GNURADIO_CORE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnuradio-core
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnuradio-core}
BUILDLINK_PACKAGES+= gnuradio-core
-BUILDLINK_ORDER+= gnuradio-core
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnuradio-core
.if !empty(GNURADIO_CORE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnuradio-core+= gnuradio-core>=2.8
diff --git a/ham/gnuradio-wxgui/buildlink3.mk b/ham/gnuradio-wxgui/buildlink3.mk
index 0db18bf6486..254f49aaf2b 100644
--- a/ham/gnuradio-wxgui/buildlink3.mk
+++ b/ham/gnuradio-wxgui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNURADIO_WXGUI_BUILDLINK3_MK:= ${GNURADIO_WXGUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnuradio-wxgui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnuradio-wxgui}
BUILDLINK_PACKAGES+= gnuradio-wxgui
-BUILDLINK_ORDER+= gnuradio-wxgui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnuradio-wxgui
.if !empty(GNURADIO_WXGUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnuradio-wxgui= gnuradio-wxgui>=0.6
diff --git a/ham/hamlib/buildlink3.mk b/ham/hamlib/buildlink3.mk
index fed41fd04ed..8071d92222c 100644
--- a/ham/hamlib/buildlink3.mk
+++ b/ham/hamlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HAMLIB_BUILDLINK3_MK:= ${HAMLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= hamlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhamlib}
BUILDLINK_PACKAGES+= hamlib
-BUILDLINK_ORDER+= hamlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hamlib
.if !empty(HAMLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.hamlib+= hamlib>=1.1.4
diff --git a/ham/usrp/buildlink3.mk b/ham/usrp/buildlink3.mk
index d13480fdbe9..c245e353aed 100644
--- a/ham/usrp/buildlink3.mk
+++ b/ham/usrp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
USRP_BUILDLINK3_MK:= ${USRP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= usrp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nusrp}
BUILDLINK_PACKAGES+= usrp
-BUILDLINK_ORDER+= usrp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}usrp
.if !empty(USRP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.usrp= usrp>=0.12
diff --git a/inputmethod/anthy/buildlink3.mk b/inputmethod/anthy/buildlink3.mk
index 5493b136ef1..0c163af0674 100644
--- a/inputmethod/anthy/buildlink3.mk
+++ b/inputmethod/anthy/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ANTHY_BUILDLINK3_MK:= ${ANTHY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= anthy
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nanthy}
BUILDLINK_PACKAGES+= anthy
-BUILDLINK_ORDER+= anthy
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}anthy
.if !empty(ANTHY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.anthy+= anthy>=6300
diff --git a/inputmethod/canna-lib/buildlink3.mk b/inputmethod/canna-lib/buildlink3.mk
index 5f31082aa68..53987a7e016 100644
--- a/inputmethod/canna-lib/buildlink3.mk
+++ b/inputmethod/canna-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CANNA_LIB_BUILDLINK3_MK:= ${CANNA_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Canna-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NCanna-lib}
BUILDLINK_PACKAGES+= Canna-lib
-BUILDLINK_ORDER+= Canna-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Canna-lib
.if !empty(CANNA_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Canna-lib+= Canna-lib>=3.6pl4
diff --git a/inputmethod/ja-freewnn-lib/buildlink3.mk b/inputmethod/ja-freewnn-lib/buildlink3.mk
index a720db164e0..169178c6b31 100644
--- a/inputmethod/ja-freewnn-lib/buildlink3.mk
+++ b/inputmethod/ja-freewnn-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:53 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JA_FREEWNN_LIB_BUILDLINK3_MK:= ${JA_FREEWNN_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ja-FreeWnn-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nja-FreeWnn-lib}
BUILDLINK_PACKAGES+= ja-FreeWnn-lib
-BUILDLINK_ORDER+= ja-FreeWnn-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ja-FreeWnn-lib
.if !empty(JA_FREEWNN_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ja-FreeWnn-lib+= ja-FreeWnn-lib>=1.10nb3
diff --git a/inputmethod/libchewing/buildlink3.mk b/inputmethod/libchewing/buildlink3.mk
index 44d5af64328..9cdff8f04b8 100644
--- a/inputmethod/libchewing/buildlink3.mk
+++ b/inputmethod/libchewing/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCHEWING_BUILDLINK3_MK:= ${LIBCHEWING_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libchewing
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibchewing}
BUILDLINK_PACKAGES+= libchewing
-BUILDLINK_ORDER+= libchewing
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libchewing
.if !empty(LIBCHEWING_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libchewing+= libchewing>=0.2.7
diff --git a/inputmethod/libtabe/buildlink3.mk b/inputmethod/libtabe/buildlink3.mk
index 3ca14826430..f8d86c4b4e4 100644
--- a/inputmethod/libtabe/buildlink3.mk
+++ b/inputmethod/libtabe/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTABE_BUILDLINK3_MK:= ${LIBTABE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtabe
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtabe}
BUILDLINK_PACKAGES+= libtabe
-BUILDLINK_ORDER+= libtabe
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtabe
.if !empty(LIBTABE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtabe+= libtabe>=0.2.5
diff --git a/inputmethod/sj3-lib/buildlink3.mk b/inputmethod/sj3-lib/buildlink3.mk
index 31e308c3035..5a89e9875e2 100644
--- a/inputmethod/sj3-lib/buildlink3.mk
+++ b/inputmethod/sj3-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SJ3_LIB_BUILDLINK3_MK:= ${SJ3_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sj3-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsj3-lib}
BUILDLINK_PACKAGES+= sj3-lib
-BUILDLINK_ORDER+= sj3-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sj3-lib
.if !empty(SJ3_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sj3-lib+= sj3-lib>=2.0.1.20nb1
diff --git a/inputmethod/uim/buildlink3.mk b/inputmethod/uim/buildlink3.mk
index 0a2ecbbd2f8..c1775427457 100644
--- a/inputmethod/uim/buildlink3.mk
+++ b/inputmethod/uim/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UIM_BUILDLINK3_MK:= ${UIM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= uim
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nuim}
BUILDLINK_PACKAGES+= uim
-BUILDLINK_ORDER+= uim
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}uim
.if !empty(UIM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.uim+= uim>=0.4.6
diff --git a/inputmethod/unicon-im/buildlink3.mk b/inputmethod/unicon-im/buildlink3.mk
index 5625c4edd75..cab6eba92f8 100644
--- a/inputmethod/unicon-im/buildlink3.mk
+++ b/inputmethod/unicon-im/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UNICON_IM_BUILDLINK3_MK:= ${UNICON_IM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= unicon-im
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nunicon-im}
BUILDLINK_PACKAGES+= unicon-im
-BUILDLINK_ORDER+= unicon-im
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}unicon-im
.if !empty(UNICON_IM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.unicon-im+= unicon-im>=1.2nb2
diff --git a/lang/Cg-compiler/buildlink3.mk b/lang/Cg-compiler/buildlink3.mk
index 7b4637f54dd..9ef13d7d3cc 100644
--- a/lang/Cg-compiler/buildlink3.mk
+++ b/lang/Cg-compiler/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:21 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CG_COMPILER_BUILDLINK3_MK:= ${CG_COMPILER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Cg-compiler
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NCg-compiler}
BUILDLINK_PACKAGES+= Cg-compiler
-BUILDLINK_ORDER+= Cg-compiler
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Cg-compiler
.if !empty(CG_COMPILER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Cg-compiler+= Cg-compiler>=1.2.1
diff --git a/lang/blackdown-jdk13/buildlink3.mk b/lang/blackdown-jdk13/buildlink3.mk
index eb3a6628a36..f8b1f4d1214 100644
--- a/lang/blackdown-jdk13/buildlink3.mk
+++ b/lang/blackdown-jdk13/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BLACKDOWN_JDK13_BUILDLINK3_MK:= ${BLACKDOWN_JDK13_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= blackdown-jdk13
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblackdown-jdk13}
BUILDLINK_PACKAGES+= blackdown-jdk13
-BUILDLINK_ORDER+= blackdown-jdk13
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}blackdown-jdk13
.if !empty(BLACKDOWN_JDK13_BUILDLINK3_MK:M+)
diff --git a/lang/blackdown-jre13/buildlink3.mk b/lang/blackdown-jre13/buildlink3.mk
index c23ff47e577..37348bd735a 100644
--- a/lang/blackdown-jre13/buildlink3.mk
+++ b/lang/blackdown-jre13/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BLACKDOWN_JRE13_BUILDLINK3_MK:= ${BLACKDOWN_JRE13_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= blackdown-jre13
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblackdown-jre13}
BUILDLINK_PACKAGES+= blackdown-jre13
-BUILDLINK_ORDER+= blackdown-jre13
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}blackdown-jre13
.if !empty(BLACKDOWN_JRE13_BUILDLINK3_MK:M+)
diff --git a/lang/cdl3/buildlink3.mk b/lang/cdl3/buildlink3.mk
index 0c9f03c1fdc..4f304ac132a 100644
--- a/lang/cdl3/buildlink3.mk
+++ b/lang/cdl3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CDL3_BUILDLINK3_MK:= ${CDL3_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cdl3
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncdl3}
BUILDLINK_PACKAGES+= cdl3
-BUILDLINK_ORDER+= cdl3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cdl3
.if !empty(CDL3_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cdl3+= cdl3>=1.2.5
diff --git a/lang/elk/buildlink3.mk b/lang/elk/buildlink3.mk
index d84694bfffa..4db32edac0c 100644
--- a/lang/elk/buildlink3.mk
+++ b/lang/elk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ELK_BUILDLINK3_MK:= ${ELK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= elk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nelk}
BUILDLINK_PACKAGES+= elk
-BUILDLINK_ORDER+= elk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}elk
.if !empty(ELK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.elk+= elk>=3.99.6
diff --git a/lang/erlang/buildlink3.mk b/lang/erlang/buildlink3.mk
index b863c2b2f08..550132a890e 100644
--- a/lang/erlang/buildlink3.mk
+++ b/lang/erlang/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ERLANG_BUILDLINK3_MK:= ${ERLANG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= erlang
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nerlang}
BUILDLINK_PACKAGES+= erlang
-BUILDLINK_ORDER+= erlang
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}erlang
.if !empty(ERLANG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.erlang+= erlang>=10.1
diff --git a/lang/ezm3/buildlink3.mk b/lang/ezm3/buildlink3.mk
index fbf767dcfb4..22e90187876 100644
--- a/lang/ezm3/buildlink3.mk
+++ b/lang/ezm3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EZM3_BUILDLINK3_MK:= ${EZM3_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ezm3
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nezm3}
BUILDLINK_PACKAGES+= ezm3
-BUILDLINK_ORDER+= ezm3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ezm3
.if !empty(EZM3_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ezm3+= ezm3>=1.1nb1
diff --git a/lang/f2c/buildlink3.mk b/lang/f2c/buildlink3.mk
index b0769588e6a..dfcb7516bcd 100644
--- a/lang/f2c/buildlink3.mk
+++ b/lang/f2c/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
F2C_BUILDLINK3_MK:= ${F2C_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= f2c
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nf2c}
BUILDLINK_PACKAGES+= f2c
-BUILDLINK_ORDER+= f2c
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}f2c
.if !empty(F2C_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.f2c+= f2c>=20001205nb3
diff --git a/lang/gauche/buildlink3.mk b/lang/gauche/buildlink3.mk
index 1c17064ce0d..696d7322d1f 100644
--- a/lang/gauche/buildlink3.mk
+++ b/lang/gauche/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GAUCHE_BUILDLINK3_MK:= ${GAUCHE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Gauche
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGauche}
BUILDLINK_PACKAGES+= Gauche
-BUILDLINK_ORDER+= Gauche
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Gauche
.if !empty(GAUCHE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Gauche+= Gauche>=0.8.1
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk
index dd0115f89ec..febf3729e07 100644
--- a/lang/gcc/buildlink3.mk
+++ b/lang/gcc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gcc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc}
BUILDLINK_PACKAGES+= gcc
-BUILDLINK_ORDER+= gcc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc
.if !empty(GCC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gcc+= gcc>=${_GCC_REQD}
diff --git a/lang/gcc3-ada/buildlink3.mk b/lang/gcc3-ada/buildlink3.mk
index e36b6bb1003..d733024b36d 100644
--- a/lang/gcc3-ada/buildlink3.mk
+++ b/lang/gcc3-ada/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_ADA_BUILDLINK3_MK:= ${GCC3_ADA_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc3-ada
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3-ada}
BUILDLINK_PACKAGES+= gcc3-ada
-BUILDLINK_ORDER+= gcc3-ada
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-ada
.if !empty(GCC3_ADA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gcc3-ada+= gcc3-ada>=3.3.3
diff --git a/lang/gcc3-c++/buildlink3.mk b/lang/gcc3-c++/buildlink3.mk
index e9dd2134f6d..30a60db8f8a 100644
--- a/lang/gcc3-c++/buildlink3.mk
+++ b/lang/gcc3-c++/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_CXX_BUILDLINK3_MK:= ${GCC3_CXX_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gcc3-cxx
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3-cxx}
BUILDLINK_PACKAGES+= gcc3-cxx
-BUILDLINK_ORDER+= gcc3-cxx
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-cxx
.if !empty(GCC3_CXX_BUILDLINK3_MK:M+)
. if defined(GCC3_INSTALLTO_SUBPREFIX)
diff --git a/lang/gcc3-c/buildlink3.mk b/lang/gcc3-c/buildlink3.mk
index 5406b899cc8..321a68a1cdb 100644
--- a/lang/gcc3-c/buildlink3.mk
+++ b/lang/gcc3-c/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_C_BUILDLINK3_MK:= ${GCC3_C_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gcc3-c
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3-c}
BUILDLINK_PACKAGES+= gcc3-c
-BUILDLINK_ORDER+= gcc3-c
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-c
.if !empty(GCC3_C_BUILDLINK3_MK:M+)
. if defined(GCC3_INSTALLTO_SUBPREFIX)
diff --git a/lang/gcc3-f77/buildlink3.mk b/lang/gcc3-f77/buildlink3.mk
index 6148c8ced4c..5ca6387dbf3 100644
--- a/lang/gcc3-f77/buildlink3.mk
+++ b/lang/gcc3-f77/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_F77_BUILDLINK3_MK:= ${GCC3_F77_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gcc3-f77
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3-f77}
BUILDLINK_PACKAGES+= gcc3-f77
-BUILDLINK_ORDER+= gcc3-f77
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-f77
.if !empty(GCC3_F77_BUILDLINK3_MK:M+)
. if defined(GCC3_INSTALLTO_SUBPREFIX)
diff --git a/lang/gcc3-java/buildlink3.mk b/lang/gcc3-java/buildlink3.mk
index 3d779e87144..99a1e4308b7 100644
--- a/lang/gcc3-java/buildlink3.mk
+++ b/lang/gcc3-java/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_JAVA_BUILDLINK3_MK:= ${GCC3_JAVA_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gcc3-java
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3-java}
BUILDLINK_PACKAGES+= gcc3-java
-BUILDLINK_ORDER+= gcc3-java
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-java
.if !empty(GCC3_JAVA_BUILDLINK3_MK:M+)
. if defined(GCC3_INSTALLTO_SUBPREFIX)
diff --git a/lang/gcc3-objc/buildlink3.mk b/lang/gcc3-objc/buildlink3.mk
index 03066d04f98..4badf45713c 100644
--- a/lang/gcc3-objc/buildlink3.mk
+++ b/lang/gcc3-objc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC3_OBJC_BUILDLINK3_MK:= ${GCC3_OBJC_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gcc3-objc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3-objc}
BUILDLINK_PACKAGES+= gcc3-objc
-BUILDLINK_ORDER+= gcc3-objc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc3-objc
.if !empty(GCC3_OBJC_BUILDLINK3_MK:M+)
. if defined(GCC3_INSTALLTO_SUBPREFIX)
diff --git a/lang/gcc34-ada/buildlink3.mk b/lang/gcc34-ada/buildlink3.mk
index e0c4dec91f8..7d8d03a6ab4 100644
--- a/lang/gcc34-ada/buildlink3.mk
+++ b/lang/gcc34-ada/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCCADA_BUILDLINK3_MK:= ${GCCADA_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc34-ada
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc34-ada}
BUILDLINK_PACKAGES+= gcc34-ada
-BUILDLINK_ORDER+= gcc34-ada
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc34-ada
.if !empty(GCCADA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gcc34-ada+= gcc34-ada>=3.4.1nb4
diff --git a/lang/gcc34/buildlink3.mk b/lang/gcc34/buildlink3.mk
index 6faa3989875..d955254f31e 100644
--- a/lang/gcc34/buildlink3.mk
+++ b/lang/gcc34/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:54 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC34_BUILDLINK3_MK:= ${GCC34_BUILDLINK3_MK}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= gcc34
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc34}
BUILDLINK_PACKAGES+= gcc34
-BUILDLINK_ORDER+= gcc34
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc34
.if !empty(GCC34_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gcc34+= gcc34>=${_GCC_REQD}
diff --git a/lang/ghc/buildlink3.mk b/lang/ghc/buildlink3.mk
index 56d7c3f23dd..05da58109e7 100644
--- a/lang/ghc/buildlink3.mk
+++ b/lang/ghc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GHC_BUILDLINK3_MK:= ${GHC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ghc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nghc}
BUILDLINK_PACKAGES+= ghc
-BUILDLINK_ORDER+= ghc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ghc
.if !empty(GHC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ghc+= ghc>=6.2.1nb1
diff --git a/lang/guile/buildlink3.mk b/lang/guile/buildlink3.mk
index cb2452623ae..0dc2de9724b 100644
--- a/lang/guile/buildlink3.mk
+++ b/lang/guile/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUILE_BUILDLINK3_MK:= ${GUILE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= guile
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nguile}
BUILDLINK_PACKAGES+= guile
-BUILDLINK_ORDER+= guile
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}guile
.if !empty(GUILE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.guile+= guile>=1.6.3nb1
diff --git a/lang/guile14/buildlink3.mk b/lang/guile14/buildlink3.mk
index af969ebbd0b..6e9dd591532 100644
--- a/lang/guile14/buildlink3.mk
+++ b/lang/guile14/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:22 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUILE14_BUILDLINK3_MK:= ${GUILE14_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= guile14
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nguile14}
BUILDLINK_PACKAGES+= guile14
-BUILDLINK_ORDER+= guile14
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}guile14
.if !empty(GUILE14_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.guile14+= guile14>=1.4.1nb4
diff --git a/lang/jdk/buildlink3.mk b/lang/jdk/buildlink3.mk
index 4fd481eff3f..95204f03a7a 100644
--- a/lang/jdk/buildlink3.mk
+++ b/lang/jdk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JDK_BUILDLINK3_MK:= ${JDK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= jdk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njdk}
BUILDLINK_PACKAGES+= jdk
-BUILDLINK_ORDER+= jdk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jdk
.if !empty(JDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jdk+= jdk>=1.1.8
diff --git a/lang/kaffe/buildlink3.mk b/lang/kaffe/buildlink3.mk
index 0ee07907050..3f3f6526be2 100644
--- a/lang/kaffe/buildlink3.mk
+++ b/lang/kaffe/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KAFFE_BUILDLINK3_MK:= ${KAFFE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kaffe
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkaffe}
BUILDLINK_PACKAGES+= kaffe
-BUILDLINK_ORDER+= kaffe
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kaffe
.if !empty(KAFFE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kaffe+= kaffe>=1.1.7
diff --git a/lang/librep/buildlink3.mk b/lang/librep/buildlink3.mk
index d5451f3ae5c..cd46d9c859f 100644
--- a/lang/librep/buildlink3.mk
+++ b/lang/librep/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBREP_BUILDLINK3_MK:= ${LIBREP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= librep
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibrep}
BUILDLINK_PACKAGES+= librep
-BUILDLINK_ORDER+= librep
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}librep
.if !empty(LIBREP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.librep+= librep>=0.17
diff --git a/lang/libtcl-nothread/buildlink3.mk b/lang/libtcl-nothread/buildlink3.mk
index 13aeecca1a8..1557c1c5baf 100644
--- a/lang/libtcl-nothread/buildlink3.mk
+++ b/lang/libtcl-nothread/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCLNT_BUILDLINK3_MK:= ${TCLNT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tclnt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntclnt}
BUILDLINK_PACKAGES+= tclnt
-BUILDLINK_ORDER+= tclnt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tclnt
.if !empty(TCLNT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tclnt+= libtcl-nothread>=8.4.6
diff --git a/lang/lua/buildlink3.mk b/lang/lua/buildlink3.mk
index 22f7db6bcb0..1d320df78d6 100644
--- a/lang/lua/buildlink3.mk
+++ b/lang/lua/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LUA_BUILDLINK3_MK:= ${LUA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lua
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlua}
BUILDLINK_PACKAGES+= lua
-BUILDLINK_ORDER+= lua
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lua
.if !empty(LUA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lua+= lua>=5.0.2
diff --git a/lang/lua4/buildlink3.mk b/lang/lua4/buildlink3.mk
index 3dfcc34d6ab..1dc34b0ae84 100644
--- a/lang/lua4/buildlink3.mk
+++ b/lang/lua4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LUA4_BUILDLINK3_MK:= ${LUA4_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lua4
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlua4}
BUILDLINK_PACKAGES+= lua4
-BUILDLINK_ORDER+= lua4
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lua4
.if !empty(LUA4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lua4+= lua4>=4.0.1
diff --git a/lang/mono/buildlink3.mk b/lang/mono/buildlink3.mk
index f04756f57ae..9a755bc1772 100644
--- a/lang/mono/buildlink3.mk
+++ b/lang/mono/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MONO_BUILDLINK3_MK:= ${MONO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mono
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmono}
BUILDLINK_PACKAGES+= mono
-BUILDLINK_ORDER+= mono
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mono
.if !empty(MONO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mono+= mono>=1.1.12.1
diff --git a/lang/ocaml/buildlink3.mk b/lang/ocaml/buildlink3.mk
index 1ca58df2a64..33dfccbc204 100644
--- a/lang/ocaml/buildlink3.mk
+++ b/lang/ocaml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OCAML_BUILDLINK3_MK:= ${OCAML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ocaml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml}
BUILDLINK_PACKAGES+= ocaml
-BUILDLINK_ORDER+= ocaml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ocaml
.if !empty(OCAML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.08.2
diff --git a/lang/parrot/buildlink3.mk b/lang/parrot/buildlink3.mk
index 261737cf21c..cf607df773f 100644
--- a/lang/parrot/buildlink3.mk
+++ b/lang/parrot/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PARROT_BUILDLINK3_MK:= ${PARROT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= parrot
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nparrot}
BUILDLINK_PACKAGES+= parrot
-BUILDLINK_ORDER+= parrot
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}parrot
.if !empty(PARROT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.parrot+= parrot>=0.4.0
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk
index d5820442836..5a3485d819f 100644
--- a/lang/perl5/buildlink3.mk
+++ b/lang/perl5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.34 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.35 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= perl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nperl}
BUILDLINK_PACKAGES+= perl
-BUILDLINK_ORDER+= perl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}perl
.if !empty(PERL5_BUILDLINK3_MK:M+)
.include "../../mk/bsd.prefs.mk"
diff --git a/lang/php5/buildlink3.mk b/lang/php5/buildlink3.mk
index 7a42774678f..fb49fa411ea 100644
--- a/lang/php5/buildlink3.mk
+++ b/lang/php5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHP_BUILDLINK3_MK:= ${PHP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= php
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp}
BUILDLINK_PACKAGES+= php
-BUILDLINK_ORDER+= php
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}php
.if !empty(PHP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.php+= php>=5.1.2
diff --git a/lang/pnet/buildlink3.mk b/lang/pnet/buildlink3.mk
index 0e0e06172a6..b4918d7a68e 100644
--- a/lang/pnet/buildlink3.mk
+++ b/lang/pnet/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PNET_BUILDLINK3_MK:= ${PNET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pnet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npnet}
BUILDLINK_PACKAGES+= pnet
-BUILDLINK_ORDER+= pnet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pnet
.if !empty(PNET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pnet+= pnet>=0.6.4
diff --git a/lang/pnetC/buildlink3.mk b/lang/pnetC/buildlink3.mk
index f16b489e3d9..781322303a9 100644
--- a/lang/pnetC/buildlink3.mk
+++ b/lang/pnetC/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PNETC_BUILDLINK3_MK:= ${PNETC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pnetC
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NpnetC}
BUILDLINK_PACKAGES+= pnetC
-BUILDLINK_ORDER+= pnetC
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pnetC
.if !empty(PNETC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pnetC+= pnetC>=0.6.4
diff --git a/lang/pnetlib/buildlink3.mk b/lang/pnetlib/buildlink3.mk
index 1426572e1e8..a235df4cf12 100644
--- a/lang/pnetlib/buildlink3.mk
+++ b/lang/pnetlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PNETLIB_BUILDLINK3_MK:= ${PNETLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pnetlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npnetlib}
BUILDLINK_PACKAGES+= pnetlib
-BUILDLINK_ORDER+= pnetlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pnetlib
.if !empty(PNETLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pnetlib+= pnetlib>=0.6.4
diff --git a/lang/py-extclass/buildlink3.mk b/lang/py-extclass/buildlink3.mk
index e27c28b6ce0..0e1afa390a2 100644
--- a/lang/py-extclass/buildlink3.mk
+++ b/lang/py-extclass/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYEXTCLASS_BUILDLINK3_MK:= ${PYEXTCLASS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pyextclass
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyextclass}
BUILDLINK_PACKAGES+= pyextclass
-BUILDLINK_ORDER+= pyextclass
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyextclass
.if !empty(PYEXTCLASS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyextclass+= py-extclass>=2.2.2nb1
diff --git a/lang/python15/buildlink3.mk b/lang/python15/buildlink3.mk
index 074cd2a398c..cb2edecfe0a 100644
--- a/lang/python15/buildlink3.mk
+++ b/lang/python15/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON15_BUILDLINK3_MK:= ${PYTHON15_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python15
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython15}
BUILDLINK_PACKAGES+= python15
-BUILDLINK_ORDER+= python15
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python15
.if !empty(PYTHON15_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python15+= python15>=1.5
diff --git a/lang/python20/buildlink3.mk b/lang/python20/buildlink3.mk
index d0d88eeed55..33a4c4ca71b 100644
--- a/lang/python20/buildlink3.mk
+++ b/lang/python20/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON20_BUILDLINK3_MK:= ${PYTHON20_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python20
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython20}
BUILDLINK_PACKAGES+= python20
-BUILDLINK_ORDER+= python20
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python20
.if !empty(PYTHON20_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python20+= python20>=2.0
diff --git a/lang/python21/buildlink3.mk b/lang/python21/buildlink3.mk
index 6471d182c4e..745387dff18 100644
--- a/lang/python21/buildlink3.mk
+++ b/lang/python21/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON21_BUILDLINK3_MK:= ${PYTHON21_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python21
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython21}
BUILDLINK_PACKAGES+= python21
-BUILDLINK_ORDER+= python21
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python21
.if !empty(PYTHON21_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python21+= python21>=2.1
diff --git a/lang/python22/buildlink3.mk b/lang/python22/buildlink3.mk
index 395956b7b34..8a9e1dab7cf 100644
--- a/lang/python22/buildlink3.mk
+++ b/lang/python22/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:23 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON22_BUILDLINK3_MK:= ${PYTHON22_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python22
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython22}
BUILDLINK_PACKAGES+= python22
-BUILDLINK_ORDER+= python22
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python22
.if !empty(PYTHON22_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python22+= python22>=2.2
diff --git a/lang/python23-nth/buildlink3.mk b/lang/python23-nth/buildlink3.mk
index 1a2c71a1940..64f82736028 100644
--- a/lang/python23-nth/buildlink3.mk
+++ b/lang/python23-nth/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON23_NTH_BUILDLINK3_MK:= ${PYTHON23_NTH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python23-nth
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython23-nth}
BUILDLINK_PACKAGES+= python23-nth
-BUILDLINK_ORDER+= python23-nth
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python23-nth
.if !empty(PYTHON23_NTH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python23-nth+= python23-nth>=2.3.4
diff --git a/lang/python23/buildlink3.mk b/lang/python23/buildlink3.mk
index c325c918d1b..466378648a5 100644
--- a/lang/python23/buildlink3.mk
+++ b/lang/python23/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:55 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON23_BUILDLINK3_MK:= ${PYTHON23_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python23
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython23}
BUILDLINK_PACKAGES+= python23
-BUILDLINK_ORDER+= python23
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python23
.if !empty(PYTHON23_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python23+= python23>=2.3
diff --git a/lang/python24/buildlink3.mk b/lang/python24/buildlink3.mk
index 6bba9eb12fc..3d2687930cb 100644
--- a/lang/python24/buildlink3.mk
+++ b/lang/python24/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTHON24_BUILDLINK3_MK:= ${PYTHON24_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= python24
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython24}
BUILDLINK_PACKAGES+= python24
-BUILDLINK_ORDER+= python24
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}python24
.if !empty(PYTHON24_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.python24+= python24>=2.4
diff --git a/lang/ruby/buildlink3.mk b/lang/ruby/buildlink3.mk
index f9629a8debf..1a11fd04caf 100644
--- a/lang/ruby/buildlink3.mk
+++ b/lang/ruby/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RUBY_BUILDLINK3_MK:= ${RUBY_BUILDLINK3_MK}+
@@ -13,7 +13,7 @@ BUILDLINK_DEPENDS+= ${RUBY_BASE}
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_BASE}}
BUILDLINK_PACKAGES+= ${RUBY_BASE}
-BUILDLINK_ORDER+= ${RUBY_BASE}
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${RUBY_BASE}
.if !empty(RUBY_BUILDLINK3_MK:M+)
diff --git a/lang/scsl-jdk15/buildlink3.mk b/lang/scsl-jdk15/buildlink3.mk
index d7e9aabf862..6cdbb07ebf8 100644
--- a/lang/scsl-jdk15/buildlink3.mk
+++ b/lang/scsl-jdk15/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SCSL_JDK15_BUILDLINK3_MK:= ${SCSL_JDK15_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= scsl-jdk15
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nscsl-jdk15}
BUILDLINK_PACKAGES+= scsl-jdk15
-BUILDLINK_ORDER+= scsl-jdk15
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}scsl-jdk15
.if !empty(SCSL_JDK15_BUILDLINK3_MK:M+)
diff --git a/lang/scsl-jre15/buildlink3.mk b/lang/scsl-jre15/buildlink3.mk
index e18ef53db9a..6d269928d99 100644
--- a/lang/scsl-jre15/buildlink3.mk
+++ b/lang/scsl-jre15/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SCSL_JRE15_BUILDLINK3_MK:= ${SCSL_JRE15_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= scsl-jre15
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nscsl-jre15}
BUILDLINK_PACKAGES+= scsl-jre15
-BUILDLINK_ORDER+= scsl-jre15
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}scsl-jre15
.if !empty(SCSL_JRE15_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.scsl-jre15+= scsl-jre15-[0-9]*
diff --git a/lang/spidermonkey/buildlink3.mk b/lang/spidermonkey/buildlink3.mk
index 4b7b3317d60..e9dd6c7503d 100644
--- a/lang/spidermonkey/buildlink3.mk
+++ b/lang/spidermonkey/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPIDERMONKEY_BUILDLINK3_MK:= ${SPIDERMONKEY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= spidermonkey
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nspidermonkey}
BUILDLINK_PACKAGES+= spidermonkey
-BUILDLINK_ORDER+= spidermonkey
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}spidermonkey
.if !empty(SPIDERMONKEY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.spidermonkey+= spidermonkey>=1.5
diff --git a/lang/sun-jdk13/buildlink3.mk b/lang/sun-jdk13/buildlink3.mk
index c424fa364b9..195f0cb330e 100644
--- a/lang/sun-jdk13/buildlink3.mk
+++ b/lang/sun-jdk13/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JDK13_BUILDLINK3_MK:= ${SUN_JDK13_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sun-jdk13
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jdk13}
BUILDLINK_PACKAGES+= sun-jdk13
-BUILDLINK_ORDER+= sun-jdk13
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jdk13
.if !empty(SUN_JDK13_BUILDLINK3_MK:M+)
diff --git a/lang/sun-jdk14/buildlink3.mk b/lang/sun-jdk14/buildlink3.mk
index 20d66d5ae84..326c14660d9 100644
--- a/lang/sun-jdk14/buildlink3.mk
+++ b/lang/sun-jdk14/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JDK14_BUILDLINK3_MK:= ${SUN_JDK14_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sun-jdk14
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jdk14}
BUILDLINK_PACKAGES+= sun-jdk14
-BUILDLINK_ORDER+= sun-jdk14
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jdk14
.if !empty(SUN_JDK14_BUILDLINK3_MK:M+)
diff --git a/lang/sun-jdk15/buildlink3.mk b/lang/sun-jdk15/buildlink3.mk
index 84a303c613e..a496d4bf7b8 100644
--- a/lang/sun-jdk15/buildlink3.mk
+++ b/lang/sun-jdk15/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JDK15_BUILDLINK3_MK:= ${SUN_JDK15_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sun-jdk15
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jdk15}
BUILDLINK_PACKAGES+= sun-jdk15
-BUILDLINK_ORDER+= sun-jdk15
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jdk15
.if !empty(SUN_JDK15_BUILDLINK3_MK:M+)
diff --git a/lang/sun-jre13/buildlink3.mk b/lang/sun-jre13/buildlink3.mk
index e932470443f..e7c17d10145 100644
--- a/lang/sun-jre13/buildlink3.mk
+++ b/lang/sun-jre13/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JRE13_BUILDLINK3_MK:= ${SUN_JRE13_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sun-jre13
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jre13}
BUILDLINK_PACKAGES+= sun-jre13
-BUILDLINK_ORDER+= sun-jre13
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jre13
.if !empty(SUN_JRE13_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sun-jre13+= sun-jre13-[0-9]*
diff --git a/lang/sun-jre14/buildlink3.mk b/lang/sun-jre14/buildlink3.mk
index f8cc27a7ac3..f064b3004af 100644
--- a/lang/sun-jre14/buildlink3.mk
+++ b/lang/sun-jre14/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JRE14_BUILDLINK3_MK:= ${SUN_JRE14_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sun-jre14
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jre14}
BUILDLINK_PACKAGES+= sun-jre14
-BUILDLINK_ORDER+= sun-jre14
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jre14
.if !empty(SUN_JRE14_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sun-jre14+= sun-jre14-[0-9]*
diff --git a/lang/sun-jre15/buildlink3.mk b/lang/sun-jre15/buildlink3.mk
index b1d43e98e8c..54cf2355153 100644
--- a/lang/sun-jre15/buildlink3.mk
+++ b/lang/sun-jre15/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUN_JRE15_BUILDLINK3_MK:= ${SUN_JRE15_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sun-jre15
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsun-jre15}
BUILDLINK_PACKAGES+= sun-jre15
-BUILDLINK_ORDER+= sun-jre15
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sun-jre15
.if !empty(SUN_JRE15_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sun-jre15+= sun-jre15-[0-9]*
diff --git a/lang/swi-prolog-lite/buildlink3.mk b/lang/swi-prolog-lite/buildlink3.mk
index 400122452a9..aa9e87ddba8 100644
--- a/lang/swi-prolog-lite/buildlink3.mk
+++ b/lang/swi-prolog-lite/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SWI_PROLOG_LITE_BUILDLINK3_MK:= ${SWI_PROLOG_LITE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= swi-prolog-lite
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswi-prolog-lite}
BUILDLINK_PACKAGES+= swi-prolog-lite
-BUILDLINK_ORDER+= swi-prolog-lite
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}swi-prolog-lite
.if !empty(SWI_PROLOG_LITE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.swi-prolog-lite+= swi-prolog-lite>=5.2.9
diff --git a/lang/tcl-expect/buildlink3.mk b/lang/tcl-expect/buildlink3.mk
index 82853eede33..e81a6e5763c 100644
--- a/lang/tcl-expect/buildlink3.mk
+++ b/lang/tcl-expect/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_EXPECT_BUILDLINK3_MK:= ${TCL_EXPECT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-expect
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-expect}
BUILDLINK_PACKAGES+= tcl-expect
-BUILDLINK_ORDER+= tcl-expect
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-expect
.if !empty(TCL_EXPECT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-expect+= tcl-expect>=5.38.0nb1
diff --git a/lang/tcl-itcl-current/buildlink3.mk b/lang/tcl-itcl-current/buildlink3.mk
index afe03e5c423..228ceaa26c5 100644
--- a/lang/tcl-itcl-current/buildlink3.mk
+++ b/lang/tcl-itcl-current/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_ITCL_CURRENT_BUILDLINK3_MK:= ${TCL_ITCL_CURRENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-itcl-current
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-itcl-current}
BUILDLINK_PACKAGES+= tcl-itcl-current
-BUILDLINK_ORDER+= tcl-itcl-current
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-itcl-current
.if !empty(TCL_ITCL_CURRENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-itcl-current+= tcl-itcl-current>=20040920
diff --git a/lang/tcl-itcl/buildlink3.mk b/lang/tcl-itcl/buildlink3.mk
index 3463403949f..c9dbd15a77a 100644
--- a/lang/tcl-itcl/buildlink3.mk
+++ b/lang/tcl-itcl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_ITCL_BUILDLINK3_MK:= ${TCL_ITCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-itcl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-itcl}
BUILDLINK_PACKAGES+= tcl-itcl
-BUILDLINK_ORDER+= tcl-itcl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-itcl
.if !empty(TCL_ITCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-itcl+= tcl-itcl>=3.2.1
diff --git a/lang/tcl-otcl/buildlink3.mk b/lang/tcl-otcl/buildlink3.mk
index 51f54462d16..d2fd87ea170 100644
--- a/lang/tcl-otcl/buildlink3.mk
+++ b/lang/tcl-otcl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_OTCL_BUILDLINK3_MK:= ${TCL_OTCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-otcl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-otcl}
BUILDLINK_PACKAGES+= tcl-otcl
-BUILDLINK_ORDER+= tcl-otcl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-otcl
.if !empty(TCL_OTCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-otcl+= tcl-otcl>=1.8
diff --git a/lang/tcl-tclX/buildlink3.mk b/lang/tcl-tclX/buildlink3.mk
index 3e536b7daea..a8a6d783ba0 100644
--- a/lang/tcl-tclX/buildlink3.mk
+++ b/lang/tcl-tclX/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_TCLX_BUILDLINK3_MK:= ${TCL_TCLX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-tclX
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-tclX}
BUILDLINK_PACKAGES+= tcl-tclX
-BUILDLINK_ORDER+= tcl-tclX
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-tclX
.if !empty(TCL_TCLX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-tclX+= tcl-tclX>=8.3.5
diff --git a/lang/tcl/buildlink3.mk b/lang/tcl/buildlink3.mk
index 7d372661445..4c1be953873 100644
--- a/lang/tcl/buildlink3.mk
+++ b/lang/tcl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:24 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_BUILDLINK3_MK:= ${TCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl}
BUILDLINK_PACKAGES+= tcl
-BUILDLINK_ORDER+= tcl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl
.if !empty(TCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl+= tcl>=8.4.6nb1
diff --git a/lang/tcl83/buildlink3.mk b/lang/tcl83/buildlink3.mk
index f2ca0b7583b..fa907524a07 100644
--- a/lang/tcl83/buildlink3.mk
+++ b/lang/tcl83/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_BUILDLINK3_MK:= ${TCL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl}
BUILDLINK_PACKAGES+= tcl
-BUILDLINK_ORDER+= tcl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl
.if !empty(TCL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl+= tcl-8.3.4*
diff --git a/lang/win32-jdk/buildlink3.mk b/lang/win32-jdk/buildlink3.mk
index 52a9155bda4..ca2eca474a7 100644
--- a/lang/win32-jdk/buildlink3.mk
+++ b/lang/win32-jdk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WIN32_JDK_BUILDLINK3_MK:= ${WIN32_JRE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= win32-jdk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwin32-jdk}
BUILDLINK_PACKAGES+= win32-jdk
-BUILDLINK_ORDER+= win32-jdk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}win32-jdk
.if !empty(WIN32_JDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.win32-jdk+= win32-jre>=0.1
diff --git a/mail/Pantomime/buildlink3.mk b/mail/Pantomime/buildlink3.mk
index 13325c1d59a..907b3e47975 100644
--- a/mail/Pantomime/buildlink3.mk
+++ b/mail/Pantomime/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:56 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PANTOMIME_BUILDLINK3_MK:= ${PANTOMIME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Pantomime
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NPantomime}
BUILDLINK_PACKAGES+= Pantomime
-BUILDLINK_ORDER+= Pantomime
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Pantomime
.if !empty(PANTOMIME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Pantomime+= Pantomime>=1.1.2
diff --git a/mail/clamav/buildlink3.mk b/mail/clamav/buildlink3.mk
index fafcdc26c14..954569a0635 100644
--- a/mail/clamav/buildlink3.mk
+++ b/mail/clamav/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CLAMAV_BUILDLINK3_MK:= ${CLAMAV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= clamav
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nclamav}
BUILDLINK_PACKAGES+= clamav
-BUILDLINK_ORDER+= clamav
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}clamav
.if !empty(CLAMAV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.clamav+= clamav>=0.60nb1
diff --git a/mail/drac/buildlink3.mk b/mail/drac/buildlink3.mk
index 92dff138040..c09b4e9abc4 100644
--- a/mail/drac/buildlink3.mk
+++ b/mail/drac/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DRAC_BUILDLINK3_MK:= ${DRAC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= drac
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndrac}
BUILDLINK_PACKAGES+= drac
-BUILDLINK_ORDER+= drac
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}drac
.if !empty(DRAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.drac+= drac>=1.10
diff --git a/mail/evolution-data-server/buildlink3.mk b/mail/evolution-data-server/buildlink3.mk
index bfa4ad36857..1d7d041c58d 100644
--- a/mail/evolution-data-server/buildlink3.mk
+++ b/mail/evolution-data-server/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EVOLUTION_DATA_SERVER_BUILDLINK3_MK:= ${EVOLUTION_DATA_SERVER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= evolution-data-server
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nevolution-data-server}
BUILDLINK_PACKAGES+= evolution-data-server
-BUILDLINK_ORDER+= evolution-data-server
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}evolution-data-server
.if !empty(EVOLUTION_DATA_SERVER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.evolution-data-server+= evolution-data-server>=1.4.2.1nb1
diff --git a/mail/evolution/buildlink3.mk b/mail/evolution/buildlink3.mk
index 68c5e610826..db611a8d913 100644
--- a/mail/evolution/buildlink3.mk
+++ b/mail/evolution/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EVOLUTION_BUILDLINK3_MK:= ${EVOLUTION_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= evolution
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nevolution}
BUILDLINK_PACKAGES+= evolution
-BUILDLINK_ORDER+= evolution
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}evolution
.if !empty(EVOLUTION_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.evolution+= evolution>=2.6.0
diff --git a/mail/faces/buildlink3.mk b/mail/faces/buildlink3.mk
index 8c618c94d5b..0c22049a802 100644
--- a/mail/faces/buildlink3.mk
+++ b/mail/faces/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FACES_BUILDLINK3_MK:= ${FACES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= faces
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfaces}
BUILDLINK_PACKAGES+= faces
-BUILDLINK_ORDER+= faces
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}faces
.if !empty(FACES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.faces+= faces>=1.6.1nb1
diff --git a/mail/gmime/buildlink3.mk b/mail/gmime/buildlink3.mk
index b80b9e6e78c..abff4d4e884 100644
--- a/mail/gmime/buildlink3.mk
+++ b/mail/gmime/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GMIME_BUILDLINK3_MK:= ${GMIME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gmime
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngmime}
BUILDLINK_PACKAGES+= gmime
-BUILDLINK_ORDER+= gmime
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gmime
.if !empty(GMIME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gmime+= gmime>=2.1.7
diff --git a/mail/imap-uw/buildlink3.mk b/mail/imap-uw/buildlink3.mk
index 216cf425a27..a02f1ed9900 100644
--- a/mail/imap-uw/buildlink3.mk
+++ b/mail/imap-uw/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IMAP_UW_BUILDLINK3_MK:= ${IMAP_UW_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= imap-uw
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nimap-uw}
BUILDLINK_PACKAGES+= imap-uw
-BUILDLINK_ORDER+= imap-uw
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}imap-uw
.if !empty(IMAP_UW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.imap-uw+= imap-uw>=2004
diff --git a/mail/libesmtp/buildlink3.mk b/mail/libesmtp/buildlink3.mk
index 8f1e9bfb0fd..7470a3011aa 100644
--- a/mail/libesmtp/buildlink3.mk
+++ b/mail/libesmtp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBESMTP_BUILDLINK3_MK:= ${LIBESMTP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libesmtp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibesmtp}
BUILDLINK_PACKAGES+= libesmtp
-BUILDLINK_ORDER+= libesmtp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libesmtp
.if !empty(LIBESMTP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libesmtp+= libesmtp>=1.0rc1nb1
diff --git a/mail/libetpan/buildlink3.mk b/mail/libetpan/buildlink3.mk
index a76da99afdb..7fcd9ebcf3c 100644
--- a/mail/libetpan/buildlink3.mk
+++ b/mail/libetpan/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBETPAN_BUILDLINK3_MK:= ${LIBETPAN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libetpan
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibetpan}
BUILDLINK_PACKAGES+= libetpan
-BUILDLINK_ORDER+= libetpan
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libetpan
.if !empty(LIBETPAN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libetpan+= libetpan>=0.38nb1
diff --git a/mail/libmilter/buildlink3.mk b/mail/libmilter/buildlink3.mk
index e1e37c5f294..db32e366562 100644
--- a/mail/libmilter/buildlink3.mk
+++ b/mail/libmilter/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMILTER_BUILDLINK3_MK:= ${LIBMILTER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmilter
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmilter}
BUILDLINK_PACKAGES+= libmilter
-BUILDLINK_ORDER+= libmilter
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmilter
.if !empty(LIBMILTER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.13.1
diff --git a/mail/libmilter812/buildlink3.mk b/mail/libmilter812/buildlink3.mk
index 99ad8b4bb61..ce881b4f77c 100644
--- a/mail/libmilter812/buildlink3.mk
+++ b/mail/libmilter812/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMILTER_BUILDLINK3_MK:= ${LIBMILTER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmilter
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmilter}
BUILDLINK_PACKAGES+= libmilter
-BUILDLINK_ORDER+= libmilter
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmilter
.if !empty(LIBMILTER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmilter+= libmilter>=8.12.9nb1
diff --git a/mail/libspf-alt/buildlink3.mk b/mail/libspf-alt/buildlink3.mk
index 8e16319b12c..53bc698e008 100644
--- a/mail/libspf-alt/buildlink3.mk
+++ b/mail/libspf-alt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSPF_ALT_BUILDLINK3_MK:= ${LIBSPF_ALT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libspf_alt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibspf_alt}
BUILDLINK_PACKAGES+= libspf_alt
-BUILDLINK_ORDER+= libspf_alt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libspf_alt
.if !empty(LIBSPF_ALT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libspf_alt+= libspf_alt>=0.4.0nb1
diff --git a/mail/perdition/buildlink3.mk b/mail/perdition/buildlink3.mk
index 8c9177acceb..d1689bbda05 100644
--- a/mail/perdition/buildlink3.mk
+++ b/mail/perdition/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:57 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PERDITION_BUILDLINK3_MK:= ${PERDITION_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= perdition
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nperdition}
BUILDLINK_PACKAGES+= perdition
-BUILDLINK_ORDER+= perdition
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}perdition
.if !empty(PERDITION_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.perdition+= perdition>=1.17
diff --git a/mail/squirrelmail/buildlink3.mk b/mail/squirrelmail/buildlink3.mk
index 8ac5c540f58..aa2a6fb0387 100644
--- a/mail/squirrelmail/buildlink3.mk
+++ b/mail/squirrelmail/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:58 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SQUIRRELMAIL_BUILDLINK3_MK:= ${SQUIRRELMAIL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= squirrelmail
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsquirrelmail}
BUILDLINK_PACKAGES+= squirrelmail
-BUILDLINK_ORDER+= squirrelmail
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}squirrelmail
.if !empty(SQUIRRELMAIL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.squirrelmail+= {ja-,}squirrelmail>=1.4.6
diff --git a/mail/sylpheed-claws/buildlink3.mk b/mail/sylpheed-claws/buildlink3.mk
index ffefebb39bf..6c4672978f5 100644
--- a/mail/sylpheed-claws/buildlink3.mk
+++ b/mail/sylpheed-claws/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:25 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:58 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SYLPHEED_CLAWS_BUILDLINK3_MK:= ${SYLPHEED_CLAWS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sylpheed-claws
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsylpheed-claws}
BUILDLINK_PACKAGES+= sylpheed-claws
-BUILDLINK_ORDER+= sylpheed-claws
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sylpheed-claws
.if !empty(SYLPHEED_CLAWS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sylpheed-claws+= sylpheed-claws>=0.9.7nb1
diff --git a/math/R/buildlink3.mk b/math/R/buildlink3.mk
index 02aef9a2bfd..4c63eb8dc61 100644
--- a/math/R/buildlink3.mk
+++ b/math/R/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:26 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:58 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
R_BUILDLINK3_MK:= ${R_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= R
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NR}
BUILDLINK_PACKAGES+= R
-BUILDLINK_ORDER+= R
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}R
.if !empty(R_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.R+= R>=1.7.0
diff --git a/math/blas/buildlink3.mk b/math/blas/buildlink3.mk
index d47f3c3227f..a8050cd8585 100644
--- a/math/blas/buildlink3.mk
+++ b/math/blas/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:26 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BLAS_BUILDLINK3_MK:= ${BLAS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= blas
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblas}
BUILDLINK_PACKAGES+= blas
-BUILDLINK_ORDER+= blas
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}blas
.if !empty(BLAS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.blas+= blas>=1.0nb2
diff --git a/math/cln/buildlink3.mk b/math/cln/buildlink3.mk
index 983b97e373b..711e6587202 100644
--- a/math/cln/buildlink3.mk
+++ b/math/cln/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:26 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CLN_BUILDLINK3_MK:= ${CLN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cln
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncln}
BUILDLINK_PACKAGES+= cln
-BUILDLINK_ORDER+= cln
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cln
.if !empty(CLN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cln+= cln>=1.1.6
diff --git a/math/djbfft/buildlink3.mk b/math/djbfft/buildlink3.mk
index 008ebdcaf62..8f45f62b3f5 100644
--- a/math/djbfft/buildlink3.mk
+++ b/math/djbfft/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:26 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DJBFFT_BUILDLINK3_MK:= ${DJBFFT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= djbfft
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndjbfft}
BUILDLINK_PACKAGES+= djbfft
-BUILDLINK_ORDER+= djbfft
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}djbfft
.if !empty(DJBFFT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.djbfft+= djbfft>=0.76
diff --git a/math/fftw/buildlink3.mk b/math/fftw/buildlink3.mk
index c5a36403489..354e59a612f 100644
--- a/math/fftw/buildlink3.mk
+++ b/math/fftw/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:26 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FFTW_BUILDLINK3_MK:= ${FFTW_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fftw
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftw}
BUILDLINK_PACKAGES+= fftw
-BUILDLINK_ORDER+= fftw
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fftw
.if !empty(FFTW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fftw+= fftw>=3.0
diff --git a/math/fftw2/buildlink3.mk b/math/fftw2/buildlink3.mk
index f9f58fa3e4b..1324bd49e05 100644
--- a/math/fftw2/buildlink3.mk
+++ b/math/fftw2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:26 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FFTW2_BUILDLINK3_MK:= ${FFTW2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fftw2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftw2}
BUILDLINK_PACKAGES+= fftw2
-BUILDLINK_ORDER+= fftw2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fftw2
.if !empty(FFTW2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fftw2+= fftw2>=2.1.3
diff --git a/math/fftwf/buildlink3.mk b/math/fftwf/buildlink3.mk
index 9205e9943c1..21d8e9c70c3 100644
--- a/math/fftwf/buildlink3.mk
+++ b/math/fftwf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:27 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FFTWF_BUILDLINK3_MK:= ${FFTWF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fftwf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftwf}
BUILDLINK_PACKAGES+= fftwf
-BUILDLINK_ORDER+= fftwf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fftwf
.if !empty(FFTWF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fftwf+= fftwf>=3.0
diff --git a/math/glpk/buildlink3.mk b/math/glpk/buildlink3.mk
index ef3760df4d7..5b2ce855069 100644
--- a/math/glpk/buildlink3.mk
+++ b/math/glpk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:27 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLPK_BUILDLINK3_MK:= ${GLPK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glpk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglpk}
BUILDLINK_PACKAGES+= glpk
-BUILDLINK_ORDER+= glpk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glpk
.if !empty(GLPK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glpk+= glpk>=4.8nb1
diff --git a/math/gsl/buildlink3.mk b/math/gsl/buildlink3.mk
index e7a5ff37c2f..5da3d236a3a 100644
--- a/math/gsl/buildlink3.mk
+++ b/math/gsl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:27 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSL_BUILDLINK3_MK:= ${GSL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gsl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngsl}
BUILDLINK_PACKAGES+= gsl
-BUILDLINK_ORDER+= gsl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gsl
.if !empty(GSL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gsl+= gsl>=1.4
diff --git a/math/guppi/buildlink3.mk b/math/guppi/buildlink3.mk
index 4fe54a2383f..09d21969f3b 100644
--- a/math/guppi/buildlink3.mk
+++ b/math/guppi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GUPPI_BUILDLINK3_MK:= ${GUPPI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= guppi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nguppi}
BUILDLINK_PACKAGES+= guppi
-BUILDLINK_ORDER+= guppi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}guppi
.if !empty(GUPPI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.guppi+= guppi>=0.40.3nb13
diff --git a/math/lapack/buildlink3.mk b/math/lapack/buildlink3.mk
index 20ad925970a..c5b695423a2 100644
--- a/math/lapack/buildlink3.mk
+++ b/math/lapack/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LAPACK_BUILDLINK3_MK:= ${LAPACK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lapack
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlapack}
BUILDLINK_PACKAGES+= lapack
-BUILDLINK_ORDER+= lapack
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lapack
.if !empty(LAPACK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lapack+= lapack>=20010201nb1
diff --git a/math/libffm/buildlink3.mk b/math/libffm/buildlink3.mk
index a2f38249491..324ffb514e2 100644
--- a/math/libffm/buildlink3.mk
+++ b/math/libffm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBFFM_BUILDLINK3_MK:= ${LIBFFM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libffm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibffm}
BUILDLINK_PACKAGES+= libffm
-BUILDLINK_ORDER+= libffm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libffm
.if !empty(LIBFFM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libffm+= libffm>=0.28
diff --git a/math/libmatheval/buildlink3.mk b/math/libmatheval/buildlink3.mk
index 58cbc382727..d04c45054bf 100644
--- a/math/libmatheval/buildlink3.mk
+++ b/math/libmatheval/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMATHEVAL_BUILDLINK3_MK:= ${LIBMATHEVAL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmatheval
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmatheval}
BUILDLINK_PACKAGES+= libmatheval
-BUILDLINK_ORDER+= libmatheval
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmatheval
.if !empty(LIBMATHEVAL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmatheval+= libmatheval>=1.1.0
diff --git a/math/ltm/buildlink3.mk b/math/ltm/buildlink3.mk
index 9a1d35634e8..69deca93cb0 100644
--- a/math/ltm/buildlink3.mk
+++ b/math/ltm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LTM_BUILDLINK3_MK:= ${LTM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ltm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nltm}
BUILDLINK_PACKAGES+= ltm
-BUILDLINK_ORDER+= ltm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ltm
.if !empty(LTM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ltm+= ltm>=0.30
diff --git a/math/mpfr/buildlink3.mk b/math/mpfr/buildlink3.mk
index 1d17f09eff5..46e9ff8535b 100644
--- a/math/mpfr/buildlink3.mk
+++ b/math/mpfr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MPFR_BUILDLINK3_MK:= ${MPFR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mpfr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpfr}
BUILDLINK_PACKAGES+= mpfr
-BUILDLINK_ORDER+= mpfr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mpfr
.if !empty(MPFR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mpfr+= mpfr>=2.0.3
diff --git a/math/ntl/buildlink3.mk b/math/ntl/buildlink3.mk
index 43c78087e53..dfdb67a41b6 100644
--- a/math/ntl/buildlink3.mk
+++ b/math/ntl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:28 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NTL_BUILDLINK3_MK:= ${NTL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ntl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nntl}
BUILDLINK_PACKAGES+= ntl
-BUILDLINK_ORDER+= ntl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ntl
.if !empty(NTL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ntl+= ntl>=5.3.1
diff --git a/math/octave-current/buildlink3.mk b/math/octave-current/buildlink3.mk
index 0eece9d6cd2..3dee6675b50 100644
--- a/math/octave-current/buildlink3.mk
+++ b/math/octave-current/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:10:59 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= octave-current
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noctave-current}
BUILDLINK_PACKAGES+= octave-current
-BUILDLINK_ORDER+= octave-current
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}octave-current
.if !empty(OCTAVE_CURRENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.octave-current+= octave-current>=2.1.57
diff --git a/math/octave-forge/buildlink3.mk b/math/octave-forge/buildlink3.mk
index 37801de0998..89401ff35f8 100644
--- a/math/octave-forge/buildlink3.mk
+++ b/math/octave-forge/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OCTAVE_FORGE_BUILDLINK3_MK:= ${OCTAVE_FORGE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= octave-forge
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noctave-forge}
BUILDLINK_PACKAGES+= octave-forge
-BUILDLINK_ORDER+= octave-forge
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}octave-forge
.if !empty(OCTAVE_FORGE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.octave-forge+= octave-forge>=2005.06.13
diff --git a/math/octave/buildlink3.mk b/math/octave/buildlink3.mk
index 8b4d9b6eeca..db36f74d462 100644
--- a/math/octave/buildlink3.mk
+++ b/math/octave/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OCTAVE_BUILDLINK3_MK:= ${OCTAVE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= octave
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noctave}
BUILDLINK_PACKAGES+= octave
-BUILDLINK_ORDER+= octave
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}octave
.if !empty(OCTAVE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.octave+= octave>=2.1.69
diff --git a/math/pari/buildlink3.mk b/math/pari/buildlink3.mk
index bdf8ddeb90c..164dabeafd8 100644
--- a/math/pari/buildlink3.mk
+++ b/math/pari/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PARI_BUILDLINK3_MK:= ${PARI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pari
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npari}
BUILDLINK_PACKAGES+= pari
-BUILDLINK_ORDER+= pari
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pari
.if !empty(PARI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pari+= pari>=2.1.5nb1
diff --git a/math/py-Numeric/buildlink3.mk b/math/py-Numeric/buildlink3.mk
index b9d08155448..9c143e7d4d8 100644
--- a/math/py-Numeric/buildlink3.mk
+++ b/math/py-Numeric/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_NUMERIC_BUILDLINK3_MK:= ${PY_NUMERIC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pynumeric
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npynumeric}
BUILDLINK_PACKAGES+= pynumeric
-BUILDLINK_ORDER+= pynumeric
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pynumeric
.if !empty(PY_NUMERIC_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
diff --git a/math/py-fpconst/buildlink3.mk b/math/py-fpconst/buildlink3.mk
index 1902da4305c..4dfc3428968 100644
--- a/math/py-fpconst/buildlink3.mk
+++ b/math/py-fpconst/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:10:59 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_FPCONST_BUILDLINK3_MK:= ${PY_FPCONST_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= py-fpconst
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-fpconst}
BUILDLINK_PACKAGES+= py-fpconst
-BUILDLINK_ORDER+= py-fpconst
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-fpconst
.if !empty(PY_FPCONST_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.py-fpconst+= ${PYPKGPREFIX}-fpconst>=0.7.0
diff --git a/math/py-numarray/buildlink3.mk b/math/py-numarray/buildlink3.mk
index 6aa616d05a5..1e2e25a8d12 100644
--- a/math/py-numarray/buildlink3.mk
+++ b/math/py-numarray/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_NUMARRAY_BUILDLINK3_MK:= ${PY_NUMARRAY_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pynumarray
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npynumarray}
BUILDLINK_PACKAGES+= pynumarray
-BUILDLINK_ORDER+= pynumarray
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pynumarray
.if !empty(PY_NUMARRAY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pynumarray+= ${PYPKGPREFIX}-numarray>=1.1.1
diff --git a/math/qalculate/buildlink3.mk b/math/qalculate/buildlink3.mk
index b00a63cb8eb..aa2f3de2eb9 100644
--- a/math/qalculate/buildlink3.mk
+++ b/math/qalculate/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QALCULATE_BUILDLINK3_MK:= ${QALCULATE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qalculate
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqalculate}
BUILDLINK_PACKAGES+= qalculate
-BUILDLINK_ORDER+= qalculate
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qalculate
.if !empty(QALCULATE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qalculate+= qalculate>=0.8.2
diff --git a/math/scilab/buildlink3.mk b/math/scilab/buildlink3.mk
index 1512070d9ef..c89c6a4b561 100644
--- a/math/scilab/buildlink3.mk
+++ b/math/scilab/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:00 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= scilab
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nscilab}
BUILDLINK_PACKAGES+= scilab
-BUILDLINK_ORDER+= scilab
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}scilab
.if !empty(SCILAB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.scilab+= scilab>=3.0
diff --git a/math/slatec/buildlink3.mk b/math/slatec/buildlink3.mk
index d499f1c647b..ac435ccad69 100644
--- a/math/slatec/buildlink3.mk
+++ b/math/slatec/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SLATEC_BUILDLINK3_MK:= ${SLATEC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= slatec
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nslatec}
BUILDLINK_PACKAGES+= slatec
-BUILDLINK_ORDER+= slatec
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}slatec
.if !empty(SLATEC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.slatec+= slatec>=4.1nb1
diff --git a/math/superlu/buildlink3.mk b/math/superlu/buildlink3.mk
index 0a81c6217aa..8a2d5eaba90 100644
--- a/math/superlu/buildlink3.mk
+++ b/math/superlu/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SUPERLU_BUILDLINK3_MK:= ${SUPERLU_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= superlu
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsuperlu}
BUILDLINK_PACKAGES+= superlu
-BUILDLINK_ORDER+= superlu
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}superlu
.if !empty(SUPERLU_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.superlu+= superlu>=2.0nb2
diff --git a/math/tasp-vsipl/buildlink3.mk b/math/tasp-vsipl/buildlink3.mk
index 490ea55f2d6..f6060dba78a 100644
--- a/math/tasp-vsipl/buildlink3.mk
+++ b/math/tasp-vsipl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TASP_VSIPL_BUILDLINK3_MK:= ${TASP_VSIPL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tasp-vsipl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntasp-vsipl}
BUILDLINK_PACKAGES+= tasp-vsipl
-BUILDLINK_ORDER+= tasp-vsipl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tasp-vsipl
.if !empty(TASP_VSIPL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tasp-vsipl+= tasp-vsipl>=20030710
diff --git a/math/udunits/buildlink3.mk b/math/udunits/buildlink3.mk
index 2f7e84fd788..cede744b754 100644
--- a/math/udunits/buildlink3.mk
+++ b/math/udunits/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
UDUNITS_BUILDLINK3_MK:= ${UDUNITS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= udunits
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nudunits}
BUILDLINK_PACKAGES+= udunits
-BUILDLINK_ORDER+= udunits
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}udunits
.if !empty(UDUNITS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.udunits+= udunits>=1.11.7
diff --git a/math/yorick/buildlink3.mk b/math/yorick/buildlink3.mk
index 3a8f99b7b5b..8f9b522e7f7 100644
--- a/math/yorick/buildlink3.mk
+++ b/math/yorick/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
YORICK_BUILDLINK3_MK:= ${YORICK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= yorick
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nyorick}
BUILDLINK_PACKAGES+= yorick
-BUILDLINK_ORDER+= yorick
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}yorick
.if !empty(YORICK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.yorick+= yorick>=1.5.12
diff --git a/mbone/common-mml/buildlink3.mk b/mbone/common-mml/buildlink3.mk
index db49b442cb4..80d3be17e21 100644
--- a/mbone/common-mml/buildlink3.mk
+++ b/mbone/common-mml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
COMMON_MML_BUILDLINK3_MK:= ${COMMON_MML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= common-mml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncommon-mml}
BUILDLINK_PACKAGES+= common-mml
-BUILDLINK_ORDER+= common-mml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}common-mml
.if !empty(COMMON_MML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.common-mml+= common-mml>=1.2.14
diff --git a/meta-pkgs/xfce4/buildlink3.mk b/meta-pkgs/xfce4/buildlink3.mk
index 0cd79bf6fd2..54c43d30284 100644
--- a/meta-pkgs/xfce4/buildlink3.mk
+++ b/meta-pkgs/xfce4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_BUILDLINK3_MK:= ${XFCE4_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4}
BUILDLINK_PACKAGES+= xfce4
-BUILDLINK_ORDER+= xfce4
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4
.if !empty(XFCE4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4+= xfce4>=4.2.3.1
diff --git a/misc/Addresses/buildlink3.mk b/misc/Addresses/buildlink3.mk
index 69be21cfac7..9ce366a2148 100644
--- a/misc/Addresses/buildlink3.mk
+++ b/misc/Addresses/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ADDRESSES_BUILDLINK3_MK:= ${ADDRESSES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Addresses
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NAddresses}
BUILDLINK_PACKAGES+= Addresses
-BUILDLINK_ORDER+= Addresses
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Addresses
.if !empty(ADDRESSES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Addresses+= Addresses>=0.4.5
diff --git a/misc/goffice/buildlink3.mk b/misc/goffice/buildlink3.mk
index d6f5f272441..f3d80059536 100644
--- a/misc/goffice/buildlink3.mk
+++ b/misc/goffice/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GOFFICE_BUILDLINK3_MK:= ${GOFFICE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= goffice
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngoffice}
BUILDLINK_PACKAGES+= goffice
-BUILDLINK_ORDER+= goffice
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}goffice
.if !empty(GOFFICE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.goffice+= goffice>=0.1.2
diff --git a/misc/kdepim3/buildlink3.mk b/misc/kdepim3/buildlink3.mk
index 090818a0e65..b559ef6101a 100644
--- a/misc/kdepim3/buildlink3.mk
+++ b/misc/kdepim3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDEPIM_BUILDLINK3_MK:= ${KDEPIM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdepim
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdepim}
BUILDLINK_PACKAGES+= kdepim
-BUILDLINK_ORDER+= kdepim
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdepim
.if !empty(KDEPIM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdepim+= kdepim>=3.5.0nb1
diff --git a/misc/koffice/buildlink3.mk b/misc/koffice/buildlink3.mk
index 8b9103bdcef..ccd4dc05e73 100644
--- a/misc/koffice/buildlink3.mk
+++ b/misc/koffice/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:29 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KOFFICE_BUILDLINK3_MK:= ${KOFFICE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= koffice
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkoffice}
BUILDLINK_PACKAGES+= koffice
-BUILDLINK_ORDER+= koffice
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}koffice
.if !empty(KOFFICE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.koffice?= koffice>=1.4.2nb5
diff --git a/misc/libcdio/buildlink3.mk b/misc/libcdio/buildlink3.mk
index 39ad46d1406..3a43f1df330 100644
--- a/misc/libcdio/buildlink3.mk
+++ b/misc/libcdio/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCDIO_BUILDLINK3_MK:= ${LIBCDIO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcdio
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcdio}
BUILDLINK_PACKAGES+= libcdio
-BUILDLINK_ORDER+= libcdio
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcdio
.if !empty(LIBCDIO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcdio+= libcdio>=0.65
diff --git a/misc/libutf/buildlink3.mk b/misc/libutf/buildlink3.mk
index f59bb075141..fa5025649dd 100644
--- a/misc/libutf/buildlink3.mk
+++ b/misc/libutf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBUTF_BUILDLINK3_MK:= ${LIBUTF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libutf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibutf}
BUILDLINK_PACKAGES+= libutf
-BUILDLINK_ORDER+= libutf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libutf
.if ${LIBUTF_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libutf+= libutf>=3.0
diff --git a/misc/proj/buildlink3.mk b/misc/proj/buildlink3.mk
index 8380762c49c..d1ba024123e 100644
--- a/misc/proj/buildlink3.mk
+++ b/misc/proj/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PROJ_BUILDLINK3_MK:= ${PROJ_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= proj
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nproj}
BUILDLINK_PACKAGES+= proj
-BUILDLINK_ORDER+= proj
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}proj
.if !empty(PROJ_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.proj+= proj>=4.4.7nb1
diff --git a/misc/rpm/buildlink3.mk b/misc/rpm/buildlink3.mk
index b8c61af4a29..a23c68991fe 100644
--- a/misc/rpm/buildlink3.mk
+++ b/misc/rpm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RPM_BUILDLINK3_MK:= ${RPM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rpm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrpm}
BUILDLINK_PACKAGES+= rpm
-BUILDLINK_ORDER+= rpm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rpm
.if !empty(RPM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rpm+= rpm>=2.5.4nb4
diff --git a/misc/xfce4-weather-plugin/buildlink3.mk b/misc/xfce4-weather-plugin/buildlink3.mk
index 2279015f927..036016c7664 100644
--- a/misc/xfce4-weather-plugin/buildlink3.mk
+++ b/misc/xfce4-weather-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_WEATHER_PLUGIN_BUILDLINK3_MK:= ${XFCE4_WEATHER_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-weather-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-weather-plugin}
BUILDLINK_PACKAGES+= xfce4-weather-plugin
-BUILDLINK_ORDER+= xfce4-weather-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-weather-plugin
.if !empty(XFCE4_WEATHER_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-weather-plugin+= xfce4-weather-plugin>=0.4.9
diff --git a/mk/bdb.buildlink3.mk b/mk/bdb.buildlink3.mk
index e7a33946516..d22d10406ed 100644
--- a/mk/bdb.buildlink3.mk
+++ b/mk/bdb.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bdb.buildlink3.mk,v 1.16 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: bdb.buildlink3.mk,v 1.17 2006/07/08 23:11:17 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that
# require a Berkeley DB implementation. It abstracts finding the
@@ -132,7 +132,7 @@ PKG_FAIL_REASON= \
.elif ${BDB_TYPE} == "db1"
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndb1}
BUILDLINK_PACKAGES+= db1
-BUILDLINK_ORDER+= db1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}db1
BUILDLINK_BUILTIN_MK.db1= ../../mk/db1.builtin.mk
.else
. include "${_BDB_PKGSRCDIR.${BDB_TYPE}}/buildlink3.mk"
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index 7c33469362c..8e5417d1651 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.181 2006/07/07 21:24:28 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.182 2006/07/08 23:11:17 jlam Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1072,3 +1072,7 @@ do-buildlink:
###
### END: after the barrier
###
+
+.PHONY: show-buildlink3
+show-buildlink3:
+ @${SH} ${PKGSRCDIR}/mk/buildlink3/show-buildlink3.sh ${BUILDLINK_ORDER}
diff --git a/mk/buildlink3/show-buildlink3.sh b/mk/buildlink3/show-buildlink3.sh
new file mode 100644
index 00000000000..1d2255158d2
--- /dev/null
+++ b/mk/buildlink3/show-buildlink3.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# $NetBSD: show-buildlink3.sh,v 1.1 2006/07/08 23:11:17 jlam Exp $
+#
+# This script is a helper for the show-buildlink3 target and outputs
+# the arguments, each on a new line with any leading "+" signs replaced
+# with four spaces.
+#
+
+while test $# -gt 0; do
+ pkg="$1"
+ pkg="${pkg#+}"
+ prefix=
+ stripped=no
+ while test $stripped = no; do
+ case $pkg in
+ +*) prefix=" $prefix"; pkg="${pkg#+}"; stripped=no ;;
+ *) stripped=yes ;;
+ esac
+ done
+ echo "$prefix$pkg"
+ shift
+done
diff --git a/mk/dlopen.buildlink3.mk b/mk/dlopen.buildlink3.mk
index 4f52460ef29..4f9f3ce581c 100644
--- a/mk/dlopen.buildlink3.mk
+++ b/mk/dlopen.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: dlopen.buildlink3.mk,v 1.11 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: dlopen.buildlink3.mk,v 1.12 2006/07/08 23:11:17 jlam Exp $
#
# This Makefile fragment is included by package Makefiles and
# buildlink3.mk files for the packages that use dlopen().
@@ -18,7 +18,7 @@ DL_AUTO_VARS?= no
.if !empty(USE_BUILTIN.dl:M[yY][eE][sS])
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndl}
BUILDLINK_PACKAGES+= dl
-BUILDLINK_ORDER+= dl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dl
BUILDLINK_BUILTIN_MK.dl= ../../mk/dlopen.builtin.mk
BUILDLINK_AUTO_VARS.dl= ${DL_AUTO_VARS}
.elif !empty(MACHINE_PLATFORM:MDarwin-[56].*)
diff --git a/mk/oss.buildlink3.mk b/mk/oss.buildlink3.mk
index 3b7e16fd43b..f05f8cc51ca 100644
--- a/mk/oss.buildlink3.mk
+++ b/mk/oss.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: oss.buildlink3.mk,v 1.5 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: oss.buildlink3.mk,v 1.6 2006/07/08 23:11:17 jlam Exp $
#
# This Makefile fragment is included by packages that require an Open Sound
# System (OSS) implementation. After inclusion of this file, the following
@@ -30,7 +30,7 @@ OSS_TYPE= ${_OSS_TYPE}
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Noss}
BUILDLINK_PACKAGES+= oss
-BUILDLINK_ORDER+= oss
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}oss
BUILDLINK_BUILTIN_MK.oss= ../../mk/oss.builtin.mk
.if !empty(OSS_BUILDLINK3_MK:M+)
diff --git a/mk/pam.buildlink3.mk b/mk/pam.buildlink3.mk
index c48f5e10822..85131bf407d 100644
--- a/mk/pam.buildlink3.mk
+++ b/mk/pam.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pam.buildlink3.mk,v 1.6 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: pam.buildlink3.mk,v 1.7 2006/07/08 23:11:17 jlam Exp $
#
# This Makefile fragment is meant to be included by packages that
# require a PAM implementation. pam.buildlink3.mk will:
@@ -86,5 +86,5 @@ PKG_FAIL_REASON= \
.elif ${PAM_TYPE} == "solaris-pam"
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsolaris-pam}
BUILDLINK_PACKAGES+= solaris-pam
-BUILDLINK_ORDER+= solaris-pam
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}solaris-pam
.endif
diff --git a/mk/pthread.buildlink3.mk b/mk/pthread.buildlink3.mk
index 9614142b7c1..a7b53cc4de9 100644
--- a/mk/pthread.buildlink3.mk
+++ b/mk/pthread.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pthread.buildlink3.mk,v 1.23 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: pthread.buildlink3.mk,v 1.24 2006/07/08 23:11:17 jlam Exp $
#
# The pthreads strategy for pkgsrc is to "bless" a particular pthread
# package as the Official Pthread Replacement (OPR). The following
@@ -111,7 +111,7 @@ PTHREAD_AUTO_VARS?= no
.if ${PTHREAD_TYPE} == "native"
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npthread}
BUILDLINK_PACKAGES+= pthread
-BUILDLINK_ORDER+= pthread
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pthread
BUILDLINK_BUILTIN_MK.pthread= ../../mk/pthread.builtin.mk
BUILDLINK_AUTO_VARS.pthread?= ${PTHREAD_AUTO_VARS}
.elif ${PTHREAD_TYPE} == "${_PKG_PTHREAD}"
diff --git a/multimedia/dirac/buildlink3.mk b/multimedia/dirac/buildlink3.mk
index 1d7fdf5a77f..bef1733237c 100644
--- a/multimedia/dirac/buildlink3.mk
+++ b/multimedia/dirac/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:00 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DIRAC_BUILDLINK3_MK:= ${DIRAC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dirac
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndirac}
BUILDLINK_PACKAGES+= dirac
-BUILDLINK_ORDER+= dirac
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dirac
.if !empty(DIRAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dirac+= dirac>=0.2.0
diff --git a/multimedia/ffmpeg/buildlink3.mk b/multimedia/ffmpeg/buildlink3.mk
index 2d51652acd7..d6ab5cd91ae 100644
--- a/multimedia/ffmpeg/buildlink3.mk
+++ b/multimedia/ffmpeg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FFMPEG_BUILDLINK3_MK:= ${FFMPEG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ffmpeg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nffmpeg}
BUILDLINK_PACKAGES+= ffmpeg
-BUILDLINK_ORDER+= ffmpeg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ffmpeg
.if !empty(FFMPEG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ffmpeg+= ffmpeg>=0.4.9pre1
diff --git a/multimedia/gnome2-media/buildlink3.mk b/multimedia/gnome2-media/buildlink3.mk
index e55cee93590..d34a4e5c500 100644
--- a/multimedia/gnome2-media/buildlink3.mk
+++ b/multimedia/gnome2-media/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_MEDIA_BUILDLINK3_MK:= ${GNOME_MEDIA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-media
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-media}
BUILDLINK_PACKAGES+= gnome-media
-BUILDLINK_ORDER+= gnome-media
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-media
.if !empty(GNOME_MEDIA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-media+= gnome-media>=2.12.0nb1
diff --git a/multimedia/gst-plugins0.10-bad/buildlink3.mk b/multimedia/gst-plugins0.10-bad/buildlink3.mk
index 9cd5f4401b2..a410345c436 100644
--- a/multimedia/gst-plugins0.10-bad/buildlink3.mk
+++ b/multimedia/gst-plugins0.10-bad/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.10_BAD_BUILDLINK3_MK:= ${GST_PLUGINS0.10_BAD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.10-bad
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.10-bad}
BUILDLINK_PACKAGES+= gst-plugins0.10-bad
-BUILDLINK_ORDER+= gst-plugins0.10-bad
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.10-bad
.if !empty(GST_PLUGINS0.10_BAD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.10-bad+= gst-plugins0.10-bad>=0.10.3
diff --git a/multimedia/gst-plugins0.10-base/buildlink3.mk b/multimedia/gst-plugins0.10-base/buildlink3.mk
index 14e4626402c..3e9277f91e3 100644
--- a/multimedia/gst-plugins0.10-base/buildlink3.mk
+++ b/multimedia/gst-plugins0.10-base/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.10_BASE_BUILDLINK3_MK:= ${GST_PLUGINS0.10_BASE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.10-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.10-base}
BUILDLINK_PACKAGES+= gst-plugins0.10-base
-BUILDLINK_ORDER+= gst-plugins0.10-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.10-base
.if !empty(GST_PLUGINS0.10_BASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.10-base+= gst-plugins0.10-base>=0.10.1
diff --git a/multimedia/gst-plugins0.10-good/buildlink3.mk b/multimedia/gst-plugins0.10-good/buildlink3.mk
index 280c32fde9b..5172a4c7cec 100644
--- a/multimedia/gst-plugins0.10-good/buildlink3.mk
+++ b/multimedia/gst-plugins0.10-good/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.10_GOOD_BUILDLINK3_MK:= ${GST_PLUGINS0.10_GOOD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.10-good
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.10-good}
BUILDLINK_PACKAGES+= gst-plugins0.10-good
-BUILDLINK_ORDER+= gst-plugins0.10-good
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.10-good
.if !empty(GST_PLUGINS0.10_GOOD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.10-good+= gst-plugins0.10-good>=0.10.1
diff --git a/multimedia/gst-plugins0.10-ugly/buildlink3.mk b/multimedia/gst-plugins0.10-ugly/buildlink3.mk
index 267c0fc2ed3..53581113e29 100644
--- a/multimedia/gst-plugins0.10-ugly/buildlink3.mk
+++ b/multimedia/gst-plugins0.10-ugly/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.10_UGLY_BUILDLINK3_MK:= ${GST_PLUGINS0.10_UGLY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.10-ugly
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.10-ugly}
BUILDLINK_PACKAGES+= gst-plugins0.10-ugly
-BUILDLINK_ORDER+= gst-plugins0.10-ugly
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.10-ugly
.if !empty(GST_PLUGINS0.10_UGLY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.10-ugly+= gst-plugins0.10-ugly>=0.10.3
diff --git a/multimedia/gst-plugins0.8/buildlink3.mk b/multimedia/gst-plugins0.8/buildlink3.mk
index 7442bae4706..b0d0407a8c6 100644
--- a/multimedia/gst-plugins0.8/buildlink3.mk
+++ b/multimedia/gst-plugins0.8/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.8_BUILDLINK3_MK:= ${GST_PLUGINS0.8_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.8
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.8}
BUILDLINK_PACKAGES+= gst-plugins0.8
-BUILDLINK_ORDER+= gst-plugins0.8
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.8
.if !empty(GST_PLUGINS0.8_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.8+= gst-plugins0.8>=0.8.11
diff --git a/multimedia/gstreamer0.10/buildlink3.mk b/multimedia/gstreamer0.10/buildlink3.mk
index b4c1ae04541..4582826f2d8 100644
--- a/multimedia/gstreamer0.10/buildlink3.mk
+++ b/multimedia/gstreamer0.10/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSTREAMER0.10_BUILDLINK3_MK:= ${GSTREAMER0.10_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gstreamer0.10
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngstreamer0.10}
BUILDLINK_PACKAGES+= gstreamer0.10
-BUILDLINK_ORDER+= gstreamer0.10
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gstreamer0.10
.if !empty(GSTREAMER0.10_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gstreamer0.10+= gstreamer0.10>=0.10.1
diff --git a/multimedia/gstreamer0.8/buildlink3.mk b/multimedia/gstreamer0.8/buildlink3.mk
index 7fc433ba118..494eec9efdc 100644
--- a/multimedia/gstreamer0.8/buildlink3.mk
+++ b/multimedia/gstreamer0.8/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSTREAMER0.8_BUILDLINK3_MK:= ${GSTREAMER0.8_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gstreamer0.8
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngstreamer0.8}
BUILDLINK_PACKAGES+= gstreamer0.8
-BUILDLINK_ORDER+= gstreamer0.8
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gstreamer0.8
.if !empty(GSTREAMER0.8_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gstreamer0.8+= gstreamer0.8>=0.8.11
diff --git a/multimedia/kdemultimedia3/buildlink3.mk b/multimedia/kdemultimedia3/buildlink3.mk
index 1235d60cd2e..76188814cf8 100644
--- a/multimedia/kdemultimedia3/buildlink3.mk
+++ b/multimedia/kdemultimedia3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDEMULTIMEDIA_BUILDLINK3_MK:= ${KDEMULTIMEDIA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdemultimedia
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdemultimedia}
BUILDLINK_PACKAGES+= kdemultimedia
-BUILDLINK_ORDER+= kdemultimedia
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdemultimedia
.if !empty(KDEMULTIMEDIA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdemultimedia+= kdemultimedia>=3.5.0nb2
diff --git a/multimedia/libassetml/buildlink3.mk b/multimedia/libassetml/buildlink3.mk
index 6ea75deab33..3cc771e946f 100644
--- a/multimedia/libassetml/buildlink3.mk
+++ b/multimedia/libassetml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBASSETML_BUILDLINK3_MK:= ${LIBASSETML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libassetml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibassetml}
BUILDLINK_PACKAGES+= libassetml
-BUILDLINK_ORDER+= libassetml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libassetml
.if !empty(LIBASSETML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libassetml+= libassetml>=1.2.1
diff --git a/multimedia/libdv/buildlink3.mk b/multimedia/libdv/buildlink3.mk
index 9fbe53c95cb..7cdc76ab588 100644
--- a/multimedia/libdv/buildlink3.mk
+++ b/multimedia/libdv/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:30 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDV_BUILDLINK3_MK:= ${LIBDV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdv
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdv}
BUILDLINK_PACKAGES+= libdv
-BUILDLINK_ORDER+= libdv
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdv
.if !empty(LIBDV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdv+= libdv>=0.102
diff --git a/multimedia/libdvbpsi/buildlink3.mk b/multimedia/libdvbpsi/buildlink3.mk
index 2140c7e59af..c492e1d0a54 100644
--- a/multimedia/libdvbpsi/buildlink3.mk
+++ b/multimedia/libdvbpsi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDVBPSI_BUILDLINK3_MK:= ${LIBDVBPSI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdvbpsi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvbpsi}
BUILDLINK_PACKAGES+= libdvbpsi
-BUILDLINK_ORDER+= libdvbpsi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdvbpsi
.if !empty(LIBDVBPSI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdvbpsi+= libdvbpsi>=0.1.3
diff --git a/multimedia/libdvdcss/buildlink3.mk b/multimedia/libdvdcss/buildlink3.mk
index f216aacc241..548a5198bcf 100644
--- a/multimedia/libdvdcss/buildlink3.mk
+++ b/multimedia/libdvdcss/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDVDCSS_BUILDLINK3_MK:= ${LIBDVDCSS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdvdcss
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdcss}
BUILDLINK_PACKAGES+= libdvdcss
-BUILDLINK_ORDER+= libdvdcss
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdvdcss
.if !empty(LIBDVDCSS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdvdcss+= libdvdcss>=1.2.4
diff --git a/multimedia/libdvdnav/buildlink3.mk b/multimedia/libdvdnav/buildlink3.mk
index a7338d3847b..18809ba31f9 100644
--- a/multimedia/libdvdnav/buildlink3.mk
+++ b/multimedia/libdvdnav/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDVDNAV_BUILDLINK3_MK:= ${LIBDVDNAV_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdvdnav
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdnav}
BUILDLINK_PACKAGES+= libdvdnav
-BUILDLINK_ORDER+= libdvdnav
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdvdnav
.if !empty(LIBDVDNAV_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdvdnav+= libdvdnav>=0.1.9
diff --git a/multimedia/libdvdplay/buildlink3.mk b/multimedia/libdvdplay/buildlink3.mk
index 888c2d232f3..68f4471f4a2 100644
--- a/multimedia/libdvdplay/buildlink3.mk
+++ b/multimedia/libdvdplay/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDVDPLAY_BUILDLINK3_MK:= ${LIBDVDPLAY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdvdplay
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdplay}
BUILDLINK_PACKAGES+= libdvdplay
-BUILDLINK_ORDER+= libdvdplay
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdvdplay
.if !empty(LIBDVDPLAY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdvdplay+= libdvdplay>=1.0.1
diff --git a/multimedia/libdvdread/buildlink3.mk b/multimedia/libdvdread/buildlink3.mk
index bde2fe428c4..1671de61830 100644
--- a/multimedia/libdvdread/buildlink3.mk
+++ b/multimedia/libdvdread/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:01 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDVDREAD_BUILDLINK3_MK:= ${LIBDVDREAD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdvdread
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdread}
BUILDLINK_PACKAGES+= libdvdread
-BUILDLINK_ORDER+= libdvdread
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdvdread
.if !empty(LIBDVDREAD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdvdread+= libdvdread>=0.9.4
diff --git a/multimedia/libflash/buildlink3.mk b/multimedia/libflash/buildlink3.mk
index 045d9b1a66a..6a89dac49e4 100644
--- a/multimedia/libflash/buildlink3.mk
+++ b/multimedia/libflash/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBFLASH_BUILDLINK3_MK:= ${LIBFLASH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libflash
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibflash}
BUILDLINK_PACKAGES+= libflash
-BUILDLINK_ORDER+= libflash
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libflash
.if !empty(LIBFLASH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libflash+= libflash>=0.4.10nb4
diff --git a/multimedia/libmatroska/buildlink3.mk b/multimedia/libmatroska/buildlink3.mk
index 2cab4066745..0df84b8775d 100644
--- a/multimedia/libmatroska/buildlink3.mk
+++ b/multimedia/libmatroska/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:02 jlam Exp $
#
# This Makefile fragment is included by packages that use libmatroska.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= libmatroska
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmatroska}
BUILDLINK_PACKAGES+= libmatroska
-BUILDLINK_ORDER+= libmatroska
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmatroska
.if !empty(LIBMATROSKA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmatroska+= libmatroska>=0.8.0
diff --git a/multimedia/libmpeg2/buildlink3.mk b/multimedia/libmpeg2/buildlink3.mk
index b72c930ea1e..dc9aa0d7afd 100644
--- a/multimedia/libmpeg2/buildlink3.mk
+++ b/multimedia/libmpeg2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMPEG2_BUILDLINK3_MK:= ${LIBMPEG2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmpeg2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpeg2}
BUILDLINK_PACKAGES+= libmpeg2
-BUILDLINK_ORDER+= libmpeg2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmpeg2
.if !empty(LIBMPEG2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmpeg2+= libmpeg2>=0.4.0
diff --git a/multimedia/libmpeg3/buildlink3.mk b/multimedia/libmpeg3/buildlink3.mk
index c73ac133adc..16dcddbe31e 100644
--- a/multimedia/libmpeg3/buildlink3.mk
+++ b/multimedia/libmpeg3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMPEG3_BUILDLINK3_MK:= ${LIBMPEG3_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmpeg3
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmpeg3}
BUILDLINK_PACKAGES+= libmpeg3
-BUILDLINK_ORDER+= libmpeg3
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmpeg3
.if !empty(LIBMPEG3_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmpeg3+= libmpeg3>=1.3nb4
diff --git a/multimedia/libogg/buildlink3.mk b/multimedia/libogg/buildlink3.mk
index 0ed001c7ca4..b50c4eb78ac 100644
--- a/multimedia/libogg/buildlink3.mk
+++ b/multimedia/libogg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:02 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= libogg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibogg}
BUILDLINK_PACKAGES+= libogg
-BUILDLINK_ORDER+= libogg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libogg
.if !empty(LIBOGG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libogg+= libogg>=1.1
diff --git a/multimedia/libtheora/buildlink3.mk b/multimedia/libtheora/buildlink3.mk
index 412aa586dfa..a3eb6675c97 100644
--- a/multimedia/libtheora/buildlink3.mk
+++ b/multimedia/libtheora/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTHEORA_BUILDLINK3_MK:= ${LIBTHEORA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtheora
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtheora}
BUILDLINK_PACKAGES+= libtheora
-BUILDLINK_ORDER+= libtheora
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtheora
.if !empty(LIBTHEORA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtheora+= libtheora>=1.0alpha3
diff --git a/multimedia/ming/buildlink3.mk b/multimedia/ming/buildlink3.mk
index 9c90aca9c8e..f010fd04c90 100644
--- a/multimedia/ming/buildlink3.mk
+++ b/multimedia/ming/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MING_BUILDLINK3_MK:= ${MING_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ming
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nming}
BUILDLINK_PACKAGES+= ming
-BUILDLINK_ORDER+= ming
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ming
.if !empty(MING_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ming+= ming>=0.2
diff --git a/multimedia/mjpegtools/buildlink3.mk b/multimedia/mjpegtools/buildlink3.mk
index 33789134854..29b4512ac78 100644
--- a/multimedia/mjpegtools/buildlink3.mk
+++ b/multimedia/mjpegtools/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MJPEGTOOLS_BUILDLINK3_MK:= ${MJPEGTOOLS_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= mjpegtools
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmjpegtools}
BUILDLINK_PACKAGES+= mjpegtools
-BUILDLINK_ORDER+= mjpegtools
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mjpegtools
.if !empty(MJPEGTOOLS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mjpegtools+= mjpegtools>=1.8.0
diff --git a/multimedia/mpeg-lib/buildlink3.mk b/multimedia/mpeg-lib/buildlink3.mk
index 2daefc1a7f3..04c2457df0b 100644
--- a/multimedia/mpeg-lib/buildlink3.mk
+++ b/multimedia/mpeg-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MPEG_BUILDLINK3_MK:= ${MPEG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mpeg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpeg}
BUILDLINK_PACKAGES+= mpeg
-BUILDLINK_ORDER+= mpeg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mpeg
.if !empty(MPEG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mpeg+= mpeg>=1.3.1
diff --git a/multimedia/mpeg4ip/buildlink3.mk b/multimedia/mpeg4ip/buildlink3.mk
index 823b95eee40..ebd06793071 100644
--- a/multimedia/mpeg4ip/buildlink3.mk
+++ b/multimedia/mpeg4ip/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MPEG4IP_BUILDLINK3_MK:= ${MPEG4IP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mpeg4ip
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpeg4ip}
BUILDLINK_PACKAGES+= mpeg4ip
-BUILDLINK_ORDER+= mpeg4ip
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mpeg4ip
.if !empty(MPEG4IP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mpeg4ip+= mpeg4ip>=1.4.1
diff --git a/multimedia/ogle/buildlink3.mk b/multimedia/ogle/buildlink3.mk
index 48e63517ca4..a39a90bd232 100644
--- a/multimedia/ogle/buildlink3.mk
+++ b/multimedia/ogle/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OGLE_BUILDLINK3_MK:= ${OGLE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ogle
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nogle}
BUILDLINK_PACKAGES+= ogle
-BUILDLINK_ORDER+= ogle
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ogle
.if !empty(OGLE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ogle+= ogle>=0.9.2
diff --git a/multimedia/openquicktime/buildlink3.mk b/multimedia/openquicktime/buildlink3.mk
index a6b0e3a6ec1..b55568b5258 100644
--- a/multimedia/openquicktime/buildlink3.mk
+++ b/multimedia/openquicktime/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENQUICKTIME_BUILDLINK3_MK:= ${OPENQUICKTIME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openquicktime
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenquicktime}
BUILDLINK_PACKAGES+= openquicktime
-BUILDLINK_ORDER+= openquicktime
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openquicktime
.if !empty(OPENQUICKTIME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openquicktime+= openquicktime>=1.0nb2
diff --git a/multimedia/smpeg/buildlink3.mk b/multimedia/smpeg/buildlink3.mk
index ebed1eb4454..9a7c8ea5787 100644
--- a/multimedia/smpeg/buildlink3.mk
+++ b/multimedia/smpeg/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPMEG_BUILDLINK3_MK:= ${SPMEG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= smpeg
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsmpeg}
BUILDLINK_PACKAGES+= smpeg
-BUILDLINK_ORDER+= smpeg
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}smpeg
.if !empty(SPMEG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.smpeg+= smpeg>=0.4.4nb3
diff --git a/multimedia/swfdec/buildlink3.mk b/multimedia/swfdec/buildlink3.mk
index 2dcd2fd0454..649b1a1c476 100644
--- a/multimedia/swfdec/buildlink3.mk
+++ b/multimedia/swfdec/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SWFDEC_BUILDLINK3_MK:= ${SWFDEC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= swfdec
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nswfdec}
BUILDLINK_PACKAGES+= swfdec
-BUILDLINK_ORDER+= swfdec
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}swfdec
.if !empty(SWFDEC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.swfdec+= swfdec>=0.2.2
diff --git a/multimedia/totem/buildlink3.mk b/multimedia/totem/buildlink3.mk
index 009a54fb914..fffb7fe00ea 100644
--- a/multimedia/totem/buildlink3.mk
+++ b/multimedia/totem/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TOTEM_BUILDLINK3_MK:= ${TOTEM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= totem
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntotem}
BUILDLINK_PACKAGES+= totem
-BUILDLINK_ORDER+= totem
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}totem
.if !empty(TOTEM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.totem+= {totem,totem-xine}>=1.4.0
diff --git a/multimedia/vlc/buildlink3.mk b/multimedia/vlc/buildlink3.mk
index a6577b56076..b3ced9ab969 100644
--- a/multimedia/vlc/buildlink3.mk
+++ b/multimedia/vlc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:31 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:02 jlam Exp $
#
# This Makefile fragment is included by packages that use vlc.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= vlc
.if !empty(VLC_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= vlc
-BUILDLINK_ORDER+= vlc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vlc
BUILDLINK_API_DEPENDS.vlc?= vlc>=0.7.1
BUILDLINK_ABI_DEPENDS.vlc?= vlc>=0.7.2nb15
BUILDLINK_PKGSRCDIR.vlc?= ../../multimedia/vlc
diff --git a/multimedia/vlc08/buildlink3.mk b/multimedia/vlc08/buildlink3.mk
index cf4e4d2e2eb..8d98e46e7a1 100644
--- a/multimedia/vlc08/buildlink3.mk
+++ b/multimedia/vlc08/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:11:02 jlam Exp $
#
# This Makefile fragment is included by packages that use vlc.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= vlc
.if !empty(VLC_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= vlc
-BUILDLINK_ORDER+= vlc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vlc
BUILDLINK_API_DEPENDS.vlc?= vlc>=0.7.1
BUILDLINK_ABI_DEPENDS.vlc?= vlc>=0.8.5nb4
BUILDLINK_PKGSRCDIR.vlc?= ../../multimedia/vlc
diff --git a/multimedia/x264-devel/buildlink3.mk b/multimedia/x264-devel/buildlink3.mk
index 78bd6075f12..86d4b4a6f23 100644
--- a/multimedia/x264-devel/buildlink3.mk
+++ b/multimedia/x264-devel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPMETHOD.x264-devel?= build
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= x264-devel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nx264-devel}
BUILDLINK_PACKAGES+= x264-devel
-BUILDLINK_ORDER+= x264-devel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}x264-devel
.if !empty(X264_DEVEL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.x264-devel+= x264-devel>=20060127
diff --git a/multimedia/xine-lib/buildlink3.mk b/multimedia/xine-lib/buildlink3.mk
index 94d1d493ddd..55c597dd6a6 100644
--- a/multimedia/xine-lib/buildlink3.mk
+++ b/multimedia/xine-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XINE_LIB_BUILDLINK3_MK:= ${XINE_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xine-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxine-lib}
BUILDLINK_PACKAGES+= xine-lib
-BUILDLINK_ORDER+= xine-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xine-lib
.if !empty(XINE_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xine-lib+= xine-lib>=1rc3c
diff --git a/multimedia/xvidcore/buildlink3.mk b/multimedia/xvidcore/buildlink3.mk
index 30f117746db..7c36401226f 100644
--- a/multimedia/xvidcore/buildlink3.mk
+++ b/multimedia/xvidcore/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XVIDCORE_BUILDLINK3_MK:= ${XVIDCORE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xvidcore
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxvidcore}
BUILDLINK_PACKAGES+= xvidcore
-BUILDLINK_ORDER+= xvidcore
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xvidcore
.if !empty(XVIDCORE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xvidcore+= xvidcore>=1.0.0
diff --git a/net/GeoIP/buildlink3.mk b/net/GeoIP/buildlink3.mk
index 048a24c4ae0..c7edfc62a11 100644
--- a/net/GeoIP/buildlink3.mk
+++ b/net/GeoIP/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GEOIP_BUILDLINK3_MK:= ${GEOIP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= GeoIP
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGeoIP}
BUILDLINK_PACKAGES+= GeoIP
-BUILDLINK_ORDER+= GeoIP
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GeoIP
.if !empty(GEOIP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.GeoIP+= GeoIP>=1.3.1
diff --git a/net/ORBit/buildlink3.mk b/net/ORBit/buildlink3.mk
index d5dfcbfc602..f8e1b664837 100644
--- a/net/ORBit/buildlink3.mk
+++ b/net/ORBit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ORBIT_BUILDLINK3_MK:= ${ORBIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ORBit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NORBit}
BUILDLINK_PACKAGES+= ORBit
-BUILDLINK_ORDER+= ORBit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ORBit
.if !empty(ORBIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ORBit+= ORBit>=0.5.15nb5
diff --git a/net/ORBit2/buildlink3.mk b/net/ORBit2/buildlink3.mk
index c2b7119738d..6be97415007 100644
--- a/net/ORBit2/buildlink3.mk
+++ b/net/ORBit2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:02 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ORBIT2_BUILDLINK3_MK:= ${ORBIT2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ORBit2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NORBit2}
BUILDLINK_PACKAGES+= ORBit2
-BUILDLINK_ORDER+= ORBit2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ORBit2
.if !empty(ORBIT2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ORBit2+= ORBit2>=2.12.0
diff --git a/net/SDL_net/buildlink3.mk b/net/SDL_net/buildlink3.mk
index e000742acb6..192ba042822 100644
--- a/net/SDL_net/buildlink3.mk
+++ b/net/SDL_net/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_NET_BUILDLINK3_MK:= ${SDL_NET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= SDL_net
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NSDL_net}
BUILDLINK_PACKAGES+= SDL_net
-BUILDLINK_ORDER+= SDL_net
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}SDL_net
.if !empty(SDL_NET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.SDL_net+= SDL_net>=1.2.5nb1
diff --git a/net/adns/buildlink3.mk b/net/adns/buildlink3.mk
index 1c7cb67f10b..2eddc2a2cef 100644
--- a/net/adns/buildlink3.mk
+++ b/net/adns/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ADNS_BUILDLINK3_MK:= ${ADNS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= adns
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nadns}
BUILDLINK_PACKAGES+= adns
-BUILDLINK_ORDER+= adns
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}adns
.if !empty(ADNS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.adns+= adns>=1.0
diff --git a/net/bind9/buildlink3.mk b/net/bind9/buildlink3.mk
index 23f3ddf8904..1d1222dbc5f 100644
--- a/net/bind9/buildlink3.mk
+++ b/net/bind9/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BIND_BUILDLINK3_MK:= ${BIND_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= bind
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbind}
BUILDLINK_PACKAGES+= bind
-BUILDLINK_ORDER+= bind
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bind
.if !empty(BIND_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bind+= bind>=9.2.2
diff --git a/net/boinc3-libs/buildlink3.mk b/net/boinc3-libs/buildlink3.mk
index 0fd93d73682..8b7f7b9761b 100644
--- a/net/boinc3-libs/buildlink3.mk
+++ b/net/boinc3-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOINC_LIBS_BUILDLINK3_MK:= ${BOINC_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= boinclibs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nboinclibs}
BUILDLINK_PACKAGES+= boinclibs
-BUILDLINK_ORDER+= boinclibs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}boinclibs
.if !empty(BOINC_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.boinclibs+= boinc3-libs>=3.19.20040714
diff --git a/net/dante/buildlink3.mk b/net/dante/buildlink3.mk
index dac936c3cce..c3497541170 100644
--- a/net/dante/buildlink3.mk
+++ b/net/dante/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DANTE_BUILDLINK3_MK:= ${DANTE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dante
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndante}
BUILDLINK_PACKAGES+= dante
-BUILDLINK_ORDER+= dante
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dante
.if !empty(DANTE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dante+= dante>=1.1.13
diff --git a/net/freewais-sf/buildlink3.mk b/net/freewais-sf/buildlink3.mk
index 19616bfba88..e146b6d8ab8 100644
--- a/net/freewais-sf/buildlink3.mk
+++ b/net/freewais-sf/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FREEWAIS_SF_BUILDLINK3_MK:= ${FREEWAIS_SF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= freewais-sf
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfreewais-sf}
BUILDLINK_PACKAGES+= freewais-sf
-BUILDLINK_ORDER+= freewais-sf
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}freewais-sf
.if !empty(FREEWAIS_SF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.freewais-sf+= freewais-sf>=2.2.12
diff --git a/net/gift/buildlink3.mk b/net/gift/buildlink3.mk
index b3850afdb82..dc145bf5cc9 100644
--- a/net/gift/buildlink3.mk
+++ b/net/gift/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GIFT_BUILDLINK3_MK:= ${GIFT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gift
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngift}
BUILDLINK_PACKAGES+= gift
-BUILDLINK_ORDER+= gift
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gift
.if !empty(GIFT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gift+= gift>=0.11.6
diff --git a/net/gnet/buildlink3.mk b/net/gnet/buildlink3.mk
index b54f0165ed8..405514de3be 100644
--- a/net/gnet/buildlink3.mk
+++ b/net/gnet/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNET_BUILDLINK3_MK:= ${GNET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnet}
BUILDLINK_PACKAGES+= gnet
-BUILDLINK_ORDER+= gnet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnet
.if !empty(GNET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnet+= gnet>=2.0.3nb1
diff --git a/net/gnet1/buildlink3.mk b/net/gnet1/buildlink3.mk
index 40d84165976..c8a485ac1ba 100644
--- a/net/gnet1/buildlink3.mk
+++ b/net/gnet1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNET1_BUILDLINK3_MK:= ${GNET1_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnet1
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnet1}
BUILDLINK_PACKAGES+= gnet1
-BUILDLINK_ORDER+= gnet1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnet1
.if !empty(GNET1_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnet1+= gnet1>=1.1.8nb2
diff --git a/net/hesiod/buildlink3.mk b/net/hesiod/buildlink3.mk
index 03848c71138..93cc6b416b1 100644
--- a/net/hesiod/buildlink3.mk
+++ b/net/hesiod/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HESIOD_BUILDLINK3_MK:= ${HESIOD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= hesiod
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhesiod}
BUILDLINK_PACKAGES+= hesiod
-BUILDLINK_ORDER+= hesiod
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hesiod
.if !empty(HESIOD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.hesiod+= hesiod>=3.0.2
diff --git a/net/howl/buildlink3.mk b/net/howl/buildlink3.mk
index cab4c8b544e..ad053395c05 100644
--- a/net/howl/buildlink3.mk
+++ b/net/howl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:32 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HOWL_BUILDLINK3_MK:= ${HOWL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= howl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhowl}
BUILDLINK_PACKAGES+= howl
-BUILDLINK_ORDER+= howl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}howl
.if !empty(HOWL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.howl+= howl>=0.9.5
diff --git a/net/kdenetwork3/buildlink3.mk b/net/kdenetwork3/buildlink3.mk
index f443745d233..b6b5a49909a 100644
--- a/net/kdenetwork3/buildlink3.mk
+++ b/net/kdenetwork3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDENETWORK_BUILDLINK3_MK:= ${KDENETWORK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdenetwork
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdenetwork}
BUILDLINK_PACKAGES+= kdenetwork
-BUILDLINK_ORDER+= kdenetwork
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdenetwork
.if !empty(KDENETWORK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdenetwork+= kdenetwork>=3.5.0nb1
diff --git a/net/libIDL/buildlink3.mk b/net/libIDL/buildlink3.mk
index ace870ff893..ab0ee88b361 100644
--- a/net/libIDL/buildlink3.mk
+++ b/net/libIDL/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBIDL_BUILDLINK3_MK:= ${LIBIDL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libIDL
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NlibIDL}
BUILDLINK_PACKAGES+= libIDL
-BUILDLINK_ORDER+= libIDL
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libIDL
.if !empty(LIBIDL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libIDL+= libIDL>=0.8.3nb1
diff --git a/net/libares/buildlink3.mk b/net/libares/buildlink3.mk
index 301cbb93197..e96d2cc7414 100644
--- a/net/libares/buildlink3.mk
+++ b/net/libares/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBARES_BUILDLINK3_MK:= ${LIBARES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libares
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibares}
BUILDLINK_PACKAGES+= libares
-BUILDLINK_ORDER+= libares
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libares
.include "../../mk/bsd.prefs.mk"
diff --git a/net/libcares/buildlink3.mk b/net/libcares/buildlink3.mk
index 1b6d53e18cc..149d6c33ca2 100644
--- a/net/libcares/buildlink3.mk
+++ b/net/libcares/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCARES_BUILDLINK3_MK:= ${LIBCARES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcares
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcares}
BUILDLINK_PACKAGES+= libcares
-BUILDLINK_ORDER+= libcares
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcares
.if !empty(LIBCARES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcares+= libcares>=1.3.0
diff --git a/net/libdnet/buildlink3.mk b/net/libdnet/buildlink3.mk
index fa516eb4e10..2fd291e8cbd 100644
--- a/net/libdnet/buildlink3.mk
+++ b/net/libdnet/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDNET_BUILDLINK3_MK:= ${LIBDNET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdnet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdnet}
BUILDLINK_PACKAGES+= libdnet
-BUILDLINK_ORDER+= libdnet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdnet
.if !empty(LIBDNET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdnet+= libdnet>=1.7
diff --git a/net/liblive/buildlink3.mk b/net/liblive/buildlink3.mk
index ca727fefff3..3c4228a53fe 100644
--- a/net/liblive/buildlink3.mk
+++ b/net/liblive/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBLIVE_BUILDLINK3_MK:= ${LIBLIVE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= liblive
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nliblive}
BUILDLINK_PACKAGES+= liblive
-BUILDLINK_ORDER+= liblive
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}liblive
.if !empty(LIBLIVE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.liblive+= liblive>=2003.04.04
diff --git a/net/libnids/buildlink3.mk b/net/libnids/buildlink3.mk
index 7e5b8b17f3c..9fab1433bf4 100644
--- a/net/libnids/buildlink3.mk
+++ b/net/libnids/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNIDS_BUILDLINK3_MK:= ${LIBNIDS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libnids
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnids}
BUILDLINK_PACKAGES+= libnids
-BUILDLINK_ORDER+= libnids
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnids
.if !empty(LIBNIDS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnids+= libnids>=1.18
diff --git a/net/libpcap/buildlink3.mk b/net/libpcap/buildlink3.mk
index d38c009e740..733671991c8 100644
--- a/net/libpcap/buildlink3.mk
+++ b/net/libpcap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPCAP_BUILDLINK3_MK:= ${LIBPCAP_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= libpcap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpcap}
BUILDLINK_PACKAGES+= libpcap
-BUILDLINK_ORDER+= libpcap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpcap
.if !empty(LIBPCAP_BUILDLINK3_MK:M+)
# XXX?
diff --git a/net/libradius/buildlink3.mk b/net/libradius/buildlink3.mk
index d55d08ba95b..9155095c141 100644
--- a/net/libradius/buildlink3.mk
+++ b/net/libradius/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBRADIUS_LINUX_BUILDLINK3_MK:= ${LIBRADIUS_LINUX_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= libradius
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibradius}
BUILDLINK_PACKAGES+= libradius
-BUILDLINK_ORDER+= libradius
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libradius
.if !empty(LIBRADIUS_LINUX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libradius+= libradius>=20040827
diff --git a/net/libsoup-devel/buildlink3.mk b/net/libsoup-devel/buildlink3.mk
index 3a2d376bfc4..ab8d841010f 100644
--- a/net/libsoup-devel/buildlink3.mk
+++ b/net/libsoup-devel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSOUP_DEVEL_BUILDLINK3_MK:= ${LIBSOUP_DEVEL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsoup-devel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsoup-devel}
BUILDLINK_PACKAGES+= libsoup-devel
-BUILDLINK_ORDER+= libsoup-devel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsoup-devel
.if !empty(LIBSOUP_DEVEL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsoup-devel+= libsoup-devel>=2.2.0
diff --git a/net/libsoup/buildlink3.mk b/net/libsoup/buildlink3.mk
index 3b340c492ec..3ad49b7b99c 100644
--- a/net/libsoup/buildlink3.mk
+++ b/net/libsoup/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSOUP_BUILDLINK3_MK:= ${LIBSOUP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libsoup
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibsoup}
BUILDLINK_PACKAGES+= libsoup
-BUILDLINK_ORDER+= libsoup
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libsoup
.if !empty(LIBSOUP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libsoup+= libsoup>=1.99.28nb3
diff --git a/net/libtorrent/buildlink3.mk b/net/libtorrent/buildlink3.mk
index 083ba916b71..dd47d3f21bf 100644
--- a/net/libtorrent/buildlink3.mk
+++ b/net/libtorrent/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:03 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTORRENT_BUILDLINK3_MK:= ${LIBTORRENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtorrent
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtorrent}
BUILDLINK_PACKAGES+= libtorrent
-BUILDLINK_ORDER+= libtorrent
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtorrent
.if !empty(LIBTORRENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtorrent+= libtorrent>=0.8.0
diff --git a/net/linc/buildlink3.mk b/net/linc/buildlink3.mk
index 6e2319ce4db..8c39232ec9f 100644
--- a/net/linc/buildlink3.mk
+++ b/net/linc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LINC_BUILDLINK3_MK:= ${LINC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= linc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlinc}
BUILDLINK_PACKAGES+= linc
-BUILDLINK_ORDER+= linc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}linc
.if !empty(LINC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.linc+= linc>=1.1.1
diff --git a/net/mDNSResponder/buildlink3.mk b/net/mDNSResponder/buildlink3.mk
index 77a6f941d77..a6ae10c699d 100644
--- a/net/mDNSResponder/buildlink3.mk
+++ b/net/mDNSResponder/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MDNSRESPONDER_BUILDLINK3_MK:= ${MDNSRESPONDER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mDNSResponder
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NmDNSResponder}
BUILDLINK_PACKAGES+= mDNSResponder
-BUILDLINK_ORDER+= mDNSResponder
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mDNSResponder
.if !empty(MDNSRESPONDER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mDNSResponder+= mDNSResponder>=98
diff --git a/net/net-snmp/buildlink3.mk b/net/net-snmp/buildlink3.mk
index bf92661e39d..e4f17aaccf8 100644
--- a/net/net-snmp/buildlink3.mk
+++ b/net/net-snmp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NET_SNMP_BUILDLINK3_MK:= ${NET_SNMP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= net-snmp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnet-snmp}
BUILDLINK_PACKAGES+= net-snmp
-BUILDLINK_ORDER+= net-snmp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}net-snmp
.if !empty(NET_SNMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.net-snmp+= net-snmp>=5.0.9nb3
diff --git a/net/netatalk/buildlink3.mk b/net/netatalk/buildlink3.mk
index 494be553617..9486e547ada 100644
--- a/net/netatalk/buildlink3.mk
+++ b/net/netatalk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NETATALK_BUILDLINK3_MK:= ${NETATALK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= netatalk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnetatalk}
BUILDLINK_PACKAGES+= netatalk
-BUILDLINK_ORDER+= netatalk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}netatalk
.if !empty(NETATALK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.netatalk+= netatalk>=2.0.3nb2
diff --git a/net/netatalk1/buildlink3.mk b/net/netatalk1/buildlink3.mk
index 45bc36e74ae..1a7a8f7bd3d 100644
--- a/net/netatalk1/buildlink3.mk
+++ b/net/netatalk1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NETATALK_BUILDLINK3_MK:= ${NETATALK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= netatalk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGESNnetatalk}
BUILDLINK_PACKAGES+= netatalk
-BUILDLINK_ORDER+= netatalk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}netatalk
.if !empty(NETATALK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.netatalk+= netatalk>=1.6.2
diff --git a/net/netbsd-tap/buildlink3.mk b/net/netbsd-tap/buildlink3.mk
index b0b4a303f79..d2a0be058f0 100644
--- a/net/netbsd-tap/buildlink3.mk
+++ b/net/netbsd-tap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NETBSD_TAP_BUILDLINK3_MK:= ${NETBSD_TAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= netbsd-tap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnetbsd-tap}
BUILDLINK_PACKAGES+= netbsd-tap
-BUILDLINK_ORDER+= netbsd-tap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}netbsd-tap
.if !empty(NETBSD_TAP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.netbsd-tap+= netbsd-tap>=20050120
diff --git a/net/openh323/buildlink3.mk b/net/openh323/buildlink3.mk
index 1ce52848cff..eb6649a28ae 100644
--- a/net/openh323/buildlink3.mk
+++ b/net/openh323/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:33 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENH323_BUILDLINK3_MK:= ${OPENH323_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openh323
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenh323}
BUILDLINK_PACKAGES+= openh323
-BUILDLINK_ORDER+= openh323
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openh323
.if !empty(OPENH323_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openh323+= openh323>=1.15.1
diff --git a/net/openslp/buildlink3.mk b/net/openslp/buildlink3.mk
index 031beaa7ff1..cedc1aa6003 100644
--- a/net/openslp/buildlink3.mk
+++ b/net/openslp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENSLP_BUILDLINK3_MK:= ${OPENSLP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openslp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenslp}
BUILDLINK_PACKAGES+= openslp
-BUILDLINK_ORDER+= openslp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openslp
.if !empty(OPENSLP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openslp+= openslp>=1.0.1
diff --git a/net/py-ORBit/buildlink3.mk b/net/py-ORBit/buildlink3.mk
index f7f1a6c462c..e48e0bc040d 100644
--- a/net/py-ORBit/buildlink3.mk
+++ b/net/py-ORBit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_ORBIT_BUILDLINK3_MK:= ${PY_ORBIT_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyorbit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyorbit}
BUILDLINK_PACKAGES+= pyorbit
-BUILDLINK_ORDER+= pyorbit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyorbit
.if !empty(PY_ORBIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyorbit+= ${PYPKGPREFIX}-ORBit>=2.0.0nb1
diff --git a/net/py-libdnet/buildlink3.mk b/net/py-libdnet/buildlink3.mk
index fc148d89c7b..e823246b0e4 100644
--- a/net/py-libdnet/buildlink3.mk
+++ b/net/py-libdnet/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYLIBDNET_BUILDLINK3_MK:= ${PYLIBDNET_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pylibdnet
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npylibdnet}
BUILDLINK_PACKAGES+= pylibdnet
-BUILDLINK_ORDER+= pylibdnet
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pylibdnet
.if !empty(PYLIBDNET_BUILDLINK3_MK:M+)
diff --git a/net/py-libpcap/buildlink3.mk b/net/py-libpcap/buildlink3.mk
index 4a67514ee2e..5f31b69c8b3 100644
--- a/net/py-libpcap/buildlink3.mk
+++ b/net/py-libpcap/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYLIBPCAP_BUILDLINK3_MK:= ${PYLIBPCAP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pylibpcap
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npylibpcap}
BUILDLINK_PACKAGES+= pylibpcap
-BUILDLINK_ORDER+= pylibpcap
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pylibpcap
.if !empty(PYLIBPCAP_BUILDLINK3_MK:M+)
diff --git a/net/py-soappy/buildlink3.mk b/net/py-soappy/buildlink3.mk
index 803f9a88f10..1e9b1941453 100644
--- a/net/py-soappy/buildlink3.mk
+++ b/net/py-soappy/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_SOAPPY_BUILDLINK3_MK:= ${PY_SOAPPY_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= py-SOAPpy
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-SOAPpy}
BUILDLINK_PACKAGES+= py-SOAPpy
-BUILDLINK_ORDER+= py-SOAPpy
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-SOAPpy
.if !empty(PY_SOAPPY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.py-SOAPpy+= ${PYPKGPREFIX}-SOAPpy>=0.11.4
diff --git a/net/samba/buildlink3.mk b/net/samba/buildlink3.mk
index 0d3c3e82d00..040e3e7be7d 100644
--- a/net/samba/buildlink3.mk
+++ b/net/samba/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SAMBA_BUILDLINK3_MK:= ${SAMBA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= samba
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsamba}
BUILDLINK_PACKAGES+= samba
-BUILDLINK_ORDER+= samba
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}samba
.if !empty(SAMBA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.samba+= samba>=3.0.7
diff --git a/net/socks4/buildlink3.mk b/net/socks4/buildlink3.mk
index fc46bbdc00f..f7b38874b52 100644
--- a/net/socks4/buildlink3.mk
+++ b/net/socks4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SOCKS4_BUILDLINK3_MK:= ${SOCKS4_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= socks4
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsocks4}
BUILDLINK_PACKAGES+= socks4
-BUILDLINK_ORDER+= socks4
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}socks4
.if !empty(SOCKS4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.socks4+= socks4>=2.2
diff --git a/net/socks5/buildlink3.mk b/net/socks5/buildlink3.mk
index 7a833094bb1..10ece1c263f 100644
--- a/net/socks5/buildlink3.mk
+++ b/net/socks5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SOCKS5_BUILDLINK3_MK:= ${SOCKS5_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= socks5
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsocks5}
BUILDLINK_PACKAGES+= socks5
-BUILDLINK_ORDER+= socks5
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}socks5
.if !empty(SOCKS5_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.socks5+= socks5>=1.0.2
diff --git a/net/soup/buildlink3.mk b/net/soup/buildlink3.mk
index deace9b7ff7..464eb4cab4e 100644
--- a/net/soup/buildlink3.mk
+++ b/net/soup/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SOUP_BUILDLINK3_MK:= ${SOUP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= soup
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsoup}
BUILDLINK_PACKAGES+= soup
-BUILDLINK_ORDER+= soup
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}soup
.if !empty(SOUP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.soup?= soup>=0.7.11nb3
diff --git a/net/spread/buildlink3.mk b/net/spread/buildlink3.mk
index 88c8024e076..bc27e3d1fd7 100644
--- a/net/spread/buildlink3.mk
+++ b/net/spread/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SPREAD_BUILDLINK3_MK:= ${SPREAD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= spread
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nspread}
BUILDLINK_PACKAGES+= spread
-BUILDLINK_ORDER+= spread
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}spread
.if !empty(SPREAD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.spread+= spread>=3.17.1
diff --git a/net/tcl-scotty/buildlink3.mk b/net/tcl-scotty/buildlink3.mk
index 062d7bcc6eb..d18ecfc8e71 100644
--- a/net/tcl-scotty/buildlink3.mk
+++ b/net/tcl-scotty/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_SCOTTY_BUILDLINK3_MK:= ${TCL_SCOTTY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-scotty
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-scotty}
BUILDLINK_PACKAGES+= tcl-scotty
-BUILDLINK_ORDER+= tcl-scotty
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-scotty
.if !empty(TCL_SCOTTY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-scotty+= tcl-scotty>=2.1.11
diff --git a/net/whoson/buildlink3.mk b/net/whoson/buildlink3.mk
index 48527a654cd..ec54d5743ea 100644
--- a/net/whoson/buildlink3.mk
+++ b/net/whoson/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WHOSON_BUILDLINK3_MK:= ${WHOSON_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= whoson
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwhoson}
BUILDLINK_PACKAGES+= whoson
-BUILDLINK_ORDER+= whoson
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}whoson
.if !empty(WHOSON_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.whoson+= whoson>=2.03
diff --git a/net/xfce4-wavelan-plugin/buildlink3.mk b/net/xfce4-wavelan-plugin/buildlink3.mk
index 20392e558d7..3cadbbce547 100644
--- a/net/xfce4-wavelan-plugin/buildlink3.mk
+++ b/net/xfce4-wavelan-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_WAVELAN_PLUGIN_BUILDLINK3_MK:= ${XFCE4_WAVELAN_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-wavelan-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-wavelan-plugin}
BUILDLINK_PACKAGES+= xfce4-wavelan-plugin
-BUILDLINK_ORDER+= xfce4-wavelan-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-wavelan-plugin
.if !empty(XFCE4_WAVELAN_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-wavelan-plugin+= xfce4-wavelan-plugin>=0.4.1nb1
diff --git a/net/yaz/buildlink3.mk b/net/yaz/buildlink3.mk
index 0f1bf3197c2..87169a62e61 100644
--- a/net/yaz/buildlink3.mk
+++ b/net/yaz/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
YAZ_BUILDLINK3_MK:= ${YAZ_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= yaz
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nyaz}
BUILDLINK_PACKAGES+= yaz
-BUILDLINK_ORDER+= yaz
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}yaz
.if !empty(YAZ_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.yaz+= yaz>=2.0
diff --git a/news/inn/buildlink3.mk b/news/inn/buildlink3.mk
index c21c2cbabf3..4f0074bb66f 100644
--- a/news/inn/buildlink3.mk
+++ b/news/inn/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
INN_BUILDLINK3_MK:= ${INN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= inn
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ninn}
BUILDLINK_PACKAGES+= inn
-BUILDLINK_ORDER+= inn
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}inn
.if !empty(INN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.inn+= inn>=2.3.4
diff --git a/parallel/mpi-ch/buildlink3.mk b/parallel/mpi-ch/buildlink3.mk
index 8bd09fb5902..adcc21143b2 100644
--- a/parallel/mpi-ch/buildlink3.mk
+++ b/parallel/mpi-ch/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:04 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MPICH_BUILDLINK3_MK:= ${MPICH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mpich
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmpich}
BUILDLINK_PACKAGES+= mpich
-BUILDLINK_ORDER+= mpich
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mpich
.if !empty(MPICH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mpich+= mpich>=1.2.6
diff --git a/parallel/pvm3/buildlink3.mk b/parallel/pvm3/buildlink3.mk
index 152458f6822..00cb5e9639c 100644
--- a/parallel/pvm3/buildlink3.mk
+++ b/parallel/pvm3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PVM_BUILDLINK3_MK:= ${PVM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pvm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npvm}
BUILDLINK_PACKAGES+= pvm
-BUILDLINK_ORDER+= pvm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pvm
.if !empty(PVM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pvm+= pvm>=3.4.3
diff --git a/pkgtools/libnbcompat/buildlink3.mk b/pkgtools/libnbcompat/buildlink3.mk
index 722751242cc..e36e73b65f9 100644
--- a/pkgtools/libnbcompat/buildlink3.mk
+++ b/pkgtools/libnbcompat/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNBCOMPAT_BUILDLINK3_MK:= ${LIBNBCOMPAT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libnbcompat
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnbcompat}
BUILDLINK_PACKAGES+= libnbcompat
-BUILDLINK_ORDER+= libnbcompat
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnbcompat
.if !empty(LIBNBCOMPAT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnbcompat+= libnbcompat>=20040911
diff --git a/print/a2ps/buildlink3.mk b/print/a2ps/buildlink3.mk
index abecf4c3a41..b960e22c42f 100644
--- a/print/a2ps/buildlink3.mk
+++ b/print/a2ps/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
A2PS_BUILDLINK3_MK:= ${A2PS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= a2ps
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Na2ps}
BUILDLINK_PACKAGES+= a2ps
-BUILDLINK_ORDER+= a2ps
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}a2ps
.if !empty(A2PS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.a2ps+= a2ps>=4.13.0.2nb4
diff --git a/print/cups/buildlink3.mk b/print/cups/buildlink3.mk
index 90534a84a27..33bb2479f40 100644
--- a/print/cups/buildlink3.mk
+++ b/print/cups/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:34 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CUPS_BUILDLINK3_MK:= ${CUPS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cups
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncups}
BUILDLINK_PACKAGES+= cups
-BUILDLINK_ORDER+= cups
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cups
.if !empty(CUPS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cups+= cups>=1.1.19nb3
diff --git a/print/gimp-print-lib/buildlink3.mk b/print/gimp-print-lib/buildlink3.mk
index 30358f6179c..f3a44034402 100644
--- a/print/gimp-print-lib/buildlink3.mk
+++ b/print/gimp-print-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GIMP_PRINT_LIB_BUILDLINK3_MK:= ${GIMP_PRINT_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gimp-print-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngimp-print-lib}
BUILDLINK_PACKAGES+= gimp-print-lib
-BUILDLINK_ORDER+= gimp-print-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gimp-print-lib
.if !empty(GIMP_PRINT_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gimp-print-lib+= gimp-print-lib>=4.2.5nb1
diff --git a/print/gnome-print/buildlink3.mk b/print/gnome-print/buildlink3.mk
index e4e5b2b08ee..b98a52cf534 100644
--- a/print/gnome-print/buildlink3.mk
+++ b/print/gnome-print/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_PRINT_BUILDLINK3_MK:= ${GNOME_PRINT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-print
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-print}
BUILDLINK_PACKAGES+= gnome-print
-BUILDLINK_ORDER+= gnome-print
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-print
.if !empty(GNOME_PRINT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-print+= gnome-print>=0.36nb4
diff --git a/print/ijs/buildlink3.mk b/print/ijs/buildlink3.mk
index 59d08ddec69..9e92f313e11 100644
--- a/print/ijs/buildlink3.mk
+++ b/print/ijs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
IJS_BUILDLINK3_MK:= ${IJS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ijs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nijs}
BUILDLINK_PACKAGES+= ijs
-BUILDLINK_ORDER+= ijs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ijs
.if !empty(IJS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ijs+= ijs>=0.34
diff --git a/print/ja-vflib-lib/buildlink3.mk b/print/ja-vflib-lib/buildlink3.mk
index f44c49e2a46..4a58a10d241 100644
--- a/print/ja-vflib-lib/buildlink3.mk
+++ b/print/ja-vflib-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JA_VFLIB_LIB_BUILDLINK3_MK:= ${JA_VFLIB_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ja-vflib-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nja-vflib-lib}
BUILDLINK_PACKAGES+= ja-vflib-lib
-BUILDLINK_ORDER+= ja-vflib-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ja-vflib-lib
.if !empty(JA_VFLIB_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ja-vflib-lib+= ja-vflib-lib>=2.24.2
diff --git a/print/libgnomecups/buildlink3.mk b/print/libgnomecups/buildlink3.mk
index dabb8bd6ca6..b4a8ad4b7d5 100644
--- a/print/libgnomecups/buildlink3.mk
+++ b/print/libgnomecups/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMECUPS_BUILDLINK3_MK:= ${LIBGNOMECUPS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomecups
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomecups}
BUILDLINK_PACKAGES+= libgnomecups
-BUILDLINK_ORDER+= libgnomecups
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomecups
.if !empty(LIBGNOMECUPS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomecups+= libgnomecups>=0.2.0
diff --git a/print/libgnomeprint/buildlink3.mk b/print/libgnomeprint/buildlink3.mk
index e37040084fb..2105868ee74 100644
--- a/print/libgnomeprint/buildlink3.mk
+++ b/print/libgnomeprint/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEPRINT_BUILDLINK3_MK:= ${LIBGNOMEPRINT_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= libgnomeprint
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomeprint}
BUILDLINK_PACKAGES+= libgnomeprint
-BUILDLINK_ORDER+= libgnomeprint
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomeprint
.if !empty(LIBGNOMEPRINT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomeprint+= libgnomeprint>=2.8.0
diff --git a/print/libgnomeprintui/buildlink3.mk b/print/libgnomeprintui/buildlink3.mk
index df5338c939e..19ed22788b5 100644
--- a/print/libgnomeprintui/buildlink3.mk
+++ b/print/libgnomeprintui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEPRINTUI_BUILDLINK3_MK:= ${LIBGNOMEPRINTUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgnomeprintui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomeprintui}
BUILDLINK_PACKAGES+= libgnomeprintui
-BUILDLINK_ORDER+= libgnomeprintui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgnomeprintui
.if !empty(LIBGNOMEPRINTUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomeprintui+= libgnomeprintui>=2.8.0
diff --git a/print/pdflib/buildlink3.mk b/print/pdflib/buildlink3.mk
index cdc745515ea..b1a1c128241 100644
--- a/print/pdflib/buildlink3.mk
+++ b/print/pdflib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PDFLIB_BUILDLINK3_MK:= ${PDFLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pdflib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npdflib}
BUILDLINK_PACKAGES+= pdflib
-BUILDLINK_ORDER+= pdflib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pdflib
.if !empty(PDFLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pdflib+= pdflib>=4.0.3nb2
diff --git a/print/poppler-glib/buildlink3.mk b/print/poppler-glib/buildlink3.mk
index 97a607fb69a..e8701b1b5ec 100644
--- a/print/poppler-glib/buildlink3.mk
+++ b/print/poppler-glib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POPPLER_GLIB_BUILDLINK3_MK:= ${POPPLER_GLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= poppler-glib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-glib}
BUILDLINK_PACKAGES+= poppler-glib
-BUILDLINK_ORDER+= poppler-glib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler-glib
.if !empty(POPPLER_GLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.poppler-glib+= poppler-glib>=0.5.1
diff --git a/print/poppler-qt/buildlink3.mk b/print/poppler-qt/buildlink3.mk
index 7726850ea62..3f90380ae71 100644
--- a/print/poppler-qt/buildlink3.mk
+++ b/print/poppler-qt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POPPLER_QT_BUILDLINK3_MK:= ${POPPLER_QT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= poppler-qt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-qt}
BUILDLINK_PACKAGES+= poppler-qt
-BUILDLINK_ORDER+= poppler-qt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler-qt
.if !empty(POPPLER_QT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.poppler-qt+= poppler-qt>=0.4.5nb1
diff --git a/print/poppler/buildlink3.mk b/print/poppler/buildlink3.mk
index d4963ca086d..11d42c47ffe 100644
--- a/print/poppler/buildlink3.mk
+++ b/print/poppler/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
POPPLER_BUILDLINK3_MK:= ${POPPLER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= poppler
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler}
BUILDLINK_PACKAGES+= poppler
-BUILDLINK_ORDER+= poppler
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}poppler
.if !empty(POPPLER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.poppler+= poppler>=0.5.1
diff --git a/print/pslib/buildlink3.mk b/print/pslib/buildlink3.mk
index da15f5df241..cbd82b22355 100644
--- a/print/pslib/buildlink3.mk
+++ b/print/pslib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PSLIB_BUILDLINK3_MK:= ${PSLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pslib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npslib}
BUILDLINK_PACKAGES+= pslib
-BUILDLINK_ORDER+= pslib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pslib
.if !empty(PSLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pslib+= pslib>=0.2.6
diff --git a/print/py-reportlab-renderPM/buildlink3.mk b/print/py-reportlab-renderPM/buildlink3.mk
index 4fe5586c10c..c8cf96b20c9 100644
--- a/print/py-reportlab-renderPM/buildlink3.mk
+++ b/print/py-reportlab-renderPM/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYRLRENDERPM_BUILDLINK3_MK:= ${PYRLRENDERPM_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyrlrenderpm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyrlrenderpm}
BUILDLINK_PACKAGES+= pyrlrenderpm
-BUILDLINK_ORDER+= pyrlrenderpm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyrlrenderpm
.if !empty(PYRLRENDERPM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyrlrenderpm+= ${PYPKGPREFIX}-reportlab-renderPM-[0-9]*
diff --git a/print/py-reportlab/buildlink3.mk b/print/py-reportlab/buildlink3.mk
index ce8d017fc9a..a61b4b8b6b5 100644
--- a/print/py-reportlab/buildlink3.mk
+++ b/print/py-reportlab/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYREPORTLAB_BUILDLINK3_MK:= ${PYREPORTLAB_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyreportlab
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyreportlab}
BUILDLINK_PACKAGES+= pyreportlab
-BUILDLINK_ORDER+= pyreportlab
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyreportlab
.if !empty(PYREPORTLAB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyreportlab+= ${PYPKGPREFIX}-reportlab-[0-9]*
diff --git a/print/teTeX-bin/buildlink3.mk b/print/teTeX-bin/buildlink3.mk
index 0f93cd79f7e..d1cfe1c752f 100644
--- a/print/teTeX-bin/buildlink3.mk
+++ b/print/teTeX-bin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= teTeX-bin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NteTeX-bin}
BUILDLINK_PACKAGES+= teTeX-bin
-BUILDLINK_ORDER+= teTeX-bin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}teTeX-bin
.if !empty(TETEX_BIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.teTeX-bin+= teTeX-bin-2.[0-9]*
diff --git a/print/teTeX3-bin/buildlink3.mk b/print/teTeX3-bin/buildlink3.mk
index 26cece5f4bb..0b93ebf1269 100644
--- a/print/teTeX3-bin/buildlink3.mk
+++ b/print/teTeX3-bin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TETEX_BIN_BUILDLINK3_MK:= ${TETEX_BIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= teTeX-bin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NteTeX-bin}
BUILDLINK_PACKAGES+= teTeX-bin
-BUILDLINK_ORDER+= teTeX-bin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}teTeX-bin
.if !empty(TETEX_BIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.teTeX-bin+= teTeX-bin>=3.0nb2
diff --git a/print/transfig/buildlink3.mk b/print/transfig/buildlink3.mk
index 6c1f487a32d..308b57867e1 100644
--- a/print/transfig/buildlink3.mk
+++ b/print/transfig/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TRANSFIG_BUILDLINK3_MK:= ${TRANSFIG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= transfig
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntransfig}
BUILDLINK_PACKAGES+= transfig
-BUILDLINK_ORDER+= transfig
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}transfig
.if !empty(TRANSFIG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.transfig+= transfig>=3.2.4
diff --git a/print/xfce4-print/buildlink3.mk b/print/xfce4-print/buildlink3.mk
index a344d3e3a87..111e48e291f 100644
--- a/print/xfce4-print/buildlink3.mk
+++ b/print/xfce4-print/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_PRINT_BUILDLINK3_MK:= ${XFCE4_PRINT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-print
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-print}
BUILDLINK_PACKAGES+= xfce4-print
-BUILDLINK_ORDER+= xfce4-print
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-print
.if !empty(XFCE4_PRINT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-print+= xfce4-print>=4.2.3
diff --git a/security/PAM/buildlink3.mk b/security/PAM/buildlink3.mk
index d5744e1944e..5aaf4b1a87e 100644
--- a/security/PAM/buildlink3.mk
+++ b/security/PAM/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 22:39:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LINUX_PAM_BUILDLINK3_MK:= ${LINUX_PAM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= linux-pam
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlinux-pam}
BUILDLINK_PACKAGES+= linux-pam
-BUILDLINK_ORDER+= linux-pam
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}linux-pam
.if !empty(LINUX_PAM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.linux-pam+= PAM>=0.75
diff --git a/security/beecrypt/buildlink3.mk b/security/beecrypt/buildlink3.mk
index 8dd8bc1a338..fc5618fc335 100644
--- a/security/beecrypt/buildlink3.mk
+++ b/security/beecrypt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:05 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BEECRYPT_BUILDLINK3_MK:= ${BEECRYPT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= beecrypt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbeecrypt}
BUILDLINK_PACKAGES+= beecrypt
-BUILDLINK_ORDER+= beecrypt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}beecrypt
.if !empty(BEECRYPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.beecrypt+= beecrypt>=3.0.0
diff --git a/security/botan/buildlink3.mk b/security/botan/buildlink3.mk
index 2141f479f60..792599a4133 100644
--- a/security/botan/buildlink3.mk
+++ b/security/botan/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BOTAN_BUILDLINK3_MK:= ${BOTAN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= botan
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbotan}
BUILDLINK_PACKAGES+= botan
-BUILDLINK_ORDER+= botan
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}botan
.if !empty(BOTAN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.botan+= botan>=1.4.11
diff --git a/security/courier-authlib/buildlink3.mk b/security/courier-authlib/buildlink3.mk
index f2f1fff42a7..af966e15b58 100644
--- a/security/courier-authlib/buildlink3.mk
+++ b/security/courier-authlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
COURIER_AUTHLIB_BUILDLINK3_MK:= ${COURIER_AUTHLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= courier-authlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncourier-authlib}
BUILDLINK_PACKAGES+= courier-authlib
-BUILDLINK_ORDER+= courier-authlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}courier-authlib
.if !empty(COURIER_AUTHLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.courier-authlib+= courier-authlib>=0.53
diff --git a/security/crypto++/buildlink3.mk b/security/crypto++/buildlink3.mk
index 76736ec91ec..278c3f4fbff 100644
--- a/security/crypto++/buildlink3.mk
+++ b/security/crypto++/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CRYPTOPP_BUILDLINK3_MK:= ${CRYPTOPP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cryptopp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncryptopp}
BUILDLINK_PACKAGES+= cryptopp
-BUILDLINK_ORDER+= cryptopp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cryptopp
.if !empty(CRYPTOPP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cryptopp+= cryptopp>=5.1
diff --git a/security/cvm/buildlink3.mk b/security/cvm/buildlink3.mk
index 3e26ea74efb..0aa488883f1 100644
--- a/security/cvm/buildlink3.mk
+++ b/security/cvm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CVM_BUILDLINK3_MK:= ${CVM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cvm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncvm}
BUILDLINK_PACKAGES+= cvm
-BUILDLINK_ORDER+= cvm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cvm
.if !empty(CVM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cvm+= cvm>=0.75
diff --git a/security/cyrus-sasl/buildlink3.mk b/security/cyrus-sasl/buildlink3.mk
index 17adf31a8fb..a89968ced7d 100644
--- a/security/cyrus-sasl/buildlink3.mk
+++ b/security/cyrus-sasl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CYRUS_SASL_BUILDLINK3_MK:= ${CYRUS_SASL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cyrus-sasl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncyrus-sasl}
BUILDLINK_PACKAGES+= cyrus-sasl
-BUILDLINK_ORDER+= cyrus-sasl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cyrus-sasl
.if !empty(CYRUS_SASL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cyrus-sasl+= cyrus-sasl>=2.1.12
diff --git a/security/dirmngr/buildlink3.mk b/security/dirmngr/buildlink3.mk
index a73534a73b0..c0359935108 100644
--- a/security/dirmngr/buildlink3.mk
+++ b/security/dirmngr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DIRMNGR_BUILDLINK3_MK:= ${DIRMNGR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dirmngr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndirmngr}
BUILDLINK_PACKAGES+= dirmngr
-BUILDLINK_ORDER+= dirmngr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dirmngr
.if !empty(DIRMNGR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dirmngr+= dirmngr>=0.9.3nb1
diff --git a/security/gnome-keyring/buildlink3.mk b/security/gnome-keyring/buildlink3.mk
index 9872f7d923e..d41a64bcda0 100644
--- a/security/gnome-keyring/buildlink3.mk
+++ b/security/gnome-keyring/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_KEYRING_BUILDLINK3_MK:= ${GNOME_KEYRING_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-keyring
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-keyring}
BUILDLINK_PACKAGES+= gnome-keyring
-BUILDLINK_ORDER+= gnome-keyring
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-keyring
.if !empty(GNOME_KEYRING_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-keyring+= gnome-keyring>=0.4.0
diff --git a/security/gnupg-devel/buildlink3.mk b/security/gnupg-devel/buildlink3.mk
index c31c18fd91f..2b6ac3cbde1 100644
--- a/security/gnupg-devel/buildlink3.mk
+++ b/security/gnupg-devel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUPG_DEVEL_BUILDLINK3_MK:= ${GNUPG_DEVEL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnupg-devel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnupg-devel}
BUILDLINK_PACKAGES+= gnupg-devel
-BUILDLINK_ORDER+= gnupg-devel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnupg-devel
.if ${GNUPG_DEVEL_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.gnupg-devel+= gnupg-devel>=1.9.20nb1
diff --git a/security/gnutls/buildlink3.mk b/security/gnutls/buildlink3.mk
index 383eeefef53..2e8a31a6f7d 100644
--- a/security/gnutls/buildlink3.mk
+++ b/security/gnutls/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUTLS_BUILDLINK3_MK:= ${GNUTLS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnutls
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnutls}
BUILDLINK_PACKAGES+= gnutls
-BUILDLINK_ORDER+= gnutls
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnutls
.if !empty(GNUTLS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnutls+= gnutls>=1.0.13
diff --git a/security/gpgme/buildlink3.mk b/security/gpgme/buildlink3.mk
index def586e634b..85d7a46fd46 100644
--- a/security/gpgme/buildlink3.mk
+++ b/security/gpgme/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GPGME_BUILDLINK3_MK:= ${GPGME_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gpgme
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngpgme}
BUILDLINK_PACKAGES+= gpgme
-BUILDLINK_ORDER+= gpgme
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gpgme
.if !empty(GPGME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gpgme+= gpgme>=0.9.0
diff --git a/security/gpgme03/buildlink3.mk b/security/gpgme03/buildlink3.mk
index 7f01b90c78e..66d0259054d 100644
--- a/security/gpgme03/buildlink3.mk
+++ b/security/gpgme03/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GPGME03_BUILDLINK3_MK:= ${GPGME03_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gpgme03
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngpgme03}
BUILDLINK_PACKAGES+= gpgme03
-BUILDLINK_ORDER+= gpgme03
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gpgme03
.if !empty(GPGME03_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gpgme03+= gpgme03>=0.3.16
diff --git a/security/gsasl/buildlink3.mk b/security/gsasl/buildlink3.mk
index 01bbda80d39..683735b3360 100644
--- a/security/gsasl/buildlink3.mk
+++ b/security/gsasl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:36 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSASL_BUILDLINK3_MK:= ${GSASL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gsasl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngsasl}
BUILDLINK_PACKAGES+= gsasl
-BUILDLINK_ORDER+= gsasl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gsasl
.if !empty(GSASL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gsasl+= gsasl>=0.2.3
diff --git a/security/gss/buildlink3.mk b/security/gss/buildlink3.mk
index 2cc7a5aa7ab..ca536d436d0 100644
--- a/security/gss/buildlink3.mk
+++ b/security/gss/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GSS_BUILDLINK3_MK:= ${GSS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gss
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngss}
BUILDLINK_PACKAGES+= gss
-BUILDLINK_ORDER+= gss
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gss
.if !empty(GSS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gss+= gss>=0.0.6nb1
diff --git a/security/heimdal/buildlink3.mk b/security/heimdal/buildlink3.mk
index 293458c1643..aaaa13aaf17 100644
--- a/security/heimdal/buildlink3.mk
+++ b/security/heimdal/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.29 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.30 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HEIMDAL_BUILDLINK3_MK:= ${HEIMDAL_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= heimdal
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nheimdal}
BUILDLINK_PACKAGES+= heimdal
-BUILDLINK_ORDER+= heimdal
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}heimdal
.if !empty(HEIMDAL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.heimdal+= heimdal>=0.4e
diff --git a/security/kth-krb4/buildlink3.mk b/security/kth-krb4/buildlink3.mk
index eaea4901de9..2077bb8c03b 100644
--- a/security/kth-krb4/buildlink3.mk
+++ b/security/kth-krb4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:06 jlam Exp $
# XXX BUILDLINK_DEPMETHOD.kth-krb4?= build
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= kth-krb4
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkth-krb4}
BUILDLINK_PACKAGES+= kth-krb4
-BUILDLINK_ORDER+= kth-krb4
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kth-krb4
.if !empty(KTH_KRB4_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kth-krb4+= kth-krb4>=1.1.1
diff --git a/security/libassuan/buildlink3.mk b/security/libassuan/buildlink3.mk
index 5edcd766531..b87ecf26954 100644
--- a/security/libassuan/buildlink3.mk
+++ b/security/libassuan/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:06 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBASSUAN_BUILDLINK3_MK:= ${LIBASSUAN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libassuan
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibassuan}
BUILDLINK_PACKAGES+= libassuan
-BUILDLINK_ORDER+= libassuan
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libassuan
.if !empty(LIBASSUAN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libassuan+= libassuan>=0.6.7
diff --git a/security/libcrack/buildlink3.mk b/security/libcrack/buildlink3.mk
index 3c50868256a..66b5c989349 100644
--- a/security/libcrack/buildlink3.mk
+++ b/security/libcrack/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCRACK_BUILDLINK3_MK:= ${LIBCRACK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcrack
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcrack}
BUILDLINK_PACKAGES+= libcrack
-BUILDLINK_ORDER+= libcrack
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcrack
.if !empty(LIBCRACK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcrack+= libcrack>=2.7
diff --git a/security/libdes/buildlink3.mk b/security/libdes/buildlink3.mk
index b4b8558cc37..35a58d67f48 100644
--- a/security/libdes/buildlink3.mk
+++ b/security/libdes/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBDES_BUILDLINK3_MK:= ${LIBDES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libdes
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdes}
BUILDLINK_PACKAGES+= libdes
-BUILDLINK_ORDER+= libdes
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libdes
.if !empty(LIBDES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libdes+= libdes>=4.04b
diff --git a/security/libfwbuilder/buildlink3.mk b/security/libfwbuilder/buildlink3.mk
index 5a990e05c64..f40013325e1 100644
--- a/security/libfwbuilder/buildlink3.mk
+++ b/security/libfwbuilder/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBFWBUILDER_BUILDLINK3_MK:= ${LIBFWBUILDER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libfwbuilder
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibfwbuilder}
BUILDLINK_PACKAGES+= libfwbuilder
-BUILDLINK_ORDER+= libfwbuilder
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libfwbuilder
.if !empty(LIBFWBUILDER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libfwbuilder+= libfwbuilder>=2.0.10
diff --git a/security/libgcrypt/buildlink3.mk b/security/libgcrypt/buildlink3.mk
index 37557f8b573..b66305bc572 100644
--- a/security/libgcrypt/buildlink3.mk
+++ b/security/libgcrypt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGCRYPT_BUILDLINK3_MK:= ${LIBGCRYPT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgcrypt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgcrypt}
BUILDLINK_PACKAGES+= libgcrypt
-BUILDLINK_ORDER+= libgcrypt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgcrypt
.if !empty(LIBGCRYPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.2.0
diff --git a/security/libgpg-error/buildlink3.mk b/security/libgpg-error/buildlink3.mk
index 37eb783a170..72c8c4a22c3 100644
--- a/security/libgpg-error/buildlink3.mk
+++ b/security/libgpg-error/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGPG_ERROR_BUILDLINK3_MK:= ${LIBGPG_ERROR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgpg-error
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgpg-error}
BUILDLINK_PACKAGES+= libgpg-error
-BUILDLINK_ORDER+= libgpg-error
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgpg-error
.if !empty(LIBGPG_ERROR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgpg-error+= libgpg-error>=0.6
diff --git a/security/libidea/buildlink3.mk b/security/libidea/buildlink3.mk
index b66cb2e5ca6..481fe6888bb 100644
--- a/security/libidea/buildlink3.mk
+++ b/security/libidea/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBIDEA_BUILDLINK3_MK:= ${LIBIDEA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libidea
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibidea}
BUILDLINK_PACKAGES+= libidea
-BUILDLINK_ORDER+= libidea
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libidea
.if !empty(LIBIDEA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libidea+= libidea>=0.8.2
diff --git a/security/libident/buildlink3.mk b/security/libident/buildlink3.mk
index cff72c4fc54..4ecc91b66a8 100644
--- a/security/libident/buildlink3.mk
+++ b/security/libident/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBIDENT_BUILDLINK3_MK:= ${LIBIDENT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libident
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibident}
BUILDLINK_PACKAGES+= libident
-BUILDLINK_ORDER+= libident
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libident
.if !empty(LIBIDENT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libident+= libident>=0.22
diff --git a/security/libksba/buildlink3.mk b/security/libksba/buildlink3.mk
index d819af0adec..93873c7c766 100644
--- a/security/libksba/buildlink3.mk
+++ b/security/libksba/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBKSBA_BUILDLINK3_MK:= ${LIBKSBA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libksba
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibksba}
BUILDLINK_PACKAGES+= libksba
-BUILDLINK_ORDER+= libksba
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libksba
.if !empty(LIBKSBA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libksba+= libksba>=0.9.7
diff --git a/security/libksba04/buildlink3.mk b/security/libksba04/buildlink3.mk
index 51d1f690b98..d9350ed3286 100644
--- a/security/libksba04/buildlink3.mk
+++ b/security/libksba04/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBKSBA_BUILDLINK3_MK:= ${LIBKSBA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libksba
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibksba}
BUILDLINK_PACKAGES+= libksba
-BUILDLINK_ORDER+= libksba
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libksba
.if !empty(LIBKSBA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libksba+= libksba>=0.4.7nb1
diff --git a/security/libmcrypt/buildlink3.mk b/security/libmcrypt/buildlink3.mk
index ff64913b9e5..61cac0b7e62 100644
--- a/security/libmcrypt/buildlink3.mk
+++ b/security/libmcrypt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBMCRYPT_BUILDLINK3_MK:= ${LIBMCRYPT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libmcrypt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibmcrypt}
BUILDLINK_PACKAGES+= libmcrypt
-BUILDLINK_ORDER+= libmcrypt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmcrypt
.if !empty(LIBMCRYPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libmcrypt+= libmcrypt>=2.5.6
diff --git a/security/libnasl/buildlink3.mk b/security/libnasl/buildlink3.mk
index 37fb7470699..c0dc063bb3f 100644
--- a/security/libnasl/buildlink3.mk
+++ b/security/libnasl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNASL_BUILDLINK3_MK:= ${LIBNASL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libnasl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnasl}
BUILDLINK_PACKAGES+= libnasl
-BUILDLINK_ORDER+= libnasl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnasl
.if !empty(LIBNASL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnasl+= libnasl>=2.2.7
diff --git a/security/libprelude/buildlink3.mk b/security/libprelude/buildlink3.mk
index a86403cdb9a..fd2c8fcaa8d 100644
--- a/security/libprelude/buildlink3.mk
+++ b/security/libprelude/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPRELUDE_BUILDLINK3_MK:= ${LIBPRELUDE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libprelude
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibprelude}
BUILDLINK_PACKAGES+= libprelude
-BUILDLINK_ORDER+= libprelude
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libprelude
.if !empty(LIBPRELUDE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libprelude+= libprelude>=0.9.0
diff --git a/security/libpreludedb/buildlink3.mk b/security/libpreludedb/buildlink3.mk
index 81cd661785b..236daf13d0c 100644
--- a/security/libpreludedb/buildlink3.mk
+++ b/security/libpreludedb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPRELUDEDB_BUILDLINK3_MK:= ${LIBPRELUDEDB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libpreludedb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpreludedb}
BUILDLINK_PACKAGES+= libpreludedb
-BUILDLINK_ORDER+= libpreludedb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpreludedb
.if !empty(LIBPRELUDEDB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libpreludedb+= libpreludedb>=0.9.3
diff --git a/security/libssh/buildlink3.mk b/security/libssh/buildlink3.mk
index 58e79746071..bfc028d841b 100644
--- a/security/libssh/buildlink3.mk
+++ b/security/libssh/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBSSH_BUILDLINK3_MK:= ${NETWIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libssh
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibssh}
BUILDLINK_PACKAGES+= libssh
-BUILDLINK_ORDER+= libssh
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libssh
.if !empty(LIBSSH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libssh+= libssh>=0.11
diff --git a/security/libtasn1/buildlink3.mk b/security/libtasn1/buildlink3.mk
index 611de9e0c44..8afbc6257a1 100644
--- a/security/libtasn1/buildlink3.mk
+++ b/security/libtasn1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTASN1_BUILDLINK3_MK:= ${LIBTASN1_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtasn1
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtasn1}
BUILDLINK_PACKAGES+= libtasn1
-BUILDLINK_ORDER+= libtasn1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtasn1
.if !empty(LIBTASN1_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtasn1+= libtasn1>=0.2.7
diff --git a/security/libtcpa/buildlink3.mk b/security/libtcpa/buildlink3.mk
index fc0cdba4a78..8a6164e4e46 100644
--- a/security/libtcpa/buildlink3.mk
+++ b/security/libtcpa/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBTCPA_BUILDLINK3_MK:= ${LIBTCPA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libtcpa
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibtcpa}
BUILDLINK_PACKAGES+= libtcpa
-BUILDLINK_ORDER+= libtcpa
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libtcpa
.if !empty(LIBTCPA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libtcpa+= libtcpa>=1.1b
diff --git a/security/mhash/buildlink3.mk b/security/mhash/buildlink3.mk
index b0f762b8979..23ee2e1fa5f 100644
--- a/security/mhash/buildlink3.mk
+++ b/security/mhash/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MHASH_BUILDLINK3_MK:= ${MHASH_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mhash
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmhash}
BUILDLINK_PACKAGES+= mhash
-BUILDLINK_ORDER+= mhash
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mhash
.if !empty(MHASH_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mhash+= mhash>=0.8.3
diff --git a/security/mit-krb5/buildlink3.mk b/security/mit-krb5/buildlink3.mk
index df50cf2f4ff..02476012150 100644
--- a/security/mit-krb5/buildlink3.mk
+++ b/security/mit-krb5/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:37 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MIT_KRB5_BUILDLINK3_MK:= ${MIT_KRB5_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mit-krb5
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmit-krb5}
BUILDLINK_PACKAGES+= mit-krb5
-BUILDLINK_ORDER+= mit-krb5
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mit-krb5
.if !empty(MIT_KRB5_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mit-krb5+= mit-krb5>=1.3.1
diff --git a/security/nessus-core/buildlink3.mk b/security/nessus-core/buildlink3.mk
index 026c5d6b3f1..911fda6622c 100644
--- a/security/nessus-core/buildlink3.mk
+++ b/security/nessus-core/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NESSUS_CORE_BUILDLINK3_MK:= ${NESSUS_CORE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nessus-core
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnessus-core}
BUILDLINK_PACKAGES+= nessus-core
-BUILDLINK_ORDER+= nessus-core
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nessus-core
.if !empty(NESSUS_CORE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nessus-core+= nessus-core>=2.2.7
diff --git a/security/nessus-libraries/buildlink3.mk b/security/nessus-libraries/buildlink3.mk
index 985c7c9547a..5be69bca85b 100644
--- a/security/nessus-libraries/buildlink3.mk
+++ b/security/nessus-libraries/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NESSUS_LIBRARIES_BUILDLINK3_MK:= ${NESSUS_LIBRARIES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nessus-libraries
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnessus-libraries}
BUILDLINK_PACKAGES+= nessus-libraries
-BUILDLINK_ORDER+= nessus-libraries
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nessus-libraries
.if !empty(NESSUS_LIBRARIES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nessus-libraries+= nessus-libraries>=2.2.3
diff --git a/security/opencdk/buildlink3.mk b/security/opencdk/buildlink3.mk
index 45a938f3f93..edc1731b4f2 100644
--- a/security/opencdk/buildlink3.mk
+++ b/security/opencdk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENCDK_BUILDLINK3_MK:= ${OPENCDK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= opencdk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopencdk}
BUILDLINK_PACKAGES+= opencdk
-BUILDLINK_ORDER+= opencdk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}opencdk
.if !empty(OPENCDK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.opencdk+= opencdk>=0.5.4nb1
diff --git a/security/openpam/buildlink3.mk b/security/openpam/buildlink3.mk
index 5614256050b..5a8f988f221 100644
--- a/security/openpam/buildlink3.mk
+++ b/security/openpam/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENPAM_BUILDLINK3_MK:= ${OPENPAM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openpam
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenpam}
BUILDLINK_PACKAGES+= openpam
-BUILDLINK_ORDER+= openpam
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openpam
.if !empty(OPENPAM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openpam+= openpam>=20040210
diff --git a/security/openssl/buildlink3.mk b/security/openssl/buildlink3.mk
index 003b16d473b..addc30da157 100644
--- a/security/openssl/buildlink3.mk
+++ b/security/openssl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.31 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.32 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENSSL_BUILDLINK3_MK:= ${OPENSSL_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= openssl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenssl}
BUILDLINK_PACKAGES+= openssl
-BUILDLINK_ORDER+= openssl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openssl
.if !empty(OPENSSL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.6m
diff --git a/security/pflkm/buildlink3.mk b/security/pflkm/buildlink3.mk
index af709177301..9f7bf3d6a5b 100644
--- a/security/pflkm/buildlink3.mk
+++ b/security/pflkm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PFLKM_BUILDLINK3_MK:= ${PFLKM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pflkm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npflkm}
BUILDLINK_PACKAGES+= pflkm
-BUILDLINK_ORDER+= pflkm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pflkm
.if !empty(PFLKM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pflkm+= pflkm>=20040501
diff --git a/security/pinentry/buildlink3.mk b/security/pinentry/buildlink3.mk
index cb489c4f681..1eb47253bee 100644
--- a/security/pinentry/buildlink3.mk
+++ b/security/pinentry/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PINENTRY_BUILDLINK3_MK:= ${PINENTRY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pinentry
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npinentry}
BUILDLINK_PACKAGES+= pinentry
-BUILDLINK_ORDER+= pinentry
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pinentry
.if !empty(PINENTRY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pinentry+= pinentry>=0.7.1
diff --git a/security/py-amkCrypto/buildlink3.mk b/security/py-amkCrypto/buildlink3.mk
index e88d1958e9c..6c3d62d7ecf 100644
--- a/security/py-amkCrypto/buildlink3.mk
+++ b/security/py-amkCrypto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY24_AMKCRYPTO_BUILDLINK3_MK:= ${PY24_AMKCRYPTO_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= py-amkCrypto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-amkCrypto}
BUILDLINK_PACKAGES+= py-amkCrypto
-BUILDLINK_ORDER+= py-amkCrypto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-amkCrypto
.if ${PY24_AMKCRYPTO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.py-amkCrypto+= ${PYPKGPREFIX}-amkCrypto>=2.0.1nb1
diff --git a/security/qca/buildlink3.mk b/security/qca/buildlink3.mk
index 573510776e6..cf4ec8ad6a7 100644
--- a/security/qca/buildlink3.mk
+++ b/security/qca/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:08 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QCA_BUILDLINK3_MK:= ${QCA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qca
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqca}
BUILDLINK_PACKAGES+= qca
-BUILDLINK_ORDER+= qca
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qca
.if !empty(QCA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qca+= qca>=1.0
diff --git a/security/rsaref/buildlink3.mk b/security/rsaref/buildlink3.mk
index 3f0ee40f547..fa001a516fa 100644
--- a/security/rsaref/buildlink3.mk
+++ b/security/rsaref/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RSAREF_BUILDLINK3_MK:= ${RSAREF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= rsaref
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrsaref}
BUILDLINK_PACKAGES+= rsaref
-BUILDLINK_ORDER+= rsaref
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}rsaref
.if !empty(RSAREF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.rsaref+= rsaref>=2.0p3
diff --git a/security/seahorse/buildlink3.mk b/security/seahorse/buildlink3.mk
index 4b7a8e1cd00..9ac86887143 100644
--- a/security/seahorse/buildlink3.mk
+++ b/security/seahorse/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:08 jlam Exp $
# XXX
# XXX This file was created automatically using createbuildlink-3.10.
# XXX After this file has been verified as correct, the comment lines
@@ -19,7 +19,7 @@ BUILDLINK_DEPENDS+= seahorse
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nseahorse}
BUILDLINK_PACKAGES+= seahorse
-BUILDLINK_ORDER+= seahorse
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}seahorse
.if !empty(SEAHORSE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.seahorse+= seahorse>=0.8.1
diff --git a/security/skey/buildlink3.mk b/security/skey/buildlink3.mk
index 4f120f660c1..8a3b8658278 100644
--- a/security/skey/buildlink3.mk
+++ b/security/skey/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SKEY_BUILDLINK3_MK:= ${SKEY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= skey
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nskey}
BUILDLINK_PACKAGES+= skey
-BUILDLINK_ORDER+= skey
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}skey
.if !empty(SKEY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.skey+= skey>=1.1.5
diff --git a/security/tcl-tls/buildlink3.mk b/security/tcl-tls/buildlink3.mk
index 166e5bde6cd..f417be13713 100644
--- a/security/tcl-tls/buildlink3.mk
+++ b/security/tcl-tls/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCL_TLS_BUILDLINK3_MK:= ${TCL_TLS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcl-tls
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcl-tls}
BUILDLINK_PACKAGES+= tcl-tls
-BUILDLINK_ORDER+= tcl-tls
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcl-tls
.if !empty(TCL_TLS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcl-tls+= tcl-tls>=1.5.0
diff --git a/security/tcp_wrappers/buildlink3.mk b/security/tcp_wrappers/buildlink3.mk
index 965f59d7f6b..61d9f5e8608 100644
--- a/security/tcp_wrappers/buildlink3.mk
+++ b/security/tcp_wrappers/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TCP_WRAPPERS_BUILDLINK3_MK:= ${TCP_WRAPPERS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tcp_wrappers
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntcp_wrappers}
BUILDLINK_PACKAGES+= tcp_wrappers
-BUILDLINK_ORDER+= tcp_wrappers
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tcp_wrappers
.if !empty(TCP_WRAPPERS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tcp_wrappers+= tcp_wrappers>=7.6.1nb1
diff --git a/sysutils/amanda-common/buildlink3.mk b/sysutils/amanda-common/buildlink3.mk
index 48ee83bd0be..a891e2d5d86 100644
--- a/sysutils/amanda-common/buildlink3.mk
+++ b/sysutils/amanda-common/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AMANDA_COMMON_BUILDLINK3_MK:= ${AMANDA_COMMON_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= amanda-common
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Namanda-common}
BUILDLINK_PACKAGES+= amanda-common
-BUILDLINK_ORDER+= amanda-common
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}amanda-common
.if !empty(AMANDA_COMMON_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.amanda-common+= amanda-common>=2.4.4p4nb2
diff --git a/sysutils/dbus-glib/buildlink3.mk b/sysutils/dbus-glib/buildlink3.mk
index 409511aabed..f754230438e 100644
--- a/sysutils/dbus-glib/buildlink3.mk
+++ b/sysutils/dbus-glib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DBUS_GLIB_BUILDLINK3_MK:= ${DBUS_GLIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dbus-glib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndbus-glib}
BUILDLINK_PACKAGES+= dbus-glib
-BUILDLINK_ORDER+= dbus-glib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dbus-glib
.if !empty(DBUS_GLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dbus-glib+= dbus-glib>=0.61
diff --git a/sysutils/dbus/buildlink3.mk b/sysutils/dbus/buildlink3.mk
index 4d495b49ca6..c89fce6c640 100644
--- a/sysutils/dbus/buildlink3.mk
+++ b/sysutils/dbus/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DBUS_BUILDLINK3_MK:= ${DBUS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= dbus
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndbus}
BUILDLINK_PACKAGES+= dbus
-BUILDLINK_ORDER+= dbus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}dbus
.if !empty(DBUS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.dbus+= dbus>=0.61
diff --git a/sysutils/desktop-file-utils/buildlink3.mk b/sysutils/desktop-file-utils/buildlink3.mk
index c898fbccbab..ca6de9465ca 100644
--- a/sysutils/desktop-file-utils/buildlink3.mk
+++ b/sysutils/desktop-file-utils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
DESKTOP_FILE_UTILS_BUILDLINK3_MK:= ${DESKTOP_FILE_UTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= desktop-file-utils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ndesktop-file-utils}
BUILDLINK_PACKAGES+= desktop-file-utils
-BUILDLINK_ORDER+= desktop-file-utils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}desktop-file-utils
.if !empty(DESKTOP_FILE_UTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.desktop-file-utils+= desktop-file-utils>=0.8
diff --git a/sysutils/fam/buildlink3.mk b/sysutils/fam/buildlink3.mk
index 25d6ac9c2a8..dfdc6f92ea2 100644
--- a/sysutils/fam/buildlink3.mk
+++ b/sysutils/fam/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:38 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:08 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FAM_BUILDLINK3_MK:= ${FAM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fam
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfam}
BUILDLINK_PACKAGES+= fam
-BUILDLINK_ORDER+= fam
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fam
.if !empty(FAM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fam+= fam>=2.6.10
diff --git a/sysutils/file/buildlink3.mk b/sysutils/file/buildlink3.mk
index e7419371698..a2b9bc8087f 100644
--- a/sysutils/file/buildlink3.mk
+++ b/sysutils/file/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:08 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= file
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfile}
BUILDLINK_PACKAGES+= file
-BUILDLINK_ORDER+= file
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}file
.if !empty(FILE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.file+= file>=4.09
diff --git a/sysutils/gamin/buildlink3.mk b/sysutils/gamin/buildlink3.mk
index 6d07b9fd34b..0e99991c975 100644
--- a/sysutils/gamin/buildlink3.mk
+++ b/sysutils/gamin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GAMIN_BUILDLINK3_MK:= ${GAMIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gamin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngamin}
BUILDLINK_PACKAGES+= gamin
-BUILDLINK_ORDER+= gamin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gamin
.if !empty(GAMIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gamin+= gamin>=0.1.5
diff --git a/sysutils/gkrellm/buildlink3.mk b/sysutils/gkrellm/buildlink3.mk
index b57c9fe3893..e17b587632e 100644
--- a/sysutils/gkrellm/buildlink3.mk
+++ b/sysutils/gkrellm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GKRELLM_BUILDLINK3_MK:= ${GKRELLM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gkrellm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngkrellm}
BUILDLINK_PACKAGES+= gkrellm
-BUILDLINK_ORDER+= gkrellm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gkrellm
.if !empty(GKRELLM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gkrellm+= gkrellm>=2.1.22
diff --git a/sysutils/gkrellm1/buildlink3.mk b/sysutils/gkrellm1/buildlink3.mk
index f237677d925..bbd29184c5b 100644
--- a/sysutils/gkrellm1/buildlink3.mk
+++ b/sysutils/gkrellm1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GKRELLM_BUILDLINK3_MK:= ${GKRELLM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gkrellm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngkrellm}
BUILDLINK_PACKAGES+= gkrellm
-BUILDLINK_ORDER+= gkrellm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gkrellm
.if !empty(GKRELLM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gkrellm+= gkrellm<2.0
diff --git a/sysutils/gnome-menus/buildlink3.mk b/sysutils/gnome-menus/buildlink3.mk
index dbbcecd85a2..65a8e021a4a 100644
--- a/sysutils/gnome-menus/buildlink3.mk
+++ b/sysutils/gnome-menus/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_MENUS_BUILDLINK3_MK:= ${GNOME_MENUS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-menus
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-menus}
BUILDLINK_PACKAGES+= gnome-menus
-BUILDLINK_ORDER+= gnome-menus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-menus
.if !empty(GNOME_MENUS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-menus+= gnome-menus>=2.13.5
diff --git a/sysutils/gnome-vfs/buildlink3.mk b/sysutils/gnome-vfs/buildlink3.mk
index b20a49d5860..632793141a4 100644
--- a/sysutils/gnome-vfs/buildlink3.mk
+++ b/sysutils/gnome-vfs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_VFS_BUILDLINK3_MK:= ${GNOME_VFS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-vfs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-vfs}
BUILDLINK_PACKAGES+= gnome-vfs
-BUILDLINK_ORDER+= gnome-vfs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-vfs
.if !empty(GNOME_VFS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-vfs+= gnome-vfs>=1.0.5nb7
diff --git a/sysutils/gnome-vfs2/buildlink3.mk b/sysutils/gnome-vfs2/buildlink3.mk
index 259dec6dbee..fed5191314a 100644
--- a/sysutils/gnome-vfs2/buildlink3.mk
+++ b/sysutils/gnome-vfs2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_VFS2_BUILDLINK3_MK:= ${GNOME_VFS2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-vfs2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-vfs2}
BUILDLINK_PACKAGES+= gnome-vfs2
-BUILDLINK_ORDER+= gnome-vfs2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-vfs2
.if !empty(GNOME_VFS2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-vfs2+= gnome-vfs2>=2.8.0
diff --git a/sysutils/gnome-vfsmm/buildlink3.mk b/sysutils/gnome-vfsmm/buildlink3.mk
index 2abc53d2640..59266f58d2e 100644
--- a/sysutils/gnome-vfsmm/buildlink3.mk
+++ b/sysutils/gnome-vfsmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_VFSMM_BUILDLINK3_MK:= ${GNOME_VFSMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-vfsmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-vfsmm}
BUILDLINK_PACKAGES+= gnome-vfsmm
-BUILDLINK_ORDER+= gnome-vfsmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-vfsmm
.if !empty(GNOME_VFSMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-vfsmm+= gnome-vfsmm>=2.10.0
diff --git a/sysutils/gst-plugins0.8-gnomevfs/buildlink3.mk b/sysutils/gst-plugins0.8-gnomevfs/buildlink3.mk
index f65c083b722..cd6935341b7 100644
--- a/sysutils/gst-plugins0.8-gnomevfs/buildlink3.mk
+++ b/sysutils/gst-plugins0.8-gnomevfs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GST_PLUGINS0.8_GNOMEVFS_BUILDLINK3_MK:= ${GST_PLUGINS0.8_GNOMEVFS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gst-plugins0.8-gnomevfs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngst-plugins0.8-gnomevfs}
BUILDLINK_PACKAGES+= gst-plugins0.8-gnomevfs
-BUILDLINK_ORDER+= gst-plugins0.8-gnomevfs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gst-plugins0.8-gnomevfs
.if !empty(GST_PLUGINS0.8_GNOMEVFS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gst-plugins0.8-gnomevfs+= gst-plugins0.8-gnomevfs>=0.8.11
diff --git a/sysutils/libgtop2/buildlink3.mk b/sysutils/libgtop2/buildlink3.mk
index dbe7439634b..f86e192a165 100644
--- a/sysutils/libgtop2/buildlink3.mk
+++ b/sysutils/libgtop2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGTOP2_BUILDLINK3_MK:= ${LIBGTOP2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgtop2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgtop2}
BUILDLINK_PACKAGES+= libgtop2
-BUILDLINK_ORDER+= libgtop2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgtop2
.if !empty(LIBGTOP2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgtop2+= libgtop2>=2.14.0
diff --git a/sysutils/libnotify/buildlink3.mk b/sysutils/libnotify/buildlink3.mk
index d9c43d342d3..9fa4a6f199d 100644
--- a/sysutils/libnotify/buildlink3.mk
+++ b/sysutils/libnotify/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBNOTIFY_BUILDLINK3_MK:= ${LIBNOTIFY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libnotify
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnotify}
BUILDLINK_PACKAGES+= libnotify
-BUILDLINK_ORDER+= libnotify
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libnotify
.if !empty(LIBNOTIFY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libnotify+= libnotify>=0.3.2
diff --git a/sysutils/libol/buildlink3.mk b/sysutils/libol/buildlink3.mk
index 6efbaebe6b0..deb5833c470 100644
--- a/sysutils/libol/buildlink3.mk
+++ b/sysutils/libol/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBOL_BUILDLINK3_MK:= ${LIBOL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libol
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibol}
BUILDLINK_PACKAGES+= libol
-BUILDLINK_ORDER+= libol
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libol
.if !empty(LIBOL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libol+= libol>=0.3.17
diff --git a/sysutils/medusa/buildlink3.mk b/sysutils/medusa/buildlink3.mk
index a83d7b782ab..69affb32902 100644
--- a/sysutils/medusa/buildlink3.mk
+++ b/sysutils/medusa/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MEDUSA_BUILDLINK3_MK:= ${MEDUSA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= medusa
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmedusa}
BUILDLINK_PACKAGES+= medusa
-BUILDLINK_ORDER+= medusa
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}medusa
.if !empty(MEDUSA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.medusa+= medusa>=0.5.1nb7
diff --git a/sysutils/nautilus-cd-burner/buildlink3.mk b/sysutils/nautilus-cd-burner/buildlink3.mk
index b1ff96d1fae..7f8e1bd72bc 100644
--- a/sysutils/nautilus-cd-burner/buildlink3.mk
+++ b/sysutils/nautilus-cd-burner/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NAUTILUS_CD_BURNER_BUILDLINK3_MK:= ${NAUTILUS_CD_BURNER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nautilus-cd-burner
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnautilus-cd-burner}
BUILDLINK_PACKAGES+= nautilus-cd-burner
-BUILDLINK_ORDER+= nautilus-cd-burner
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nautilus-cd-burner
.if !empty(NAUTILUS_CD_BURNER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nautilus-cd-burner+= nautilus-cd-burner>=2.12.1nb1
diff --git a/sysutils/nautilus/buildlink3.mk b/sysutils/nautilus/buildlink3.mk
index 5d3b4aeb58d..fe94e7b2054 100644
--- a/sysutils/nautilus/buildlink3.mk
+++ b/sysutils/nautilus/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NAUTILUS_BUILDLINK3_MK:= ${NAUTILUS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= nautilus
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nnautilus}
BUILDLINK_PACKAGES+= nautilus
-BUILDLINK_ORDER+= nautilus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}nautilus
.if !empty(NAUTILUS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.nautilus+= nautilus>=2.12.1nb1
diff --git a/sysutils/pciutils/buildlink3.mk b/sysutils/pciutils/buildlink3.mk
index 6c45f80238e..b8d8a2b3110 100644
--- a/sysutils/pciutils/buildlink3.mk
+++ b/sysutils/pciutils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PCIUTILS_BUILDLINK3_MK:= ${PCIUTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pciutils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npciutils}
BUILDLINK_PACKAGES+= pciutils
-BUILDLINK_ORDER+= pciutils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pciutils
.if !empty(PCIUTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pciutils+= pciutils>=2.1.11
diff --git a/sysutils/py-dbus/buildlink3.mk b/sysutils/py-dbus/buildlink3.mk
index c8d312528c0..a8906addf8b 100644
--- a/sysutils/py-dbus/buildlink3.mk
+++ b/sysutils/py-dbus/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_DBUS_BUILDLINK3_MK:= ${PY_DBUS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= py-dbus
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-dbus}
BUILDLINK_PACKAGES+= py-dbus
-BUILDLINK_ORDER+= py-dbus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-dbus
.if !empty(PY_DBUS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.py-dbus+= ${PYPKGPREFIX}-dbus>=0.23.4
diff --git a/sysutils/vcdimager-devel/buildlink3.mk b/sysutils/vcdimager-devel/buildlink3.mk
index fb99bbc945c..5976a34b683 100644
--- a/sysutils/vcdimager-devel/buildlink3.mk
+++ b/sysutils/vcdimager-devel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
VCDIMAGER_BUILDLINK3_MK:= ${VCDIMAGER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= vcdimager
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nvcdimager}
BUILDLINK_PACKAGES+= vcdimager
-BUILDLINK_ORDER+= vcdimager
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vcdimager
.if !empty(VCDIMAGER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.vcdimager+= vcdimager>=0.7.20
diff --git a/sysutils/xfce4-appfinder/buildlink3.mk b/sysutils/xfce4-appfinder/buildlink3.mk
index a205ddc8750..4544763b512 100644
--- a/sysutils/xfce4-appfinder/buildlink3.mk
+++ b/sysutils/xfce4-appfinder/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:39 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_APPFINDER_BUILDLINK3_MK:= ${XFCE4_APPFINDER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-appfinder
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-appfinder}
BUILDLINK_PACKAGES+= xfce4-appfinder
-BUILDLINK_ORDER+= xfce4-appfinder
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-appfinder
.if !empty(XFCE4_APPFINDER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-appfinder+= xfce4-appfinder>=4.2.3
diff --git a/sysutils/xfce4-cpugraph-plugin/buildlink3.mk b/sysutils/xfce4-cpugraph-plugin/buildlink3.mk
index de2e364cbe9..876fe0cb97f 100644
--- a/sysutils/xfce4-cpugraph-plugin/buildlink3.mk
+++ b/sysutils/xfce4-cpugraph-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_CPUGRAPH_PLUGIN_BUILDLINK3_MK:= ${XFCE4_CPUGRAPH_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-cpugraph-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-cpugraph-plugin}
BUILDLINK_PACKAGES+= xfce4-cpugraph-plugin
-BUILDLINK_ORDER+= xfce4-cpugraph-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-cpugraph-plugin
.if !empty(XFCE4_CPUGRAPH_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-cpugraph-plugin+= xfce4-cpugraph-plugin>=0.2.2nb1
diff --git a/sysutils/xfce4-diskperf-plugin/buildlink3.mk b/sysutils/xfce4-diskperf-plugin/buildlink3.mk
index 0cb65e9d1a5..2035af1e17c 100644
--- a/sysutils/xfce4-diskperf-plugin/buildlink3.mk
+++ b/sysutils/xfce4-diskperf-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_DISKPERF_PLUGIN_BUILDLINK3_MK:= ${XFCE4_DISKPERF_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-diskperf-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-diskperf-plugin}
BUILDLINK_PACKAGES+= xfce4-diskperf-plugin
-BUILDLINK_ORDER+= xfce4-diskperf-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-diskperf-plugin
.if !empty(XFCE4_DISKPERF_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-diskperf-plugin+= xfce4-diskperf-plugin>=1.5
diff --git a/sysutils/xfce4-fm/buildlink3.mk b/sysutils/xfce4-fm/buildlink3.mk
index a3426195535..4054119aae9 100644
--- a/sysutils/xfce4-fm/buildlink3.mk
+++ b/sysutils/xfce4-fm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_FM_BUILDLINK3_MK:= ${XFCE4_FM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-fm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-fm}
BUILDLINK_PACKAGES+= xfce4-fm
-BUILDLINK_ORDER+= xfce4-fm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-fm
.if !empty(XFCE4_FM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-fm+= xfce4-fm>=4.2.3
diff --git a/sysutils/xfce4-fsguard-plugin/buildlink3.mk b/sysutils/xfce4-fsguard-plugin/buildlink3.mk
index c90f2b5324f..ceb0621c35c 100644
--- a/sysutils/xfce4-fsguard-plugin/buildlink3.mk
+++ b/sysutils/xfce4-fsguard-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK:= ${XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-fsguard-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-fsguard-plugin}
BUILDLINK_PACKAGES+= xfce4-fsguard-plugin
-BUILDLINK_ORDER+= xfce4-fsguard-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-fsguard-plugin
.if !empty(XFCE4_FSGUARD_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-fsguard-plugin+= xfce4-fsguard-plugin>=0.2.1
diff --git a/sysutils/xfce4-minicmd-plugin/buildlink3.mk b/sysutils/xfce4-minicmd-plugin/buildlink3.mk
index ab77a5825bb..d94a4f50f84 100644
--- a/sysutils/xfce4-minicmd-plugin/buildlink3.mk
+++ b/sysutils/xfce4-minicmd-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_MINICMD_PLUGIN_BUILDLINK3_MK:= ${XFCE4_MINICMD_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-minicmd-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-minicmd-plugin}
BUILDLINK_PACKAGES+= xfce4-minicmd-plugin
-BUILDLINK_ORDER+= xfce4-minicmd-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-minicmd-plugin
.if !empty(XFCE4_MINICMD_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-minicmd-plugin+= xfce4-minicmd-plugin>=0.3.0
diff --git a/sysutils/xfce4-netload-plugin/buildlink3.mk b/sysutils/xfce4-netload-plugin/buildlink3.mk
index 34e32b167d9..c2b1521f6f0 100644
--- a/sysutils/xfce4-netload-plugin/buildlink3.mk
+++ b/sysutils/xfce4-netload-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:09 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_NETLOAD_PLUGIN_BUILDLINK3_MK:= ${XFCE4_NETLOAD_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-netload-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-netload-plugin}
BUILDLINK_PACKAGES+= xfce4-netload-plugin
-BUILDLINK_ORDER+= xfce4-netload-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-netload-plugin
.if !empty(XFCE4_NETLOAD_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-netload-plugin+= xfce4-netload-plugin>=0.3.3
diff --git a/sysutils/xfce4-quicklauncher-plugin/buildlink3.mk b/sysutils/xfce4-quicklauncher-plugin/buildlink3.mk
index 02937c805f9..48834c6ecf4 100644
--- a/sysutils/xfce4-quicklauncher-plugin/buildlink3.mk
+++ b/sysutils/xfce4-quicklauncher-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_QUICKLAUNCHER_PLUGIN_BUILDLINK3_MK:= ${XFCE4_QUICKLAUNCHER_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-quicklauncher-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-quicklauncher-plugin}
BUILDLINK_PACKAGES+= xfce4-quicklauncher-plugin
-BUILDLINK_ORDER+= xfce4-quicklauncher-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-quicklauncher-plugin
.if !empty(XFCE4_QUICKLAUNCHER_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-quicklauncher-plugin+= xfce4-quicklauncher-plugin>=0.81
diff --git a/sysutils/xfce4-showdesktop-plugin/buildlink3.mk b/sysutils/xfce4-showdesktop-plugin/buildlink3.mk
index 92e701582b1..2f4fef3fdf9 100644
--- a/sysutils/xfce4-showdesktop-plugin/buildlink3.mk
+++ b/sysutils/xfce4-showdesktop-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_SHOWDESKTOP_PLUGIN_BUILDLINK3_MK:= ${XFCE4_SHOWDESKTOP_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-showdesktop-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-showdesktop-plugin}
BUILDLINK_PACKAGES+= xfce4-showdesktop-plugin
-BUILDLINK_ORDER+= xfce4-showdesktop-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-showdesktop-plugin
.if !empty(XFCE4_SHOWDESKTOP_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-showdesktop-plugin+= xfce4-showdesktop-plugin>=0.4.0
diff --git a/sysutils/xfce4-systemload-plugin/buildlink3.mk b/sysutils/xfce4-systemload-plugin/buildlink3.mk
index 97d90ebd687..66575fd780f 100644
--- a/sysutils/xfce4-systemload-plugin/buildlink3.mk
+++ b/sysutils/xfce4-systemload-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_SYSTEMLOAD_PLUGIN_BUILDLINK3_MK:= ${XFCE4_SYSTEMLOAD_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-systemload-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-systemload-plugin}
BUILDLINK_PACKAGES+= xfce4-systemload-plugin
-BUILDLINK_ORDER+= xfce4-systemload-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-systemload-plugin
.if !empty(XFCE4_SYSTEMLOAD_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-systemload-plugin+= xfce4-systemload-plugin>=0.3.6
diff --git a/sysutils/xfce4-systray/buildlink3.mk b/sysutils/xfce4-systray/buildlink3.mk
index 7d420c51158..779b55ce65c 100644
--- a/sysutils/xfce4-systray/buildlink3.mk
+++ b/sysutils/xfce4-systray/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_SYSTRAY_BUILDLINK3_MK:= ${XFCE4_SYSTRAY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-systray
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-systray}
BUILDLINK_PACKAGES+= xfce4-systray
-BUILDLINK_ORDER+= xfce4-systray
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-systray
.if !empty(XFCE4_SYSTRAY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-systray+= xfce4-systray>=4.2.3
diff --git a/sysutils/xfce4-xkb-plugin/buildlink3.mk b/sysutils/xfce4-xkb-plugin/buildlink3.mk
index bb62678563a..201c206d7b8 100644
--- a/sysutils/xfce4-xkb-plugin/buildlink3.mk
+++ b/sysutils/xfce4-xkb-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_XKB_PLUGIN_BUILDLINK3_MK:= ${XFCE4_XKB_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-xkb-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-xkb-plugin}
BUILDLINK_PACKAGES+= xfce4-xkb-plugin
-BUILDLINK_ORDER+= xfce4-xkb-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-xkb-plugin
.if !empty(XFCE4_XKB_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-xkb-plugin+= xfce4-xkb-plugin>=0.3.3
diff --git a/textproc/aiksaurus/buildlink3.mk b/textproc/aiksaurus/buildlink3.mk
index 2c51e567453..e32fe0c48ab 100644
--- a/textproc/aiksaurus/buildlink3.mk
+++ b/textproc/aiksaurus/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AIKSAURUS_BUILDLINK3_MK:= ${AIKSAURUS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= aiksaurus
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Naiksaurus}
BUILDLINK_PACKAGES+= aiksaurus
-BUILDLINK_ORDER+= aiksaurus
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}aiksaurus
.if !empty(AIKSAURUS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.aiksaurus+= aiksaurus>=1.2.1
diff --git a/textproc/aspell/buildlink3.mk b/textproc/aspell/buildlink3.mk
index 0772ea37f5c..be4af468357 100644
--- a/textproc/aspell/buildlink3.mk
+++ b/textproc/aspell/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ASPELL_BUILDLINK3_MK:= ${ASPELL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= aspell
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Naspell}
BUILDLINK_PACKAGES+= aspell
-BUILDLINK_ORDER+= aspell
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}aspell
.if !empty(ASPELL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.aspell+= aspell>=0.50.3
diff --git a/textproc/btparse/buildlink3.mk b/textproc/btparse/buildlink3.mk
index b01a7cb3cf0..d365e55313e 100644
--- a/textproc/btparse/buildlink3.mk
+++ b/textproc/btparse/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BTPARSE_BUILDLINK3_MK:= ${BTPARSE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= btparse
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbtparse}
BUILDLINK_PACKAGES+= btparse
-BUILDLINK_ORDER+= btparse
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}btparse
.if !empty(BTPARSE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.btparse+= btparse>=0.34
diff --git a/textproc/chasen-base/buildlink3.mk b/textproc/chasen-base/buildlink3.mk
index 16d98b81338..ffa8bda6091 100644
--- a/textproc/chasen-base/buildlink3.mk
+++ b/textproc/chasen-base/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:10 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= chasen-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nchasen-base}
BUILDLINK_PACKAGES+= chasen-base
-BUILDLINK_ORDER+= chasen-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}chasen-base
.if !empty(CHASEN_BASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.chasen-base+= chasen-base>=2.3.3
diff --git a/textproc/chasen/buildlink3.mk b/textproc/chasen/buildlink3.mk
index 2e25dfd1124..787d893639b 100644
--- a/textproc/chasen/buildlink3.mk
+++ b/textproc/chasen/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CHASEN_BUILDLINK3_MK:= ${CHASEN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= chasen
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nchasen}
BUILDLINK_PACKAGES+= chasen
-BUILDLINK_ORDER+= chasen
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}chasen
.if !empty(CHASEN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.chasen+= chasen>=2.0
diff --git a/textproc/eb/buildlink3.mk b/textproc/eb/buildlink3.mk
index 804812421c7..c95be12e7a1 100644
--- a/textproc/eb/buildlink3.mk
+++ b/textproc/eb/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EB_BUILDLINK3_MK:= ${EB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= eb
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Neb}
BUILDLINK_PACKAGES+= eb
-BUILDLINK_ORDER+= eb
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}eb
_EB_REQD= 3.3.2nb1
diff --git a/textproc/enchant/buildlink3.mk b/textproc/enchant/buildlink3.mk
index 4b849e780f3..42b32835811 100644
--- a/textproc/enchant/buildlink3.mk
+++ b/textproc/enchant/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ENCHANT_BUILDLINK3_MK:= ${ENCHANT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= enchant
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nenchant}
BUILDLINK_PACKAGES+= enchant
-BUILDLINK_ORDER+= enchant
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}enchant
.if !empty(ENCHANT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.enchant+= enchant>=1.1.3
diff --git a/textproc/expat/buildlink3.mk b/textproc/expat/buildlink3.mk
index cab28f2b532..1eb5c6a7a3b 100644
--- a/textproc/expat/buildlink3.mk
+++ b/textproc/expat/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:40 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EXPAT_BUILDLINK3_MK:= ${EXPAT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= expat
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nexpat}
BUILDLINK_PACKAGES+= expat
-BUILDLINK_ORDER+= expat
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}expat
.if !empty(EXPAT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.expat+= expat>=1.95.7
diff --git a/textproc/gdome2/buildlink3.mk b/textproc/gdome2/buildlink3.mk
index 5c8a9c27117..38ffe5ddcf4 100644
--- a/textproc/gdome2/buildlink3.mk
+++ b/textproc/gdome2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GDOME2_BUILDLINK3_MK:= ${GDOME2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gdome2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngdome2}
BUILDLINK_PACKAGES+= gdome2
-BUILDLINK_ORDER+= gdome2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gdome2
.if !empty(GDOME2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gdome2+= gdome2>=0.8.1nb1
diff --git a/textproc/gnome-doc-utils/buildlink3.mk b/textproc/gnome-doc-utils/buildlink3.mk
index 697df5aedc7..377598b0c1e 100644
--- a/textproc/gnome-doc-utils/buildlink3.mk
+++ b/textproc/gnome-doc-utils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_DOC_UTILS_BUILDLINK3_MK:= ${GNOME_DOC_UTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-doc-utils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-doc-utils}
BUILDLINK_PACKAGES+= gnome-doc-utils
-BUILDLINK_ORDER+= gnome-doc-utils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-doc-utils
.if !empty(GNOME_DOC_UTILS_BUILDLINK3_MK:M+)
BUILDLINK_DEPMETHOD.gnome-doc-utils+= build
diff --git a/textproc/gnome-spell/buildlink3.mk b/textproc/gnome-spell/buildlink3.mk
index 5c69855c1bb..6e23348385f 100644
--- a/textproc/gnome-spell/buildlink3.mk
+++ b/textproc/gnome-spell/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_SPELL_BUILDLINK3_MK:= ${GNOME_SPELL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-spell
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-spell}
BUILDLINK_PACKAGES+= gnome-spell
-BUILDLINK_ORDER+= gnome-spell
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-spell
.if !empty(GNOME_SPELL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-spell+= gnome-spell>=1.0.5
diff --git a/textproc/gtk-doc/buildlink3.mk b/textproc/gtk-doc/buildlink3.mk
index daccc62c895..6c00b765631 100644
--- a/textproc/gtk-doc/buildlink3.mk
+++ b/textproc/gtk-doc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:11:10 jlam Exp $
# provided mostly for pkg-config
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= gtk-doc
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk-doc}
BUILDLINK_PACKAGES+= gtk-doc
-BUILDLINK_ORDER+= gtk-doc
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtk-doc
.if !empty(GTK_DOC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtk-doc+= gtk-doc>=1.4nb1
diff --git a/textproc/gtkspell/buildlink3.mk b/textproc/gtkspell/buildlink3.mk
index 42be7cd5072..dc5b865ece6 100644
--- a/textproc/gtkspell/buildlink3.mk
+++ b/textproc/gtkspell/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKSPELL_BUILDLINK3_MK:= ${GTKSPELL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkspell
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkspell}
BUILDLINK_PACKAGES+= gtkspell
-BUILDLINK_ORDER+= gtkspell
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkspell
.if !empty(GTKSPELL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkspell+= gtkspell>=2.0.2nb6
diff --git a/textproc/hre/buildlink3.mk b/textproc/hre/buildlink3.mk
index bfe6e7a1b05..7a5ba43806e 100644
--- a/textproc/hre/buildlink3.mk
+++ b/textproc/hre/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
HRE_BUILDLINK3_MK:= ${HRE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= hre
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhre}
BUILDLINK_PACKAGES+= hre
-BUILDLINK_ORDER+= hre
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hre
.if !empty(HRE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.hre+= hre>=0.9.7
diff --git a/textproc/icu/buildlink3.mk b/textproc/icu/buildlink3.mk
index a40bee429bd..1a4a48d2a10 100644
--- a/textproc/icu/buildlink3.mk
+++ b/textproc/icu/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ICU_BUILDLINK3_MK:= ${ICU_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= icu
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nicu}
BUILDLINK_PACKAGES+= icu
-BUILDLINK_ORDER+= icu
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}icu
.if !empty(ICU_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.icu+= icu>=3.4
diff --git a/textproc/iso-codes/buildlink3.mk b/textproc/iso-codes/buildlink3.mk
index 74aec93fadc..6ddbf6340e1 100644
--- a/textproc/iso-codes/buildlink3.mk
+++ b/textproc/iso-codes/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
ISO_CODES_BUILDLINK3_MK:= ${ISO_CODES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= iso-codes
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Niso-codes}
BUILDLINK_PACKAGES+= iso-codes
-BUILDLINK_ORDER+= iso-codes
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}iso-codes
.if !empty(ISO_CODES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.iso-codes+= iso-codes>=0.50
diff --git a/textproc/jade/buildlink3.mk b/textproc/jade/buildlink3.mk
index 2892c4021ea..5b5cf724563 100644
--- a/textproc/jade/buildlink3.mk
+++ b/textproc/jade/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
JADE_BUILDLINK3_MK:= ${JADE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= jade
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Njade}
BUILDLINK_PACKAGES+= jade
-BUILDLINK_ORDER+= jade
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}jade
.if !empty(JADE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.jade+= jade>=1.2.1nb7
diff --git a/textproc/kakasi/buildlink3.mk b/textproc/kakasi/buildlink3.mk
index 9913e3728ed..2ec7796089b 100644
--- a/textproc/kakasi/buildlink3.mk
+++ b/textproc/kakasi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:10 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KAKASI_BUILDLINK3_MK:= ${KAKASI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kakasi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkakasi}
BUILDLINK_PACKAGES+= kakasi
-BUILDLINK_ORDER+= kakasi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kakasi
.if !empty(KAKASI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kakasi+= kakasi>=2.3.0
diff --git a/textproc/libcroco/buildlink3.mk b/textproc/libcroco/buildlink3.mk
index 9169d47c4aa..6b40560fdaa 100644
--- a/textproc/libcroco/buildlink3.mk
+++ b/textproc/libcroco/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBCROCO_BUILDLINK3_MK:= ${LIBCROCO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libcroco
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibcroco}
BUILDLINK_PACKAGES+= libcroco
-BUILDLINK_ORDER+= libcroco
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libcroco
.if !empty(LIBCROCO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libcroco+= libcroco>=0.6.0
diff --git a/textproc/libpathan/buildlink3.mk b/textproc/libpathan/buildlink3.mk
index 238c17c023f..7d785a2d32b 100644
--- a/textproc/libpathan/buildlink3.mk
+++ b/textproc/libpathan/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBPATHAN_BUILDLINK3_MK:= ${LIBPATHAN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libpathan
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibpathan}
BUILDLINK_PACKAGES+= libpathan
-BUILDLINK_ORDER+= libpathan
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libpathan
.if !empty(LIBPATHAN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libpathan+= libpathan>=1.2.2
diff --git a/textproc/libunicode/buildlink3.mk b/textproc/libunicode/buildlink3.mk
index d487c78b64f..9c1e25b2838 100644
--- a/textproc/libunicode/buildlink3.mk
+++ b/textproc/libunicode/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBUNICODE_BUILDLINK3_MK:= ${LIBUNICODE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libunicode
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibunicode}
BUILDLINK_PACKAGES+= libunicode
-BUILDLINK_ORDER+= libunicode
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libunicode
.if !empty(LIBUNICODE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libunicode+= libunicode>=0.4
diff --git a/textproc/libxml++2/buildlink3.mk b/textproc/libxml++2/buildlink3.mk
index ec84f943fee..777bdb46d23 100644
--- a/textproc/libxml++2/buildlink3.mk
+++ b/textproc/libxml++2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXML++2_BUILDLINK3_MK:= ${LIBXML++2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxml++2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxml++2}
BUILDLINK_PACKAGES+= libxml++2
-BUILDLINK_ORDER+= libxml++2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxml++2
.if !empty(LIBXML++2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxml++2+= libxml++2>=2.10.0
diff --git a/textproc/libxml/buildlink3.mk b/textproc/libxml/buildlink3.mk
index f12b13adfdc..fad1bf8eab6 100644
--- a/textproc/libxml/buildlink3.mk
+++ b/textproc/libxml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXML_BUILDLINK3_MK:= ${LIBXML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxml}
BUILDLINK_PACKAGES+= libxml
-BUILDLINK_ORDER+= libxml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxml
.if !empty(LIBXML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxml+= libxml>=1.8.11
diff --git a/textproc/libxml2/buildlink3.mk b/textproc/libxml2/buildlink3.mk
index 140f3b1ad94..95d18d7c11d 100644
--- a/textproc/libxml2/buildlink3.mk
+++ b/textproc/libxml2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXML2_BUILDLINK3_MK:= ${LIBXML2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxml2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxml2}
BUILDLINK_PACKAGES+= libxml2
-BUILDLINK_ORDER+= libxml2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxml2
.if !empty(LIBXML2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.2
diff --git a/textproc/libxslt/buildlink3.mk b/textproc/libxslt/buildlink3.mk
index 03a3fe79840..51a160226ca 100644
--- a/textproc/libxslt/buildlink3.mk
+++ b/textproc/libxslt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXSLT_BUILDLINK3_MK:= ${LIBXSLT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxslt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxslt}
BUILDLINK_PACKAGES+= libxslt
-BUILDLINK_ORDER+= libxslt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxslt
.if !empty(LIBXSLT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxslt+= libxslt>=1.1.8
diff --git a/textproc/opensp/buildlink3.mk b/textproc/opensp/buildlink3.mk
index fbbaf78f2eb..fa153c0f7a8 100644
--- a/textproc/opensp/buildlink3.mk
+++ b/textproc/opensp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENSP_BUILDLINK3_MK:= ${OPENSP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= opensp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopensp}
BUILDLINK_PACKAGES+= opensp
-BUILDLINK_ORDER+= opensp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}opensp
.if !empty(OPENSP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.opensp+= opensp>=1.5.1
diff --git a/textproc/py-xml/buildlink3.mk b/textproc/py-xml/buildlink3.mk
index 91841a237ed..e59c577d920 100644
--- a/textproc/py-xml/buildlink3.mk
+++ b/textproc/py-xml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:41 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYXML_BUILDLINK3_MK:= ${PYXML_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyxml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyxml}
BUILDLINK_PACKAGES+= pyxml
-BUILDLINK_ORDER+= pyxml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyxml
.if !empty(PYXML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyxml+= ${PYPKGPREFIX}-xml>=0.8.3nb1
diff --git a/textproc/raptor/buildlink3.mk b/textproc/raptor/buildlink3.mk
index 912f754ea5c..d7279034cb4 100644
--- a/textproc/raptor/buildlink3.mk
+++ b/textproc/raptor/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RAPTOR_BUILDLINK3_MK:= ${RAPTOR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= raptor
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nraptor}
BUILDLINK_PACKAGES+= raptor
-BUILDLINK_ORDER+= raptor
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}raptor
.if !empty(RAPTOR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.raptor?= raptor>=1.0.0
diff --git a/textproc/ruby-eruby/buildlink3.mk b/textproc/ruby-eruby/buildlink3.mk
index 0b5844d6d5f..f15827c59c7 100644
--- a/textproc/ruby-eruby/buildlink3.mk
+++ b/textproc/ruby-eruby/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RUBY_ERUBY_BUILDLINK3_MK:= ${RUBY_ERUBY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-eruby
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_PKGPREFIX}-eruby}
BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-eruby
-BUILDLINK_ORDER+= ${RUBY_PKGPREFIX}-eruby
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${RUBY_PKGPREFIX}-eruby
.if !empty(RUBY_ERUBY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ruby18-eruby+= ${RUBY_PKGPREFIX}-eruby>=0.9.7
diff --git a/textproc/ruby-rdtool/buildlink3.mk b/textproc/ruby-rdtool/buildlink3.mk
index 2b852a13ec5..ddd48cca7c3 100644
--- a/textproc/ruby-rdtool/buildlink3.mk
+++ b/textproc/ruby-rdtool/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= ${RUBY_PKGPREFIX}-rdtool
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${RUBY_PKGPREFIX}-rdtool}
BUILDLINK_PACKAGES+= ${RUBY_PKGPREFIX}-rdtool
-BUILDLINK_ORDER+= ${RUBY_PKGPREFIX}-rdtool
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${RUBY_PKGPREFIX}-rdtool
.if !empty(RUBY_RDTOOL_BUILDLINK3_MK:M+)
diff --git a/textproc/sablotron/buildlink3.mk b/textproc/sablotron/buildlink3.mk
index 83e5daa4506..4375ed3f31f 100644
--- a/textproc/sablotron/buildlink3.mk
+++ b/textproc/sablotron/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SABLOTRON_BUILDLINK3_MK:= ${SABLOTRON_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sablotron
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsablotron}
BUILDLINK_PACKAGES+= sablotron
-BUILDLINK_ORDER+= sablotron
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sablotron
.if !empty(SABLOTRON_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sablotron+= sablotron>=1.0
diff --git a/textproc/scrollkeeper/buildlink3.mk b/textproc/scrollkeeper/buildlink3.mk
index 51505429716..31fd82e5160 100644
--- a/textproc/scrollkeeper/buildlink3.mk
+++ b/textproc/scrollkeeper/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SCROLLKEEPER_BUILDLINK3_MK:= ${SCROLLKEEPER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= scrollkeeper
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nscrollkeeper}
BUILDLINK_PACKAGES+= scrollkeeper
-BUILDLINK_ORDER+= scrollkeeper
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}scrollkeeper
.if !empty(SCROLLKEEPER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.scrollkeeper+= scrollkeeper>=0.3.12nb2
diff --git a/textproc/xalan-c/buildlink3.mk b/textproc/xalan-c/buildlink3.mk
index 2c4b611ab1d..dc5ade4b298 100644
--- a/textproc/xalan-c/buildlink3.mk
+++ b/textproc/xalan-c/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XALAN_C_BUILDLINK3_MK:= ${XALAN_C_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xalan-c
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxalan-c}
BUILDLINK_PACKAGES+= xalan-c
-BUILDLINK_ORDER+= xalan-c
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xalan-c
.if !empty(XALAN_C_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xalan-c+= xalan-c>=1.6nb3
diff --git a/textproc/xerces-c/buildlink3.mk b/textproc/xerces-c/buildlink3.mk
index 630872cf559..dffc1c8516c 100644
--- a/textproc/xerces-c/buildlink3.mk
+++ b/textproc/xerces-c/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XERCES_C_BUILDLINK3_MK:= ${XERCES_C_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xerces-c
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxerces-c}
BUILDLINK_PACKAGES+= xerces-c
-BUILDLINK_ORDER+= xerces-c
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xerces-c
.if !empty(XERCES_C_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xerces-c+= xerces-c>=2.3.0
diff --git a/textproc/xmlcatmgr/buildlink3.mk b/textproc/xmlcatmgr/buildlink3.mk
index 7755947d5f8..57416be2337 100644
--- a/textproc/xmlcatmgr/buildlink3.mk
+++ b/textproc/xmlcatmgr/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:11 jlam Exp $
#
# This Makefile fragment is included by packages that use xmlcatmgr.
#
@@ -21,7 +21,7 @@ BUILDLINK_DEPENDS+= xmlcatmgr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxmlcatmgr}
BUILDLINK_PACKAGES+= xmlcatmgr
-BUILDLINK_ORDER+= xmlcatmgr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xmlcatmgr
.if !empty(XMLCATMGR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xmlcatmgr+= xmlcatmgr>=2.0beta1
diff --git a/time/py-mxDateTime/buildlink3.mk b/time/py-mxDateTime/buildlink3.mk
index a476b8ecb4d..938e4a57670 100644
--- a/time/py-mxDateTime/buildlink3.mk
+++ b/time/py-mxDateTime/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_MXDATETIME_BUILDLINK3_MK:= ${PY_MXDATETIME_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= py-mxDateTime
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-mxDateTime}
BUILDLINK_PACKAGES+= py-mxDateTime
-BUILDLINK_ORDER+= py-mxDateTime
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-mxDateTime
.if !empty(PY_MXDATETIME_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.py-mxDateTime+= ${PYPKGPREFIX}-mxDateTime>=2.0.5
diff --git a/time/xfce4-calendar/buildlink3.mk b/time/xfce4-calendar/buildlink3.mk
index 7fb5cf75387..18f38976321 100644
--- a/time/xfce4-calendar/buildlink3.mk
+++ b/time/xfce4-calendar/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_CALENDAR_BUILDLINK3_MK:= ${XFCE4_CALENDAR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-calendar
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-calendar}
BUILDLINK_PACKAGES+= xfce4-calendar
-BUILDLINK_ORDER+= xfce4-calendar
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-calendar
.if !empty(XFCE4_CALENDAR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-calendar+= xfce4-calendar>=4.2.3
diff --git a/time/xfce4-datetime-plugin/buildlink3.mk b/time/xfce4-datetime-plugin/buildlink3.mk
index e970d6a7a47..4e1e3870f2c 100644
--- a/time/xfce4-datetime-plugin/buildlink3.mk
+++ b/time/xfce4-datetime-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_DATETIME_PLUGIN_BUILDLINK3_MK:= ${XFCE4_DATETIME_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-datetime-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-datetime-plugin}
BUILDLINK_PACKAGES+= xfce4-datetime-plugin
-BUILDLINK_ORDER+= xfce4-datetime-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-datetime-plugin
.if !empty(XFCE4_DATETIME_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-datetime-plugin+= xfce4-datetime-plugin>=0.3.1
diff --git a/wm/metacity/buildlink3.mk b/wm/metacity/buildlink3.mk
index ac6e603a341..c7785d75f2c 100644
--- a/wm/metacity/buildlink3.mk
+++ b/wm/metacity/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
METACITY_BUILDLINK3_MK:= ${METACITY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= metacity
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmetacity}
BUILDLINK_PACKAGES+= metacity
-BUILDLINK_ORDER+= metacity
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}metacity
.if !empty(METACITY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.metacity+= metacity>=2.8.5
diff --git a/wm/openbox/buildlink3.mk b/wm/openbox/buildlink3.mk
index 1aa1a30542a..3035fd0e251 100644
--- a/wm/openbox/buildlink3.mk
+++ b/wm/openbox/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENBOX_BUILDLINK3_MK:= ${OPENBOX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openbox
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenbox}
BUILDLINK_PACKAGES+= openbox
-BUILDLINK_ORDER+= openbox
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openbox
.if !empty(OPENBOX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openbox+= openbox>=3.1
diff --git a/wm/windowmaker/buildlink3.mk b/wm/windowmaker/buildlink3.mk
index 308f0cc53af..f14f8107618 100644
--- a/wm/windowmaker/buildlink3.mk
+++ b/wm/windowmaker/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:11 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WINDOWMAKER_BUILDLINK3_MK:= ${WINDOWMAKER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= windowmaker
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nwindowmaker}
BUILDLINK_PACKAGES+= windowmaker
-BUILDLINK_ORDER+= windowmaker
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}windowmaker
.if !empty(WINDOWMAKER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.windowmaker+= windowmaker>=0.80.2nb3
diff --git a/wm/xfce4-wm-themes/buildlink3.mk b/wm/xfce4-wm-themes/buildlink3.mk
index 8ae40b884b4..ff637c0ffde 100644
--- a/wm/xfce4-wm-themes/buildlink3.mk
+++ b/wm/xfce4-wm-themes/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_WM_THEMES_BUILDLINK3_MK:= ${XFCE4_WM_THEMES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-wm-themes
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-wm-themes}
BUILDLINK_PACKAGES+= xfce4-wm-themes
-BUILDLINK_ORDER+= xfce4-wm-themes
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-wm-themes
.if !empty(XFCE4_WM_THEMES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-wm-themes+= xfce4-wm-themes>=4.2.3
diff --git a/wm/xfce4-wm/buildlink3.mk b/wm/xfce4-wm/buildlink3.mk
index df9bf72fb56..256f90c35ba 100644
--- a/wm/xfce4-wm/buildlink3.mk
+++ b/wm/xfce4-wm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_WM_BUILDLINK3_MK:= ${XFCE4_WM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-wm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-wm}
BUILDLINK_PACKAGES+= xfce4-wm
-BUILDLINK_ORDER+= xfce4-wm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-wm
.if !empty(XFCE4_WM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-wm+= xfce4-wm>=4.2.3.2
diff --git a/www/ap-perl/buildlink3.mk b/www/ap-perl/buildlink3.mk
index 50c10016b2a..e81263b9a88 100644
--- a/www/ap-perl/buildlink3.mk
+++ b/www/ap-perl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AP_PERL_BUILDLINK3_MK:= ${AP_PERL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ap13-perl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nap-perl}
BUILDLINK_PACKAGES+= ap13-perl
-BUILDLINK_ORDER+= ap13-perl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ap13-perl
.if !empty(AP_PERL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ap13-perl+= ap13-perl>=1.29
diff --git a/www/ap2-perl/buildlink3.mk b/www/ap2-perl/buildlink3.mk
index ca8084ed2bc..adcd699802f 100644
--- a/www/ap2-perl/buildlink3.mk
+++ b/www/ap2-perl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
AP2_PERL_BUILDLINK3_MK:= ${AP2_PERL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ap2-perl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nap2-perl}
BUILDLINK_PACKAGES+= ap2-perl
-BUILDLINK_ORDER+= ap2-perl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ap2-perl
.if !empty(AP2_PERL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ap2-perl+= ap2-perl>=2.0.1
diff --git a/www/apache/buildlink3.mk b/www/apache/buildlink3.mk
index d91c0bfc676..52b1fc1030e 100644
--- a/www/apache/buildlink3.mk
+++ b/www/apache/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:42 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= apache
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napache}
BUILDLINK_PACKAGES+= apache
-BUILDLINK_ORDER+= apache
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apache
.if !empty(APACHE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.apache+= apache-1.3.*
diff --git a/www/apache2/buildlink3.mk b/www/apache2/buildlink3.mk
index 82e190434cb..600078ec386 100644
--- a/www/apache2/buildlink3.mk
+++ b/www/apache2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= apache
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napache}
BUILDLINK_PACKAGES+= apache
-BUILDLINK_ORDER+= apache
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apache
.if !empty(APACHE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.apache+= apache>=2.0.51
diff --git a/www/cgic/buildlink3.mk b/www/cgic/buildlink3.mk
index 3a0b48c7156..5132df5a982 100644
--- a/www/cgic/buildlink3.mk
+++ b/www/cgic/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CGIC_BUILDLINK3_MK:= ${CGIC_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cgic
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncgic}
BUILDLINK_PACKAGES+= cgic
-BUILDLINK_ORDER+= cgic
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cgic
.if !empty(CGIC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cgic+= cgic>=2.02nb1
diff --git a/www/cgilib/buildlink3.mk b/www/cgilib/buildlink3.mk
index 44e63cd9d07..a387a8b8836 100644
--- a/www/cgilib/buildlink3.mk
+++ b/www/cgilib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CGILIB_BUILDLINK3_MK:= ${CGILIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= cgilib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncgilib}
BUILDLINK_PACKAGES+= cgilib
-BUILDLINK_ORDER+= cgilib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}cgilib
.if !empty(CGILIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cgilib+= cgilib>=0.5nb1
diff --git a/www/clearsilver/buildlink3.mk b/www/clearsilver/buildlink3.mk
index a153ef10af9..0ab324b4705 100644
--- a/www/clearsilver/buildlink3.mk
+++ b/www/clearsilver/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPMETHOD.clearsilver?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= clearsilver-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nclearsilver-base}
BUILDLINK_PACKAGES+= clearsilver-base
-BUILDLINK_ORDER+= clearsilver-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}clearsilver-base
.if !empty(CLEARSILVER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.clearsilver+= clearsilver-base>=0.9.0
diff --git a/www/curl/buildlink3.mk b/www/curl/buildlink3.mk
index 81bb94a7259..be05bbd67a4 100644
--- a/www/curl/buildlink3.mk
+++ b/www/curl/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CURL_BUILDLINK3_MK:= ${CURL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= curl
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncurl}
BUILDLINK_PACKAGES+= curl
-BUILDLINK_ORDER+= curl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}curl
.if !empty(CURL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.curl+= curl>=7.12.3
diff --git a/www/epiphany/buildlink3.mk b/www/epiphany/buildlink3.mk
index b127724773f..c7b66f27ec9 100644
--- a/www/epiphany/buildlink3.mk
+++ b/www/epiphany/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:11:12 jlam Exp $
#
# This Makefile fragment is included by packages that use epiphany.
#
@@ -14,7 +14,7 @@ BUILDLINK_DEPENDS+= epiphany
.if !empty(EPIPHANY_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= epiphany
-BUILDLINK_ORDER+= epiphany
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}epiphany
BUILDLINK_API_DEPENDS.epiphany+= epiphany>=1.8.2
BUILDLINK_ABI_DEPENDS.epiphany?= epiphany>=2.14.0nb1
BUILDLINK_PKGSRCDIR.epiphany?= ../../www/epiphany
diff --git a/www/fcgi/buildlink3.mk b/www/fcgi/buildlink3.mk
index b585e9aa809..80828c1fb6c 100644
--- a/www/fcgi/buildlink3.mk
+++ b/www/fcgi/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FCGI_BUILDLINK3_MK:= ${FCGI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fcgi
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfcgi}
BUILDLINK_PACKAGES+= fcgi
-BUILDLINK_ORDER+= fcgi
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fcgi
.if !empty(FCGI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fcgi+= fcgi>=2.2.2nb1
diff --git a/www/firefox-gtk1/buildlink3.mk b/www/firefox-gtk1/buildlink3.mk
index de53cbd3bab..a8331f7a10e 100644
--- a/www/firefox-gtk1/buildlink3.mk
+++ b/www/firefox-gtk1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FIREFOX_GTK2_BUILDLINK3_MK:= ${FIREFOX_GTK2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= firefox-gtk1
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfirefox-gtk1}
BUILDLINK_PACKAGES+= firefox-gtk1
-BUILDLINK_ORDER+= firefox-gtk1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}firefox-gtk1
.if !empty(FIREFOX_GTK2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.firefox-gtk1+= firefox-gtk1>=1.5
diff --git a/www/firefox/buildlink3.mk b/www/firefox/buildlink3.mk
index c9f950fbf80..431effd1ac2 100644
--- a/www/firefox/buildlink3.mk
+++ b/www/firefox/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FIREFOX_BUILDLINK3_MK:= ${FIREFOX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= firefox
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfirefox}
BUILDLINK_PACKAGES+= firefox
-BUILDLINK_ORDER+= firefox
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}firefox
.if !empty(FIREFOX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.firefox+= firefox>=1.5
diff --git a/www/glibwww/buildlink3.mk b/www/glibwww/buildlink3.mk
index 00ef8ea642e..d0a283d5806 100644
--- a/www/glibwww/buildlink3.mk
+++ b/www/glibwww/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GLIBWWW_BUILDLINK3_MK:= ${GLIBWWW_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= glibwww
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nglibwww}
BUILDLINK_PACKAGES+= glibwww
-BUILDLINK_ORDER+= glibwww
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}glibwww
.if !empty(GLIBWWW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.glibwww?= glibwww>=0.2nb5
diff --git a/www/gtkhtml/buildlink3.mk b/www/gtkhtml/buildlink3.mk
index 6256675058e..370a7a12343 100644
--- a/www/gtkhtml/buildlink3.mk
+++ b/www/gtkhtml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKHTML_BUILDLINK3_MK:= ${GTKHTML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkhtml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkhtml}
BUILDLINK_PACKAGES+= gtkhtml
-BUILDLINK_ORDER+= gtkhtml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkhtml
.if !empty(GTKHTML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkhtml?= gtkhtml>=1.1.10nb5
diff --git a/www/gtkhtml38/buildlink3.mk b/www/gtkhtml38/buildlink3.mk
index 5d556af72b1..8c6bc3ae57d 100644
--- a/www/gtkhtml38/buildlink3.mk
+++ b/www/gtkhtml38/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKHTML38_BUILDLINK3_MK:= ${GTKHTML38_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkhtml38
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkhtml38}
BUILDLINK_PACKAGES+= gtkhtml38
-BUILDLINK_ORDER+= gtkhtml38
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkhtml38
.if !empty(GTKHTML38_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkhtml38+= gtkhtml38>=3.8.0
diff --git a/www/libghttp/buildlink3.mk b/www/libghttp/buildlink3.mk
index 9f5a7e0e74b..db1f8fa54da 100644
--- a/www/libghttp/buildlink3.mk
+++ b/www/libghttp/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGHTTP_BUILDLINK3_MK:= ${LIBGHTTP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libghttp
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibghttp}
BUILDLINK_PACKAGES+= libghttp
-BUILDLINK_ORDER+= libghttp
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libghttp
.if !empty(LIBGHTTP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libghttp+= libghttp>=1.0.9
diff --git a/www/libgtkhtml/buildlink3.mk b/www/libgtkhtml/buildlink3.mk
index cf958f5c85e..d723668b856 100644
--- a/www/libgtkhtml/buildlink3.mk
+++ b/www/libgtkhtml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGTKHTML_BUILDLINK3_MK:= ${LIBGTKHTML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libgtkhtml
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgtkhtml}
BUILDLINK_PACKAGES+= libgtkhtml
-BUILDLINK_ORDER+= libgtkhtml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libgtkhtml
.if !empty(LIBGTKHTML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgtkhtml+= libgtkhtml>=2.6.0
diff --git a/www/libwww/buildlink3.mk b/www/libwww/buildlink3.mk
index 71813ce5624..770beecf327 100644
--- a/www/libwww/buildlink3.mk
+++ b/www/libwww/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBWWW_BUILDLINK3_MK:= ${LIBWWW_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libwww
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibwww}
BUILDLINK_PACKAGES+= libwww
-BUILDLINK_ORDER+= libwww
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libwww
.if !empty(LIBWWW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libwww+= libwww>=5.3.2nb2
diff --git a/www/mozilla-gtk2/buildlink3.mk b/www/mozilla-gtk2/buildlink3.mk
index c4d3c7c55bd..37466d82477 100644
--- a/www/mozilla-gtk2/buildlink3.mk
+++ b/www/mozilla-gtk2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MOZILLA_GTK2_BUILDLINK3_MK:= ${MOZILLA_GTK2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mozilla-gtk2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmozilla-gtk2}
BUILDLINK_PACKAGES+= mozilla-gtk2
-BUILDLINK_ORDER+= mozilla-gtk2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mozilla-gtk2
.if !empty(MOZILLA_GTK2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mozilla-gtk2+= mozilla-gtk2>=1.7.5
diff --git a/www/mozilla/buildlink3.mk b/www/mozilla/buildlink3.mk
index dc8545ef4bb..a381e2bb00b 100644
--- a/www/mozilla/buildlink3.mk
+++ b/www/mozilla/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2006/07/08 22:39:43 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MOZILLA_BUILDLINK3_MK:= ${MOZILLA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= mozilla
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmozilla}
BUILDLINK_PACKAGES+= mozilla
-BUILDLINK_ORDER+= mozilla
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}mozilla
.if !empty(MOZILLA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mozilla+= mozilla>=1.7.5
diff --git a/www/neon/buildlink3.mk b/www/neon/buildlink3.mk
index 001b5676764..ef3a581c3fb 100644
--- a/www/neon/buildlink3.mk
+++ b/www/neon/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NEON_BUILDLINK3_MK:= ${NEON_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= neon
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nneon}
BUILDLINK_PACKAGES+= neon
-BUILDLINK_ORDER+= neon
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}neon
.if !empty(NEON_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.neon+= neon>=0.24.4
diff --git a/www/php4/buildlink3.mk b/www/php4/buildlink3.mk
index 2018643fc87..94576cb42c1 100644
--- a/www/php4/buildlink3.mk
+++ b/www/php4/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PHP_BUILDLINK3_MK:= ${PHP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= php
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp}
BUILDLINK_PACKAGES+= php
-BUILDLINK_ORDER+= php
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}php
.if !empty(PHP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.php+= php-4.4.*
diff --git a/www/seamonkey-gtk1/buildlink3.mk b/www/seamonkey-gtk1/buildlink3.mk
index b504ed963f1..b6f36f89812 100644
--- a/www/seamonkey-gtk1/buildlink3.mk
+++ b/www/seamonkey-gtk1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SEAMONKEY_GTK1_BUILDLINK3_MK:= ${SEAMONKEY_GTK1_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= seamonkey-gtk1
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nseamonkey-gtk1}
BUILDLINK_PACKAGES+= seamonkey-gtk1
-BUILDLINK_ORDER+= seamonkey-gtk1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}seamonkey-gtk1
.if !empty(SEAMONKEY_GTK1_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.seamonkey-gtk1+= seamonkey-gtk1>=1.0
diff --git a/www/seamonkey/buildlink3.mk b/www/seamonkey/buildlink3.mk
index c16719b0646..257c8396361 100644
--- a/www/seamonkey/buildlink3.mk
+++ b/www/seamonkey/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SEAMONKEY_BUILDLINK3_MK:= ${SEAMONKEY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= seamonkey
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nseamonkey}
BUILDLINK_PACKAGES+= seamonkey
-BUILDLINK_ORDER+= seamonkey
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}seamonkey
.if !empty(SEAMONKEY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.seamonkey+= seamonkey>=1.0
diff --git a/www/sope/buildlink3.mk b/www/sope/buildlink3.mk
index 13728fe8c6d..e06c52e0ed7 100644
--- a/www/sope/buildlink3.mk
+++ b/www/sope/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SOPE_BUILDLINK3_MK:= ${SOPE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= sope
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsope}
BUILDLINK_PACKAGES+= sope
-BUILDLINK_ORDER+= sope
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}sope
.if !empty(SOPE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.sope+= sope>=4.5.4nb2
diff --git a/www/tidy/buildlink3.mk b/www/tidy/buildlink3.mk
index db9163d237e..febf1d5b016 100644
--- a/www/tidy/buildlink3.mk
+++ b/www/tidy/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TIDY_BUILDLINK3_MK:= ${TIDY_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tidy
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntidy}
BUILDLINK_PACKAGES+= tidy
-BUILDLINK_ORDER+= tidy
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tidy
.if !empty(TIDY_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tidy+= tidy>=20031002
diff --git a/x11/Xaw-Xpm/buildlink3.mk b/x11/Xaw-Xpm/buildlink3.mk
index cf8783d399b..54873060527 100644
--- a/x11/Xaw-Xpm/buildlink3.mk
+++ b/x11/Xaw-Xpm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XAW_XPM_BUILDLINK3_MK:= ${XAW_XPM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xaw-Xpm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXaw-Xpm}
BUILDLINK_PACKAGES+= Xaw-Xpm
-BUILDLINK_ORDER+= Xaw-Xpm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xaw-Xpm
.if !empty(XAW_XPM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xaw-Xpm+= Xaw-Xpm>=1.1
diff --git a/x11/Xaw3d/buildlink3.mk b/x11/Xaw3d/buildlink3.mk
index b7b0f2a54ac..80168c35416 100644
--- a/x11/Xaw3d/buildlink3.mk
+++ b/x11/Xaw3d/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XAW3D_BUILDLINK3_MK:= ${XAW3D_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xaw3d
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXaw3d}
BUILDLINK_PACKAGES+= Xaw3d
-BUILDLINK_ORDER+= Xaw3d
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xaw3d
.if !empty(XAW3D_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xaw3d+= Xaw3d>=1.5
diff --git a/x11/Xbae/buildlink3.mk b/x11/Xbae/buildlink3.mk
index 1025a5d2244..77865ce48e1 100644
--- a/x11/Xbae/buildlink3.mk
+++ b/x11/Xbae/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XBAE_BUILDLINK3_MK:= ${XBAE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xbae
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXbae}
BUILDLINK_PACKAGES+= Xbae
-BUILDLINK_ORDER+= Xbae
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xbae
.if !empty(XBAE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xbae+= Xbae>=4.8.4
diff --git a/x11/Xcomposite/buildlink3.mk b/x11/Xcomposite/buildlink3.mk
index 5370c9b0b89..b749830b204 100644
--- a/x11/Xcomposite/buildlink3.mk
+++ b/x11/Xcomposite/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XCOMPOSITE_BUILDLINK3_MK:= ${XCOMPOSITE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xcomposite
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXcomposite}
BUILDLINK_PACKAGES+= Xcomposite
-BUILDLINK_ORDER+= Xcomposite
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xcomposite
.if !empty(XCOMPOSITE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xcomposite+= Xcomposite>=1.0.1
diff --git a/x11/Xfixes/buildlink3.mk b/x11/Xfixes/buildlink3.mk
index 2707121f638..26a67e891fb 100644
--- a/x11/Xfixes/buildlink3.mk
+++ b/x11/Xfixes/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFIXES_BUILDLINK3_MK:= ${XFIXES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xfixes
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXfixes}
BUILDLINK_PACKAGES+= Xfixes
-BUILDLINK_ORDER+= Xfixes
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xfixes
.if !empty(XFIXES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xfixes+= Xfixes>=2.0.0
diff --git a/x11/XmHTML/buildlink3.mk b/x11/XmHTML/buildlink3.mk
index 946b7ea874c..e3d55cfd289 100644
--- a/x11/XmHTML/buildlink3.mk
+++ b/x11/XmHTML/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XMHTML_BUILDLINK3_MK:= ${XMHTML_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= XmHTML
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXmHTML}
BUILDLINK_PACKAGES+= XmHTML
-BUILDLINK_ORDER+= XmHTML
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}XmHTML
.if !empty(XMHTML_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.XmHTML+= XmHTML>=1.1.7nb2
diff --git a/x11/Xrandr-mixedcase/buildlink3.mk b/x11/Xrandr-mixedcase/buildlink3.mk
index 8eaee5f2d39..b082d456b91 100644
--- a/x11/Xrandr-mixedcase/buildlink3.mk
+++ b/x11/Xrandr-mixedcase/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.23 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.24 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XRANDR_BUILDLINK3_MK:= ${XRANDR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xrandr
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXrandr}
BUILDLINK_PACKAGES+= Xrandr
-BUILDLINK_ORDER+= Xrandr
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xrandr
.if !empty(XRANDR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xrandr+= Xrandr>=0.99
diff --git a/x11/Xrender/buildlink3.mk b/x11/Xrender/buildlink3.mk
index bafaf6b95ae..53560886741 100644
--- a/x11/Xrender/buildlink3.mk
+++ b/x11/Xrender/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.40 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.41 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XRENDER_BUILDLINK3_MK:= ${XRENDER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Xrender
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NXrender}
BUILDLINK_PACKAGES+= Xrender
-BUILDLINK_ORDER+= Xrender
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Xrender
.if !empty(XRENDER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Xrender+= Xrender>=0.2
diff --git a/x11/blt/buildlink3.mk b/x11/blt/buildlink3.mk
index 8a781d15d71..7b46252c08d 100644
--- a/x11/blt/buildlink3.mk
+++ b/x11/blt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
BLT_BUILDLINK3_MK:= ${BLT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= blt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nblt}
BUILDLINK_PACKAGES+= blt
-BUILDLINK_ORDER+= blt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}blt
.if !empty(BLT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.blt+= blt>=2.4z
diff --git a/x11/compositeproto/buildlink3.mk b/x11/compositeproto/buildlink3.mk
index e2b381c390d..1cd74ed2730 100644
--- a/x11/compositeproto/buildlink3.mk
+++ b/x11/compositeproto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPMETHOD.compositeproto?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= compositeproto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncompositeproto}
BUILDLINK_PACKAGES+= compositeproto
-BUILDLINK_ORDER+= compositeproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}compositeproto
.if !empty(COMPOSITEPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.compositeproto+= compositeproto>=0.2.1
diff --git a/x11/control-center/buildlink3.mk b/x11/control-center/buildlink3.mk
index b6cbcdef2ec..000966cc7df 100644
--- a/x11/control-center/buildlink3.mk
+++ b/x11/control-center/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
CONTROL_CENTER_BUILDLINK3_MK:= ${CONTROL_CENTER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= control-center
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ncontrol-center}
BUILDLINK_PACKAGES+= control-center
-BUILDLINK_ORDER+= control-center
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}control-center
.if !empty(CONTROL_CENTER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.control-center+= control-center>=1.4.0.4nb9
diff --git a/x11/efltk/buildlink3.mk b/x11/efltk/buildlink3.mk
index 54b71b76559..2d57d4b0455 100644
--- a/x11/efltk/buildlink3.mk
+++ b/x11/efltk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EFLTK_BUILDLINK3_MK:= ${EFLTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= efltk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nefltk}
BUILDLINK_PACKAGES+= efltk
-BUILDLINK_ORDER+= efltk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}efltk
.if !empty(EFLTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.efltk+= efltk>=2.0.5nb1
diff --git a/x11/fixesproto/buildlink3.mk b/x11/fixesproto/buildlink3.mk
index 2f0248c31df..1bac58735ce 100644
--- a/x11/fixesproto/buildlink3.mk
+++ b/x11/fixesproto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:44 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPMETHOD.fixesproto?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= fixesproto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfixesproto}
BUILDLINK_PACKAGES+= fixesproto
-BUILDLINK_ORDER+= fixesproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fixesproto
.if !empty(FIXESPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fixesproto+= fixesproto>=3.0.0
diff --git a/x11/fltk/buildlink3.mk b/x11/fltk/buildlink3.mk
index 866f27e7af4..7adf06d8478 100644
--- a/x11/fltk/buildlink3.mk
+++ b/x11/fltk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FLTK_BUILDLINK3_MK:= ${FLTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fltk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfltk}
BUILDLINK_PACKAGES+= fltk
-BUILDLINK_ORDER+= fltk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fltk
.if !empty(FLTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fltk+= fltk>=1.1.5rc1
diff --git a/x11/fox/buildlink3.mk b/x11/fox/buildlink3.mk
index 56c5039f2f4..9300800b3df 100644
--- a/x11/fox/buildlink3.mk
+++ b/x11/fox/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
FOX_BUILDLINK3_MK:= ${FOX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= fox
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfox}
BUILDLINK_PACKAGES+= fox
-BUILDLINK_ORDER+= fox
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fox
.if !empty(FOX_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.fox+= fox>=1.4.16
diff --git a/x11/gnome-desktop/buildlink3.mk b/x11/gnome-desktop/buildlink3.mk
index c1da2b95ab8..f13189507af 100644
--- a/x11/gnome-desktop/buildlink3.mk
+++ b/x11/gnome-desktop/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_DESKTOP_BUILDLINK3_MK:= ${GNOME_DESKTOP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-desktop
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-desktop}
BUILDLINK_PACKAGES+= gnome-desktop
-BUILDLINK_ORDER+= gnome-desktop
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-desktop
.if !empty(GNOME_DESKTOP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-desktop+= gnome-desktop>=2.14.0
diff --git a/x11/gnome-libs/buildlink3.mk b/x11/gnome-libs/buildlink3.mk
index 6d7398901cb..35ee4e422d9 100644
--- a/x11/gnome-libs/buildlink3.mk
+++ b/x11/gnome-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_LIBS_BUILDLINK3_MK:= ${GNOME_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-libs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-libs}
BUILDLINK_PACKAGES+= gnome-libs
-BUILDLINK_ORDER+= gnome-libs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-libs
.if !empty(GNOME_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-libs+= gnome-libs>=1.4.2nb1
diff --git a/x11/gnome-mag/buildlink3.mk b/x11/gnome-mag/buildlink3.mk
index 42da3de3ce2..91edfdbb128 100644
--- a/x11/gnome-mag/buildlink3.mk
+++ b/x11/gnome-mag/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:13 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_MAG_BUILDLINK3_MK:= ${GNOME_MAG_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-mag
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-mag}
BUILDLINK_PACKAGES+= gnome-mag
-BUILDLINK_ORDER+= gnome-mag
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-mag
.if !empty(GNOME_MAG_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-mag+= gnome-mag>=0.12.0
diff --git a/x11/gnome-panel/buildlink3.mk b/x11/gnome-panel/buildlink3.mk
index c3b2e62506f..7d0da78570c 100644
--- a/x11/gnome-panel/buildlink3.mk
+++ b/x11/gnome-panel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME_PANEL_BUILDLINK3_MK:= ${GNOME_PANEL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome-panel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome-panel}
BUILDLINK_PACKAGES+= gnome-panel
-BUILDLINK_ORDER+= gnome-panel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome-panel
.if !empty(GNOME_PANEL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome-panel+= gnome-panel>=2.12.1nb3
diff --git a/x11/gnome2-control-center/buildlink3.mk b/x11/gnome2-control-center/buildlink3.mk
index 78581cb9e58..207f1b21701 100644
--- a/x11/gnome2-control-center/buildlink3.mk
+++ b/x11/gnome2-control-center/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNOME2_CONTROL_CENTER_BUILDLINK3_MK:= ${GNOME2_CONTROL_CENTER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnome2-control-center
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnome2-control-center}
BUILDLINK_PACKAGES+= gnome2-control-center
-BUILDLINK_ORDER+= gnome2-control-center
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnome2-control-center
.if !empty(GNOME2_CONTROL_CENTER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnome2-control-center+= gnome2-control-center>=2.12.1nb1
diff --git a/x11/gnustep-back/buildlink3.mk b/x11/gnustep-back/buildlink3.mk
index 671217b46bd..1beedaf7bb1 100644
--- a/x11/gnustep-back/buildlink3.mk
+++ b/x11/gnustep-back/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_BACK_BUILDLINK3_MK:= ${GNUSTEP_BACK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-back
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-back}
BUILDLINK_PACKAGES+= gnustep-back
-BUILDLINK_ORDER+= gnustep-back
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-back
.if !empty(GNUSTEP_BACK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-back+= gnustep-back>=0.9.2
diff --git a/x11/gnustep-gui/buildlink3.mk b/x11/gnustep-gui/buildlink3.mk
index 61a8b9cc76e..064432f4f90 100644
--- a/x11/gnustep-gui/buildlink3.mk
+++ b/x11/gnustep-gui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_GUI_BUILDLINK3_MK:= ${GNUSTEP_GUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-gui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-gui}
BUILDLINK_PACKAGES+= gnustep-gui
-BUILDLINK_ORDER+= gnustep-gui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-gui
.if !empty(GNUSTEP_GUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-gui+= gnustep-gui>=0.9.2
diff --git a/x11/gnustep-preferences/buildlink3.mk b/x11/gnustep-preferences/buildlink3.mk
index 59dab3e901d..eb1d19821af 100644
--- a/x11/gnustep-preferences/buildlink3.mk
+++ b/x11/gnustep-preferences/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GNUSTEP_PREFERENCES_BUILDLINK3_MK:= ${GNUSTEP_PREFERENCES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gnustep-preferences
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngnustep-preferences}
BUILDLINK_PACKAGES+= gnustep-preferences
-BUILDLINK_ORDER+= gnustep-preferences
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gnustep-preferences
.if !empty(GNUSTEP_PREFERENCES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gnustep-preferences+= gnustep-preferences>=1.2.0
diff --git a/x11/gtk+extra/buildlink3.mk b/x11/gtk+extra/buildlink3.mk
index 8a8ddd539a6..f62894ddfe9 100644
--- a/x11/gtk+extra/buildlink3.mk
+++ b/x11/gtk+extra/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK+EXTRA_BUILDLINK3_MK:= ${GTK+EXTRA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtk+extra
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk+extra}
BUILDLINK_PACKAGES+= gtk+extra
-BUILDLINK_ORDER+= gtk+extra
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtk+extra
.if !empty(GTK+EXTRA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtk+extra+= gtk+extra>=0.99.17nb2
diff --git a/x11/gtk/buildlink3.mk b/x11/gtk/buildlink3.mk
index a0ff3005eb9..f5df2da813d 100644
--- a/x11/gtk/buildlink3.mk
+++ b/x11/gtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK_BUILDLINK3_MK:= ${GTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk}
BUILDLINK_PACKAGES+= gtk
-BUILDLINK_ORDER+= gtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtk
.if !empty(GTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtk+= gtk+>=1.2.10
diff --git a/x11/gtk2+extra/buildlink3.mk b/x11/gtk2+extra/buildlink3.mk
index b976c6d9e0b..b1f352a1e7a 100644
--- a/x11/gtk2+extra/buildlink3.mk
+++ b/x11/gtk2+extra/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK2+EXTRA_BUILDLINK3_MK:= ${GTK2+EXTRA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtk2+extra
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk2+extra}
BUILDLINK_PACKAGES+= gtk2+extra
-BUILDLINK_ORDER+= gtk2+extra
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtk2+extra
.if !empty(GTK2+EXTRA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtk2+extra+= gtk2+extra>=2.1.1
diff --git a/x11/gtk2-engines/buildlink3.mk b/x11/gtk2-engines/buildlink3.mk
index 85c7a048d0d..9b9d2c9875d 100644
--- a/x11/gtk2-engines/buildlink3.mk
+++ b/x11/gtk2-engines/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK2_ENGINES_BUILDLINK3_MK:= ${GTK2_ENGINES_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtk2-engines
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk2-engines}
BUILDLINK_PACKAGES+= gtk2-engines
-BUILDLINK_ORDER+= gtk2-engines
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtk2-engines
.if !empty(GTK2_ENGINES_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtk2-engines+= gtk2-engines>=2.6.0
diff --git a/x11/gtk2/buildlink3.mk b/x11/gtk2/buildlink3.mk
index b2f4ab89266..1ee96406981 100644
--- a/x11/gtk2/buildlink3.mk
+++ b/x11/gtk2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.26 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.27 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK2_BUILDLINK3_MK:= ${GTK2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtk2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk2}
BUILDLINK_PACKAGES+= gtk2
-BUILDLINK_ORDER+= gtk2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtk2
.if !empty(GTK2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.4.0
diff --git a/x11/gtkglarea/buildlink3.mk b/x11/gtkglarea/buildlink3.mk
index 42ad647b722..ca5356a3899 100644
--- a/x11/gtkglarea/buildlink3.mk
+++ b/x11/gtkglarea/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKGLAREA_BUILDLINK3_MK:= ${GTKGLAREA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkglarea
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkglarea}
BUILDLINK_PACKAGES+= gtkglarea
-BUILDLINK_ORDER+= gtkglarea
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkglarea
.if !empty(GTKGLAREA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkglarea+= gtkglarea>=1.2.2nb3
diff --git a/x11/gtkglarea2/buildlink3.mk b/x11/gtkglarea2/buildlink3.mk
index 71bdcb72ec5..900a8f0c512 100644
--- a/x11/gtkglarea2/buildlink3.mk
+++ b/x11/gtkglarea2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKGLAREA2_BUILDLINK3_MK:= ${GTKGLAREA2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkglarea2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkglarea2}
BUILDLINK_PACKAGES+= gtkglarea2
-BUILDLINK_ORDER+= gtkglarea2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkglarea2
.if !empty(GTKGLAREA2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkglarea2+= gtkglarea2>=1.99.0nb3
diff --git a/x11/gtkmm/buildlink3.mk b/x11/gtkmm/buildlink3.mk
index 0b7b5fe8923..46cf8ec79c5 100644
--- a/x11/gtkmm/buildlink3.mk
+++ b/x11/gtkmm/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKMM_BUILDLINK3_MK:= ${GTKMM_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtkmm
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtkmm}
BUILDLINK_PACKAGES+= gtkmm
-BUILDLINK_ORDER+= gtkmm
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtkmm
.if !empty(GTKMM_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtkmm+= gtkmm>=2.6.3
diff --git a/x11/gtksourceview/buildlink3.mk b/x11/gtksourceview/buildlink3.mk
index a4508fbd8ec..7a3c0a5efed 100644
--- a/x11/gtksourceview/buildlink3.mk
+++ b/x11/gtksourceview/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTKSOURCEVIEW_BUILDLINK3_MK:= ${GTKSOURCEVIEW_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtksourceview
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtksourceview}
BUILDLINK_PACKAGES+= gtksourceview
-BUILDLINK_ORDER+= gtksourceview
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtksourceview
.if !empty(GTKSOURCEVIEW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtksourceview+= gtksourceview>=1.2.0
diff --git a/x11/gtoolkit/buildlink3.mk b/x11/gtoolkit/buildlink3.mk
index 0bd897fa7a8..8f34d58b3ce 100644
--- a/x11/gtoolkit/buildlink3.mk
+++ b/x11/gtoolkit/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTOOLKIT_BUILDLINK3_MK:= ${GTOOLKIT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= gtoolkit
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtoolkit}
BUILDLINK_PACKAGES+= gtoolkit
-BUILDLINK_ORDER+= gtoolkit
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gtoolkit
.if !empty(GTOOLKIT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.gtoolkit+= gtoolkit>=0.9.5nb5
diff --git a/x11/kdebase3/buildlink3.mk b/x11/kdebase3/buildlink3.mk
index b70aec65a22..92bb53836b9 100644
--- a/x11/kdebase3/buildlink3.mk
+++ b/x11/kdebase3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDEBASE_BUILDLINK3_MK:= ${KDEBASE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= kdebase
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdebase}
BUILDLINK_PACKAGES+= kdebase
-BUILDLINK_ORDER+= kdebase
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdebase
.if !empty(KDEBASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdebase+= kdebase>=3.5.0nb2
diff --git a/x11/kdelibs3/buildlink3.mk b/x11/kdelibs3/buildlink3.mk
index b13110a6daa..ccbe41c271b 100644
--- a/x11/kdelibs3/buildlink3.mk
+++ b/x11/kdelibs3/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
KDELIBS_BUILDLINK3_MK:= ${KDELIBS_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= kdelibs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nkdelibs}
BUILDLINK_PACKAGES+= kdelibs
-BUILDLINK_ORDER+= kdelibs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}kdelibs
.if !empty(KDELIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.kdelibs+= kdelibs>=3.2.0
diff --git a/x11/lablgtk/buildlink3.mk b/x11/lablgtk/buildlink3.mk
index 17175aa815a..07a9eec4555 100644
--- a/x11/lablgtk/buildlink3.mk
+++ b/x11/lablgtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LABLGTK_BUILDLINK3_MK:= ${LABLGTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lablgtk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlablgtk}
BUILDLINK_PACKAGES+= lablgtk
-BUILDLINK_ORDER+= lablgtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lablgtk
.if !empty(LABLGTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lablgtk+= lablgtk>=1.2.5nb3
diff --git a/x11/lablgtk2/buildlink3.mk b/x11/lablgtk2/buildlink3.mk
index bdacc0e715b..4a1b4d2128f 100644
--- a/x11/lablgtk2/buildlink3.mk
+++ b/x11/lablgtk2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LABLGTK2_BUILDLINK3_MK:= ${LABLGTK2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lablgtk2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlablgtk2}
BUILDLINK_PACKAGES+= lablgtk2
-BUILDLINK_ORDER+= lablgtk2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lablgtk2
.if !empty(LABLGTK2_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lablgtk2+= lablgtk2>=2.6.0nb3
diff --git a/x11/lesstif/buildlink3.mk b/x11/lesstif/buildlink3.mk
index 49dc00de51e..cb01690a3cf 100644
--- a/x11/lesstif/buildlink3.mk
+++ b/x11/lesstif/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LESSTIF_BUILDLINK3_MK:= ${LESSTIF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= lesstif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlesstif}
BUILDLINK_PACKAGES+= lesstif
-BUILDLINK_ORDER+= lesstif
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lesstif
.if !empty(LESSTIF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.lesstif+= lesstif>=0.91.4
diff --git a/x11/libexo/buildlink3.mk b/x11/libexo/buildlink3.mk
index ddec5e89b1b..3eddce8c554 100644
--- a/x11/libexo/buildlink3.mk
+++ b/x11/libexo/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
EXO_BUILDLINK3_MK:= ${EXO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= exo
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nexo}
BUILDLINK_PACKAGES+= exo
-BUILDLINK_ORDER+= exo
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}exo
.if !empty(EXO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.exo+= exo>=0.3.0
diff --git a/x11/libxfce4gui/buildlink3.mk b/x11/libxfce4gui/buildlink3.mk
index ea10eda2cd2..84826fcac7d 100644
--- a/x11/libxfce4gui/buildlink3.mk
+++ b/x11/libxfce4gui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXFCE4GUI_BUILDLINK3_MK:= ${LIBXFCE4GUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxfce4gui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxfce4gui}
BUILDLINK_PACKAGES+= libxfce4gui
-BUILDLINK_ORDER+= libxfce4gui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxfce4gui
.if !empty(LIBXFCE4GUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxfce4gui+= libxfce4gui>=4.2.3
diff --git a/x11/libxfce4mcs/buildlink3.mk b/x11/libxfce4mcs/buildlink3.mk
index e4a4268d203..a11b62abd1b 100644
--- a/x11/libxfce4mcs/buildlink3.mk
+++ b/x11/libxfce4mcs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXFCE4MCS_BUILDLINK3_MK:= ${LIBXFCE4MCS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxfce4mcs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxfce4mcs}
BUILDLINK_PACKAGES+= libxfce4mcs
-BUILDLINK_ORDER+= libxfce4mcs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxfce4mcs
.if !empty(LIBXFCE4MCS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxfce4mcs+= libxfce4mcs>=4.2.3
diff --git a/x11/libxfce4util/buildlink3.mk b/x11/libxfce4util/buildlink3.mk
index ef298913fef..3fe5ea14564 100644
--- a/x11/libxfce4util/buildlink3.mk
+++ b/x11/libxfce4util/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:14 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXFCE4UTIL_BUILDLINK3_MK:= ${LIBXFCE4UTIL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxfce4util
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxfce4util}
BUILDLINK_PACKAGES+= libxfce4util
-BUILDLINK_ORDER+= libxfce4util
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxfce4util
.if !empty(LIBXFCE4UTIL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxfce4util+= libxfce4util>=4.2.3.2
diff --git a/x11/libxklavier/buildlink3.mk b/x11/libxklavier/buildlink3.mk
index 6297bb5b920..fdcfb5ceef4 100644
--- a/x11/libxklavier/buildlink3.mk
+++ b/x11/libxklavier/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBXKLAVIER_BUILDLINK3_MK:= ${LIBXKLAVIER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libxklavier
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibxklavier}
BUILDLINK_PACKAGES+= libxklavier
-BUILDLINK_ORDER+= libxklavier
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libxklavier
.if !empty(LIBXKLAVIER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libxklavier+= libxklavier>=2.0
diff --git a/x11/libzvt/buildlink3.mk b/x11/libzvt/buildlink3.mk
index 62d5e7e0bb5..7dce8047023 100644
--- a/x11/libzvt/buildlink3.mk
+++ b/x11/libzvt/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBZVT_BUILDLINK3_MK:= ${LIBZVT_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= libzvt
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibzvt}
BUILDLINK_PACKAGES+= libzvt
-BUILDLINK_ORDER+= libzvt
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libzvt
.if !empty(LIBZVT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libzvt+= libzvt>=2.0.1nb5
diff --git a/x11/mowitz/buildlink3.mk b/x11/mowitz/buildlink3.mk
index c7df6311172..b9223e4fa43 100644
--- a/x11/mowitz/buildlink3.mk
+++ b/x11/mowitz/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MOWITZ_BUILDLINK3_MK:= ${MOWITZ_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= Mowitz
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NMowitz}
BUILDLINK_PACKAGES+= Mowitz
-BUILDLINK_ORDER+= Mowitz
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}Mowitz
.if !empty(MOWITZ_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.Mowitz+= Mowitz>=0.2.1
diff --git a/x11/neXtaw/buildlink3.mk b/x11/neXtaw/buildlink3.mk
index 78f3179ac0d..f1e248457e9 100644
--- a/x11/neXtaw/buildlink3.mk
+++ b/x11/neXtaw/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
NEXTAW_BUILDLINK3_MK:= ${NEXTAW_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= neXtaw
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NneXtaw}
BUILDLINK_PACKAGES+= neXtaw
-BUILDLINK_ORDER+= neXtaw
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}neXtaw
.if !empty(NEXTAW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.neXtaw+= neXtaw>=0.15.1
diff --git a/x11/ocaml-graphics/buildlink3.mk b/x11/ocaml-graphics/buildlink3.mk
index c9575739a23..72f45c876d2 100644
--- a/x11/ocaml-graphics/buildlink3.mk
+++ b/x11/ocaml-graphics/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OCAML_GRAPHICS_BUILDLINK3_MK:= ${OCAML_GRAPHICS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= ocaml-graphics
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml-graphics}
BUILDLINK_PACKAGES+= ocaml-graphics
-BUILDLINK_ORDER+= ocaml-graphics
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ocaml-graphics
.if !empty(OCAML_GRAPHICS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.ocaml-graphics+= ocaml-graphics>=3.08.2
diff --git a/x11/openmotif/buildlink3.mk b/x11/openmotif/buildlink3.mk
index 0155e4663e8..ec49c39fdf8 100644
--- a/x11/openmotif/buildlink3.mk
+++ b/x11/openmotif/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
OPENMOTIF_BUILDLINK3_MK:= ${OPENMOTIF_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= openmotif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nopenmotif}
BUILDLINK_PACKAGES+= openmotif
-BUILDLINK_ORDER+= openmotif
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}openmotif
.if !empty(OPENMOTIF_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.openmotif+= openmotif>=2.2.3
diff --git a/x11/paragui/buildlink3.mk b/x11/paragui/buildlink3.mk
index cb1e29b6b05..8e14c4c95f9 100644
--- a/x11/paragui/buildlink3.mk
+++ b/x11/paragui/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PARAGUI_BUILDLINK3_MK:= ${PARAGUI_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= paragui
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nparagui}
BUILDLINK_PACKAGES+= paragui
-BUILDLINK_ORDER+= paragui
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}paragui
.if !empty(PARAGUI_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.paragui+= paragui>=1.0.4nb3
diff --git a/x11/py-Pmw/buildlink3.mk b/x11/py-Pmw/buildlink3.mk
index 7d36cdfdeb7..bd2d9231fca 100644
--- a/x11/py-Pmw/buildlink3.mk
+++ b/x11/py-Pmw/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:46 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_PMW_BUILDLINK3_MK:= ${PY_PMW_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pypmw
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npypmw}
BUILDLINK_PACKAGES+= pypmw
-BUILDLINK_ORDER+= pypmw
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pypmw
.if !empty(PY_PMW_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pypmw+= ${PYPKGPREFIX}-Pmw-[0-9]*
diff --git a/x11/py-Tk/buildlink3.mk b/x11/py-Tk/buildlink3.mk
index c74f2237145..afcadeabcb2 100644
--- a/x11/py-Tk/buildlink3.mk
+++ b/x11/py-Tk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYTK_BUILDLINK3_MK:= ${PYTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pytk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npytk}
BUILDLINK_PACKAGES+= pytk
-BUILDLINK_ORDER+= pytk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pytk
.if !empty(PYTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pytk+= ${PYPKGPREFIX}-Tk-[0-9]*
diff --git a/x11/py-Xlib/buildlink3.mk b/x11/py-Xlib/buildlink3.mk
index 7b739952d1b..2643ea39f99 100644
--- a/x11/py-Xlib/buildlink3.mk
+++ b/x11/py-Xlib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_XLIB_BUILDLINK3_MK:= ${PY_XLIB_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= py-Xlib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-Xlib}
BUILDLINK_PACKAGES+= py-Xlib
-BUILDLINK_ORDER+= py-Xlib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-Xlib
.if !empty(PY_XLIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.py-Xlib+= ${PYPKGPREFIX}-Xlib>=0.12
diff --git a/x11/py-gnome2-extras/buildlink3.mk b/x11/py-gnome2-extras/buildlink3.mk
index 7b7ae65cfd4..9b35638816f 100644
--- a/x11/py-gnome2-extras/buildlink3.mk
+++ b/x11/py-gnome2-extras/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYGNOME2EX_BUILDLINK3_MK:= ${PYGNOME2EX_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pygnome2ex
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygnome2ex}
BUILDLINK_PACKAGES+= pygnome2ex
-BUILDLINK_ORDER+= pygnome2ex
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pygnome2ex
.if ${PYGNOME2EX_BUILDLINK3_MK} == "+"
.include "../../lang/python/pyversion.mk"
diff --git a/x11/py-gnome2/buildlink3.mk b/x11/py-gnome2/buildlink3.mk
index 6217ac99e05..11f4c24545e 100644
--- a/x11/py-gnome2/buildlink3.mk
+++ b/x11/py-gnome2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GNOME2_BUILDLINK3_MK:= ${PY_GNOME2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pygnome2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygnome2}
BUILDLINK_PACKAGES+= pygnome2
-BUILDLINK_ORDER+= pygnome2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pygnome2
.if !empty(PY_GNOME2_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
diff --git a/x11/py-gtk2/buildlink3.mk b/x11/py-gtk2/buildlink3.mk
index 4bbdd0b6ea7..b13c26c9960 100644
--- a/x11/py-gtk2/buildlink3.mk
+++ b/x11/py-gtk2/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GTK2_BUILDLINK3_MK:= ${PY_GTK2_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pygtk2
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygtk2}
BUILDLINK_PACKAGES+= pygtk2
-BUILDLINK_ORDER+= pygtk2
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pygtk2
.if !empty(PY_GTK2_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
diff --git a/x11/py-qt2-sip/buildlink3.mk b/x11/py-qt2-sip/buildlink3.mk
index 195580a2197..288a604f112 100644
--- a/x11/py-qt2-sip/buildlink3.mk
+++ b/x11/py-qt2-sip/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_QT2_SIP_BUILDLINK3_MK:= ${PY_QT2_SIP_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyqt2sip
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyqt2sip}
BUILDLINK_PACKAGES+= pyqt2sip
-BUILDLINK_ORDER+= pyqt2sip
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyqt2sip
.if !empty(PY_QT2_SIP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyqt2sip+= ${PYPKGPREFIX}-qt2-sip-[0-9]*
diff --git a/x11/py-qt3-base/buildlink3.mk b/x11/py-qt3-base/buildlink3.mk
index 7ea4092999c..7f648889e19 100644
--- a/x11/py-qt3-base/buildlink3.mk
+++ b/x11/py-qt3-base/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYQT3_BASE_BUILDLINK3_MK:= ${PYQT3_BASE_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyqt3-base
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyqt3-base}
BUILDLINK_PACKAGES+= pyqt3-base
-BUILDLINK_ORDER+= pyqt3-base
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyqt3-base
.if !empty(PYQT3_BASE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyqt3-base+= ${PYPKGPREFIX}-qt3-base>=3.11
diff --git a/x11/py-qt3-modules/buildlink3.mk b/x11/py-qt3-modules/buildlink3.mk
index f6d220d0b49..43f7541ba13 100644
--- a/x11/py-qt3-modules/buildlink3.mk
+++ b/x11/py-qt3-modules/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYQT3_MOD_BUILDLINK3_MK:= ${PYQT3_MOD_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyqt3-mod
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyqt3-mod}
BUILDLINK_PACKAGES+= pyqt3-mod
-BUILDLINK_ORDER+= pyqt3-mod
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyqt3-mod
.if !empty(PYQT3_MOD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyqt3-mod+= ${PYPKGPREFIX}-qt3-modules>=3.11
diff --git a/x11/py-qt3-sip/buildlink3.mk b/x11/py-qt3-sip/buildlink3.mk
index d3fe6fd7ee8..3414dd7e536 100644
--- a/x11/py-qt3-sip/buildlink3.mk
+++ b/x11/py-qt3-sip/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYQT3_SIP_BUILDLINK3_MK:= ${PYQT3_SIP_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= pyqt3-sip
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npyqt3-sip}
BUILDLINK_PACKAGES+= pyqt3-sip
-BUILDLINK_ORDER+= pyqt3-sip
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pyqt3-sip
.if !empty(PYQT3_SIP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.pyqt3-sip+= ${PYPKGPREFIX}-qt3-sip>=4.0rc3
diff --git a/x11/py-wxWidgets/buildlink3.mk b/x11/py-wxWidgets/buildlink3.mk
index 7c7e9d2e3b4..e9379d0d296 100644
--- a/x11/py-wxWidgets/buildlink3.mk
+++ b/x11/py-wxWidgets/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_WXWIDGETS_BUILDLINK3_MK:= ${PY_WXWIDGETS_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= ${PYPKGPREFIX}-wxWidgets
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:N${PYPKGPREFIX}-wxWidgets}
BUILDLINK_PACKAGES+= ${PYPKGPREFIX}-wxWidgets
-BUILDLINK_ORDER+= ${PYPKGPREFIX}-wxWidgets
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}${PYPKGPREFIX}-wxWidgets
.if !empty(PY_WXWIDGETS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.${PYPKGPREFIX}-wxWidgets+= ${PYPKGPREFIX}-wxWidgets>=2.6.1.0
diff --git a/x11/pygtk/buildlink3.mk b/x11/pygtk/buildlink3.mk
index e61543a56e1..6a75087fe54 100644
--- a/x11/pygtk/buildlink3.mk
+++ b/x11/pygtk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PY_GTK_BUILDLINK3_MK:= ${PY_GTK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= pygtk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npygtk}
BUILDLINK_PACKAGES+= pygtk
-BUILDLINK_ORDER+= pygtk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pygtk
.if !empty(PY_GTK_BUILDLINK3_MK:M+)
. include "../../lang/python/pyversion.mk"
diff --git a/x11/qt1/buildlink3.mk b/x11/qt1/buildlink3.mk
index 9d6bf2a6563..a18c670dedf 100644
--- a/x11/qt1/buildlink3.mk
+++ b/x11/qt1/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT1_BUILDLINK3_MK:= ${QT1_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt1
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt1}
BUILDLINK_PACKAGES+= qt1
-BUILDLINK_ORDER+= qt1
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt1
.if !empty(QT1_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt1+= qt1>=1.44
diff --git a/x11/qt2-designer/buildlink3.mk b/x11/qt2-designer/buildlink3.mk
index 804eaec767d..91818972862 100644
--- a/x11/qt2-designer/buildlink3.mk
+++ b/x11/qt2-designer/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT2_DESIGNER_BUILDLINK3_MK:= ${QT2_DESIGNER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt2-designer
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt2-designer}
BUILDLINK_PACKAGES+= qt2-designer
-BUILDLINK_ORDER+= qt2-designer
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt2-designer
.if !empty(QT2_DESIGNER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt2-designer+= qt2-designer>=2.3.1nb2
diff --git a/x11/qt2-libs/buildlink3.mk b/x11/qt2-libs/buildlink3.mk
index 8fab81326b2..601a85ccc58 100644
--- a/x11/qt2-libs/buildlink3.mk
+++ b/x11/qt2-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT2_LIBS_BUILDLINK3_MK:= ${QT2_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt2-libs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt2-libs}
BUILDLINK_PACKAGES+= qt2-libs
-BUILDLINK_ORDER+= qt2-libs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt2-libs
.if !empty(QT2_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt2-libs+= qt2-libs>=2.3.1nb2
diff --git a/x11/qt3-libs/buildlink3.mk b/x11/qt3-libs/buildlink3.mk
index d8f8a13f449..ac52c83cdfb 100644
--- a/x11/qt3-libs/buildlink3.mk
+++ b/x11/qt3-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:15 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT3_LIBS_BUILDLINK3_MK:= ${QT3_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt3-libs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt3-libs}
BUILDLINK_PACKAGES+= qt3-libs
-BUILDLINK_ORDER+= qt3-libs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt3-libs
.if !empty(QT3_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt3-libs+= qt3-libs>=3.2.3
diff --git a/x11/qt3-qscintilla/buildlink3.mk b/x11/qt3-qscintilla/buildlink3.mk
index 76f2e3b993b..05d0d55cfad 100644
--- a/x11/qt3-qscintilla/buildlink3.mk
+++ b/x11/qt3-qscintilla/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT3_QSCINTILLA_BUILDLINK3_MK:= ${QT3_QSCINTILLA_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt3-qscintilla
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt3-qscintilla}
BUILDLINK_PACKAGES+= qt3-qscintilla
-BUILDLINK_ORDER+= qt3-qscintilla
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt3-qscintilla
.if !empty(QT3_QSCINTILLA_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt3-qscintilla+= qt3-qscintilla>=1.2
diff --git a/x11/qt3-tools/buildlink3.mk b/x11/qt3-tools/buildlink3.mk
index 83625e343cf..a1730cfef37 100644
--- a/x11/qt3-tools/buildlink3.mk
+++ b/x11/qt3-tools/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT3_TOOLS_BUILDLINK3_MK:= ${QT3_TOOLS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt3-tools
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt3-tools}
BUILDLINK_PACKAGES+= qt3-tools
-BUILDLINK_ORDER+= qt3-tools
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt3-tools
.if !empty(QT3_TOOLS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt3-tools+= qt3-tools>=3.1.2nb3
diff --git a/x11/qt4-libs/buildlink3.mk b/x11/qt4-libs/buildlink3.mk
index 2e964999938..499eb4a0795 100644
--- a/x11/qt4-libs/buildlink3.mk
+++ b/x11/qt4-libs/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT4_LIBS_BUILDLINK3_MK:= ${QT4_LIBS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt4-libs
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt4-libs}
BUILDLINK_PACKAGES+= qt4-libs
-BUILDLINK_ORDER+= qt4-libs
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt4-libs
.if !empty(QT4_LIBS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.1.0
diff --git a/x11/qt4-tools/buildlink3.mk b/x11/qt4-tools/buildlink3.mk
index fcd45b5e87f..66f4a7f7e7f 100644
--- a/x11/qt4-tools/buildlink3.mk
+++ b/x11/qt4-tools/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
QT4_TOOLS_BUILDLINK3_MK:= ${QT4_TOOLS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= qt4-tools
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt4-tools}
BUILDLINK_PACKAGES+= qt4-tools
-BUILDLINK_ORDER+= qt4-tools
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt4-tools
.if !empty(QT4_TOOLS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.qt4-tools+= qt4-tools>=4.1.0
diff --git a/x11/randrproto/buildlink3.mk b/x11/randrproto/buildlink3.mk
index 91f4ceffa7d..073d16dbc29 100644
--- a/x11/randrproto/buildlink3.mk
+++ b/x11/randrproto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPMETHOD.randrproto?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= randrproto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrandrproto}
BUILDLINK_PACKAGES+= randrproto
-BUILDLINK_ORDER+= randrproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}randrproto
.if !empty(RANDRPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.randrproto+= randrproto>=1.1.1
diff --git a/x11/renderproto/buildlink3.mk b/x11/renderproto/buildlink3.mk
index 5b3e9c29dcf..59b7f2e2673 100644
--- a/x11/renderproto/buildlink3.mk
+++ b/x11/renderproto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RENDERPROTO_BUILDLINK3_MK:= ${RENDERPROTO_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= renderproto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nrenderproto}
BUILDLINK_PACKAGES+= renderproto
-BUILDLINK_ORDER+= renderproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}renderproto
.if !empty(RENDERPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.renderproto+= renderproto>=0.9.1
diff --git a/x11/startup-notification/buildlink3.mk b/x11/startup-notification/buildlink3.mk
index b6b5255acde..1e07492da83 100644
--- a/x11/startup-notification/buildlink3.mk
+++ b/x11/startup-notification/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
STARTUP_NOTIFICATION_BUILDLINK3_MK:= ${STARTUP_NOTIFICATION_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= startup-notification
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nstartup-notification}
BUILDLINK_PACKAGES+= startup-notification
-BUILDLINK_ORDER+= startup-notification
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}startup-notification
.if !empty(STARTUP_NOTIFICATION_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.startup-notification+= startup-notification>=0.5
diff --git a/x11/tk-BWidget/buildlink3.mk b/x11/tk-BWidget/buildlink3.mk
index f2d30dcbfd9..1ef5a87c43b 100644
--- a/x11/tk-BWidget/buildlink3.mk
+++ b/x11/tk-BWidget/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:16 jlam Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -10,7 +10,7 @@ BUILDLINK_DEPENDS+= tk-BWidget
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntk-BWidget}
BUILDLINK_PACKAGES+= tk-BWidget
-BUILDLINK_ORDER+= tk-BWidget
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tk-BWidget
.if !empty(TK_BWIDGET_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tk-BWidget+= tk-BWidget>=1.7.0
diff --git a/x11/tk/buildlink3.mk b/x11/tk/buildlink3.mk
index 2318dac225d..10cdb1787fa 100644
--- a/x11/tk/buildlink3.mk
+++ b/x11/tk/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TK_BUILDLINK3_MK:= ${TK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntk}
BUILDLINK_PACKAGES+= tk
-BUILDLINK_ORDER+= tk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tk
.if !empty(TK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tk+= tk>=8.4.6nb1
diff --git a/x11/tk83/buildlink3.mk b/x11/tk83/buildlink3.mk
index dd8b648dde2..cc4d3ae6465 100644
--- a/x11/tk83/buildlink3.mk
+++ b/x11/tk83/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
TK_BUILDLINK3_MK:= ${TK_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= tk
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ntk}
BUILDLINK_PACKAGES+= tk
-BUILDLINK_ORDER+= tk
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}tk
.if !empty(TK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.tk+= tk-8.3.4*
diff --git a/x11/vte/buildlink3.mk b/x11/vte/buildlink3.mk
index 31d8f79bbff..9dfd78bff8e 100644
--- a/x11/vte/buildlink3.mk
+++ b/x11/vte/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
VTE_BUILDLINK3_MK:= ${VTE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= vte
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nvte}
BUILDLINK_PACKAGES+= vte
-BUILDLINK_ORDER+= vte
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}vte
.if !empty(VTE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.vte+= vte>=0.11.11
diff --git a/x11/wxGTK-contrib/buildlink3.mk b/x11/wxGTK-contrib/buildlink3.mk
index cf708573da0..cee2379a9ba 100644
--- a/x11/wxGTK-contrib/buildlink3.mk
+++ b/x11/wxGTK-contrib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WXGTK_CONTRIB_BUILDLINK3_MK:= ${WXGTK_CONTRIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= wxGTK-contrib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NwxGTK-contrib}
BUILDLINK_PACKAGES+= wxGTK-contrib
-BUILDLINK_ORDER+= wxGTK-contrib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wxGTK-contrib
.if !empty(WXGTK_CONTRIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wxGTK-contrib+= wxGTK-contrib>=2.6.0
diff --git a/x11/wxGTK/buildlink3.mk b/x11/wxGTK/buildlink3.mk
index 1e7dce3e8a2..24402648db4 100644
--- a/x11/wxGTK/buildlink3.mk
+++ b/x11/wxGTK/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WXGTK_BUILDLINK3_MK:= ${WXGTK_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= wxGTK
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NwxGTK}
BUILDLINK_PACKAGES+= wxGTK
-BUILDLINK_ORDER+= wxGTK
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wxGTK
.if !empty(WXGTK_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wxGTK+= wxGTK>=2.6.0
diff --git a/x11/wxGTK24/buildlink3.mk b/x11/wxGTK24/buildlink3.mk
index 63d153b1301..fbbea1b9d66 100644
--- a/x11/wxGTK24/buildlink3.mk
+++ b/x11/wxGTK24/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
WXGTK24_BUILDLINK3_MK:= ${WXGTK24_BUILDLINK3_MK}+
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= wxGTK24
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NwxGTK24}
BUILDLINK_PACKAGES+= wxGTK24
-BUILDLINK_ORDER+= wxGTK24
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}wxGTK24
.if !empty(WXGTK24_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.wxGTK24+= wxGTK24>=2.4.2
diff --git a/x11/xcursor/buildlink3.mk b/x11/xcursor/buildlink3.mk
index b0476ab2cb1..090a03d215c 100644
--- a/x11/xcursor/buildlink3.mk
+++ b/x11/xcursor/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:48 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XCURSOR_BUILDLINK3_MK:= ${XCURSOR_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xcursor
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxcursor}
BUILDLINK_PACKAGES+= xcursor
-BUILDLINK_ORDER+= xcursor
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xcursor
.if !empty(XCURSOR_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xcursor+= xcursor>=1.0
diff --git a/x11/xextproto/buildlink3.mk b/x11/xextproto/buildlink3.mk
index 3dc5b54e1a5..c37fdbe7a09 100644
--- a/x11/xextproto/buildlink3.mk
+++ b/x11/xextproto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.2 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPMETHOD.xextproto?= build
@@ -11,7 +11,7 @@ BUILDLINK_DEPENDS+= xextproto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxextproto}
BUILDLINK_PACKAGES+= xextproto
-BUILDLINK_ORDER+= xextproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xextproto
.if !empty(XEXTPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xextproto+= xextproto>=7.0
diff --git a/x11/xfce4-clipman-plugin/buildlink3.mk b/x11/xfce4-clipman-plugin/buildlink3.mk
index 70e78e8c7c1..eece1df9835 100644
--- a/x11/xfce4-clipman-plugin/buildlink3.mk
+++ b/x11/xfce4-clipman-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_CLIPMAN_PLUGIN_BUILDLINK3_MK:= ${XFCE4_CLIPMAN_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-clipman-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-clipman-plugin}
BUILDLINK_PACKAGES+= xfce4-clipman-plugin
-BUILDLINK_ORDER+= xfce4-clipman-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-clipman-plugin
.if !empty(XFCE4_CLIPMAN_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-clipman-plugin+= xfce4-clipman-plugin>=0.4.1
diff --git a/x11/xfce4-desktop/buildlink3.mk b/x11/xfce4-desktop/buildlink3.mk
index 8cf2e282737..fc54e4d8044 100644
--- a/x11/xfce4-desktop/buildlink3.mk
+++ b/x11/xfce4-desktop/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_DESKTOP_BUILDLINK3_MK:= ${XFCE4_DESKTOP_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-desktop
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-desktop}
BUILDLINK_PACKAGES+= xfce4-desktop
-BUILDLINK_ORDER+= xfce4-desktop
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-desktop
.if !empty(XFCE4_DESKTOP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-desktop+= xfce4-desktop>=4.2.3
diff --git a/x11/xfce4-gtk2-engine/buildlink3.mk b/x11/xfce4-gtk2-engine/buildlink3.mk
index f82d3430c6d..b9dfbcc05b5 100644
--- a/x11/xfce4-gtk2-engine/buildlink3.mk
+++ b/x11/xfce4-gtk2-engine/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_GTK2_ENGINE_BUILDLINK3_MK:= ${XFCE4_GTK2_ENGINE_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-gtk2-engine
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-gtk2-engine}
BUILDLINK_PACKAGES+= xfce4-gtk2-engine
-BUILDLINK_ORDER+= xfce4-gtk2-engine
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-gtk2-engine
.if !empty(XFCE4_GTK2_ENGINE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-gtk2-engine+= xfce4-gtk2-engine>=2.2.8
diff --git a/x11/xfce4-mcs-manager/buildlink3.mk b/x11/xfce4-mcs-manager/buildlink3.mk
index 813c3cac074..49fac51dfed 100644
--- a/x11/xfce4-mcs-manager/buildlink3.mk
+++ b/x11/xfce4-mcs-manager/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_MCS_MANAGER_BUILDLINK3_MK:= ${XFCE4_MCS_MANAGER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-mcs-manager
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-mcs-manager}
BUILDLINK_PACKAGES+= xfce4-mcs-manager
-BUILDLINK_ORDER+= xfce4-mcs-manager
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-mcs-manager
.if !empty(XFCE4_MCS_MANAGER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-mcs-manager+= xfce4-mcs-manager>=4.2.3
diff --git a/x11/xfce4-mcs-plugins/buildlink3.mk b/x11/xfce4-mcs-plugins/buildlink3.mk
index fa3b8fceb83..3b1dde04af8 100644
--- a/x11/xfce4-mcs-plugins/buildlink3.mk
+++ b/x11/xfce4-mcs-plugins/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_MCS_PLUGINS_BUILDLINK3_MK:= ${XFCE4_MCS_PLUGINS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-mcs-plugins
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-mcs-plugins}
BUILDLINK_PACKAGES+= xfce4-mcs-plugins
-BUILDLINK_ORDER+= xfce4-mcs-plugins
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-mcs-plugins
.if !empty(XFCE4_MCS_PLUGINS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-mcs-plugins+= xfce4-mcs-plugins>=4.2.3
diff --git a/x11/xfce4-notes-plugin/buildlink3.mk b/x11/xfce4-notes-plugin/buildlink3.mk
index 2b0a0b06d05..f9caf29a95c 100644
--- a/x11/xfce4-notes-plugin/buildlink3.mk
+++ b/x11/xfce4-notes-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_NOTES_PLUGIN_BUILDLINK3_MK:= ${XFCE4_NOTES_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-notes-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-notes-plugin}
BUILDLINK_PACKAGES+= xfce4-notes-plugin
-BUILDLINK_ORDER+= xfce4-notes-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-notes-plugin
.if !empty(XFCE4_NOTES_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-notes-plugin+= xfce4-notes-plugin>=0.11.1
diff --git a/x11/xfce4-panel/buildlink3.mk b/x11/xfce4-panel/buildlink3.mk
index fadbaa077b0..5ee8bbc292e 100644
--- a/x11/xfce4-panel/buildlink3.mk
+++ b/x11/xfce4-panel/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:16 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_PANEL_BUILDLINK3_MK:= ${XFCE4_PANEL_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-panel
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-panel}
BUILDLINK_PACKAGES+= xfce4-panel
-BUILDLINK_ORDER+= xfce4-panel
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-panel
.if !empty(XFCE4_PANEL_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-panel+= xfce4-panel>=4.2.3
diff --git a/x11/xfce4-session/buildlink3.mk b/x11/xfce4-session/buildlink3.mk
index eb3d3a69b43..deae44afa02 100644
--- a/x11/xfce4-session/buildlink3.mk
+++ b/x11/xfce4-session/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_SESSION_BUILDLINK3_MK:= ${XFCE4_SESSION_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-session
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-session}
BUILDLINK_PACKAGES+= xfce4-session
-BUILDLINK_ORDER+= xfce4-session
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-session
.if !empty(XFCE4_SESSION_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-session+= xfce4-session>=4.2.3
diff --git a/x11/xfce4-taskbar-plugin/buildlink3.mk b/x11/xfce4-taskbar-plugin/buildlink3.mk
index f52e8d1ab2b..ef819752c1e 100644
--- a/x11/xfce4-taskbar-plugin/buildlink3.mk
+++ b/x11/xfce4-taskbar-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_TASKBAR_PLUGIN_BUILDLINK3_MK:= ${XFCE4_TASKBAR_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-taskbar-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-taskbar-plugin}
BUILDLINK_PACKAGES+= xfce4-taskbar-plugin
-BUILDLINK_ORDER+= xfce4-taskbar-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-taskbar-plugin
.if !empty(XFCE4_TASKBAR_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-taskbar-plugin+= xfce4-taskbar-plugin>=0.2.2
diff --git a/x11/xfce4-toys/buildlink3.mk b/x11/xfce4-toys/buildlink3.mk
index 6469b556b1a..4dd606c3935 100644
--- a/x11/xfce4-toys/buildlink3.mk
+++ b/x11/xfce4-toys/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.15 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_TOYS_BUILDLINK3_MK:= ${XFCE4_TOYS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-toys
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-toys}
BUILDLINK_PACKAGES+= xfce4-toys
-BUILDLINK_ORDER+= xfce4-toys
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-toys
.if !empty(XFCE4_TOYS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-toys+= xfce4-toys>=4.2.3
diff --git a/x11/xfce4-trigger-launcher/buildlink3.mk b/x11/xfce4-trigger-launcher/buildlink3.mk
index 4d145a39b7e..a4882fc8279 100644
--- a/x11/xfce4-trigger-launcher/buildlink3.mk
+++ b/x11/xfce4-trigger-launcher/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.16 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.17 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_TRIGGER_LAUNCHER_BUILDLINK3_MK:= ${XFCE4_TRIGGER_LAUNCHER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-trigger-launcher
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-trigger-launcher}
BUILDLINK_PACKAGES+= xfce4-trigger-launcher
-BUILDLINK_ORDER+= xfce4-trigger-launcher
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-trigger-launcher
.if !empty(XFCE4_TRIGGER_LAUNCHER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-trigger-launcher+= xfce4-trigger-launcher>=4.2.3
diff --git a/x11/xfce4-utils/buildlink3.mk b/x11/xfce4-utils/buildlink3.mk
index 03efffd34ea..7ae983ae577 100644
--- a/x11/xfce4-utils/buildlink3.mk
+++ b/x11/xfce4-utils/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.18 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.19 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_UTILS_BUILDLINK3_MK:= ${XFCE4_UTILS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-utils
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-utils}
BUILDLINK_PACKAGES+= xfce4-utils
-BUILDLINK_ORDER+= xfce4-utils
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-utils
.if !empty(XFCE4_UTILS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-utils+= xfce4-utils>=4.2.3
diff --git a/x11/xfce4-windowlist-plugin/buildlink3.mk b/x11/xfce4-windowlist-plugin/buildlink3.mk
index 96bb62252b4..7966c6d17bc 100644
--- a/x11/xfce4-windowlist-plugin/buildlink3.mk
+++ b/x11/xfce4-windowlist-plugin/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.10 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFCE4_WINDOWLIST_PLUGIN_BUILDLINK3_MK:= ${XFCE4_WINDOWLIST_PLUGIN_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xfce4-windowlist-plugin
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxfce4-windowlist-plugin}
BUILDLINK_PACKAGES+= xfce4-windowlist-plugin
-BUILDLINK_ORDER+= xfce4-windowlist-plugin
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xfce4-windowlist-plugin
.if !empty(XFCE4_WINDOWLIST_PLUGIN_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xfce4-windowlist-plugin+= xfce4-windowlist-plugin>=0.1.0nb1
diff --git a/x11/xforms/buildlink3.mk b/x11/xforms/buildlink3.mk
index 8dc1124ea88..587ebba6651 100644
--- a/x11/xforms/buildlink3.mk
+++ b/x11/xforms/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XFORMS_BUILDLINK3_MK:= ${XFORMS_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xforms
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxforms}
BUILDLINK_PACKAGES+= xforms
-BUILDLINK_ORDER+= xforms
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xforms
.if !empty(XFORMS_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xforms+= xforms>=1.0nb2
diff --git a/x11/xosd/buildlink3.mk b/x11/xosd/buildlink3.mk
index fb68037f096..03148485848 100644
--- a/x11/xosd/buildlink3.mk
+++ b/x11/xosd/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XOSD_BUILDLINK3_MK:= ${XOSD_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xosd
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxosd}
BUILDLINK_PACKAGES+= xosd
-BUILDLINK_ORDER+= xosd
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xosd
.if !empty(XOSD_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xosd+= xosd>=2.2.12
diff --git a/x11/xproto/buildlink3.mk b/x11/xproto/buildlink3.mk
index 773c42d3117..ecba2dcb864 100644
--- a/x11/xproto/buildlink3.mk
+++ b/x11/xproto/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2006/07/08 23:11:17 jlam Exp $
#
# This Makefile fragment is included by packages that use xproto.
#
@@ -12,7 +12,7 @@ BUILDLINK_DEPENDS+= xproto
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxproto}
BUILDLINK_PACKAGES+= xproto
-BUILDLINK_ORDER+= xproto
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xproto
.if !empty(XPROTO_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xproto?= xproto>=6.6
diff --git a/x11/xscreensaver/buildlink3.mk b/x11/xscreensaver/buildlink3.mk
index e4526671c5e..f89a4bd7ff7 100644
--- a/x11/xscreensaver/buildlink3.mk
+++ b/x11/xscreensaver/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.7 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XSCREENSAVER_BUILDLINK3_MK:= ${XSCREENSAVER_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xscreensaver
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxscreensaver}
BUILDLINK_PACKAGES+= xscreensaver
-BUILDLINK_ORDER+= xscreensaver
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xscreensaver
.if !empty(XSCREENSAVER_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xscreensaver+= xscreensaver>=4.14
diff --git a/x11/xview-lib/buildlink3.mk b/x11/xview-lib/buildlink3.mk
index 0cbd1caf489..75d73622b5f 100644
--- a/x11/xview-lib/buildlink3.mk
+++ b/x11/xview-lib/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2006/07/08 22:39:49 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:17 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
XVIEW_LIB_BUILDLINK3_MK:= ${XVIEW_LIB_BUILDLINK3_MK}+
@@ -9,7 +9,7 @@ BUILDLINK_DEPENDS+= xview-lib
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nxview-lib}
BUILDLINK_PACKAGES+= xview-lib
-BUILDLINK_ORDER+= xview-lib
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}xview-lib
.if !empty(XVIEW_LIB_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.xview-lib+= xview-lib>=3.2.1