summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2008-08-21 06:18:49 +0000
committerRong-En Fan <rafan@FreeBSD.org>2008-08-21 06:18:49 +0000
commit741aa714833b9bb1e9afaaf5124d3f5c60b5e49c (patch)
treee9b79b363f2fc4a63535a25c71491fa49a79b556
parentUpgrade to 1.4. (diff)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the configure target. In short, one should use --build=CONFIGURE_TARGET instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning and the old semantic may be removed in later autoconf releases. To workaround this issue, many ports hack the CONFIGURE_TARGET variable so that it contains the ``--build='' prefix. To solve this issue, under the fact that some ports still have configure script generated by the old autoconf, we use runtime detection in the do-configure target so that the proper argument can be used. Changes to Mk/*: - Add runtime detection magic in bsd.port.mk - Remove CONFIGURE_TARGET hack in various bsd.*.mk - USE_GNOME=gnometarget is now an no-op Changes to individual ports, other than removing the CONFIGURE_TARGET hack: = pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables) - comms/gnuradio - science/abinit - science/elmer-fem - science/elmer-matc - science/elmer-meshgen2d - science/elmerfront - science/elmerpost = use x86_64 as ARCH - devel/g-wrap = other changes - print/magicfilter GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf Total # of ports modified: 1,027 Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes) PR: 126524 (obsoletes 52917) Submitted by: rafan Tested on: two pointyhat 7-amd64 exp runs (by pav) Approved by: portmgr (pav)
Diffstat (limited to '')
-rw-r--r--Mk/bsd.gnome.mk2
-rw-r--r--Mk/bsd.kde.mk4
-rw-r--r--Mk/bsd.port.mk10
-rw-r--r--accessibility/yasr/Makefile1
-rw-r--r--archivers/advancecomp/Makefile1
-rw-r--r--archivers/arj/Makefile1
-rw-r--r--archivers/dact/Makefile3
-rw-r--r--archivers/gzip/Makefile1
-rw-r--r--archivers/libmspack/Makefile1
-rw-r--r--archivers/libpar2/Makefile1
-rw-r--r--archivers/lzo/Makefile1
-rw-r--r--archivers/lzo2/Makefile1
-rw-r--r--archivers/lzop/Makefile1
-rw-r--r--archivers/par2cmdline/Makefile1
-rw-r--r--archivers/tardy/Makefile1
-rw-r--r--archivers/ucl/Makefile1
-rw-r--r--astro/jday/Makefile1
-rw-r--r--astro/libgal/Makefile1
-rw-r--r--astro/match/Makefile1
-rw-r--r--audio/akode/Makefile3
-rw-r--r--audio/ample/Makefile1
-rw-r--r--audio/arts/Makefile2
-rw-r--r--audio/audiere/Makefile1
-rw-r--r--audio/autocd/Makefile1
-rw-r--r--audio/blop/Makefile1
-rw-r--r--audio/checkmate/Makefile2
-rw-r--r--audio/cuetools/Makefile1
-rw-r--r--audio/darkice/Makefile1
-rw-r--r--audio/faac/Makefile1
-rw-r--r--audio/faad/Makefile1
-rw-r--r--audio/flac/Makefile1
-rw-r--r--audio/flac123/Makefile1
-rw-r--r--audio/libjackasyn/Makefile1
-rw-r--r--audio/lplayer/Makefile1
-rw-r--r--audio/malint/Makefile1
-rw-r--r--audio/mp3splt/Makefile1
-rw-r--r--audio/mp3wrap/Makefile1
-rw-r--r--audio/mpc/Makefile1
-rw-r--r--audio/mpg321/Makefile1
-rw-r--r--audio/mpiosh/Makefile1
-rw-r--r--audio/mt-daapd/Makefile1
-rw-r--r--audio/musicpd/Makefile2
-rw-r--r--audio/normalize/Makefile1
-rw-r--r--audio/ocp/Makefile1
-rw-r--r--audio/openal/Makefile1
-rw-r--r--audio/osalp/Makefile1
-rw-r--r--audio/resid/Makefile1
-rw-r--r--audio/rioutil/Makefile1
-rw-r--r--audio/sdl_mixer/Makefile1
-rw-r--r--audio/sdl_sound/Makefile1
-rw-r--r--audio/snack/Makefile1
-rw-r--r--audio/sox/Makefile1
-rw-r--r--audio/taglib/Makefile3
-rw-r--r--audio/tse3/Makefile1
-rw-r--r--audio/umix/Makefile1
-rw-r--r--audio/vorbis-tools/Makefile1
-rw-r--r--audio/vorbisgain/Makefile1
-rw-r--r--audio/xanalyser/Makefile1
-rw-r--r--audio/xhippo/Makefile1
-rw-r--r--audio/xmms-arts_output/Makefile1
-rw-r--r--audio/xmms-faad/Makefile1
-rw-r--r--audio/xmms-flac/Makefile1
-rw-r--r--audio/xmms-jackasyn/Makefile1
-rw-r--r--audio/xoscope/Makefile1
-rw-r--r--benchmarks/dkftpbench/Makefile1
-rw-r--r--biology/gmap/Makefile1
-rw-r--r--biology/libgenome/Makefile1
-rw-r--r--biology/treepuzzle/Makefile1
-rw-r--r--biology/xdrawchem/Makefile2
-rw-r--r--cad/freecad/Makefile1
-rw-r--r--cad/gmsh/Makefile1
-rw-r--r--cad/gtkwave/Makefile1
-rw-r--r--cad/opencascade/Makefile1
-rw-r--r--cad/qucs/Makefile1
-rw-r--r--cad/scv/Makefile1
-rw-r--r--cad/systemc/Makefile1
-rw-r--r--cad/xcircuit/Makefile1
-rw-r--r--chinese/iiimf-le-xcin/Makefile1
-rw-r--r--chinese/qterm/Makefile1
-rw-r--r--comms/aldo/Makefile1
-rw-r--r--comms/fldigi/Makefile1
-rw-r--r--comms/gnokii/Makefile1
-rw-r--r--comms/gnuradio/Makefile4
-rw-r--r--comms/gnuradio/pkg-plist56
-rw-r--r--comms/hf/Makefile1
-rw-r--r--comms/kallers/Makefile1
-rw-r--r--comms/linrad/Makefile1
-rw-r--r--comms/lirc/Makefile1
-rw-r--r--comms/qicosi/Makefile1
-rw-r--r--comms/scmxx/Makefile1
-rw-r--r--converters/ascii2binary/Makefile1
-rw-r--r--converters/enca/Makefile1
-rw-r--r--converters/fix-mime-charset/Makefile1
-rw-r--r--converters/psiconv/Makefile1
-rw-r--r--converters/shftool/Makefile1
-rw-r--r--converters/tnef/Makefile1
-rw-r--r--converters/ytnef/Makefile2
-rw-r--r--databases/db3/Makefile1
-rw-r--r--databases/db4/Makefile1
-rw-r--r--databases/db41/Makefile1
-rw-r--r--databases/db42/Makefile.db1
-rw-r--r--databases/db43/Makefile1
-rw-r--r--databases/dbconnect/Makefile1
-rw-r--r--databases/flamerobin/Makefile1
-rw-r--r--databases/gdbm/Makefile1
-rw-r--r--databases/gnome-db/Makefile1
-rw-r--r--databases/hk_classes/Makefile1
-rw-r--r--databases/kmysqladmin/Makefile2
-rw-r--r--databases/knoda/Makefile1
-rw-r--r--databases/libgda/Makefile1
-rw-r--r--databases/libodbc++/Makefile1
-rw-r--r--databases/memcached/Makefile1
-rw-r--r--databases/mysql++/Makefile1
-rw-r--r--databases/mysql++1/Makefile1
-rw-r--r--databases/mysql++3/Makefile1
-rw-r--r--databases/mysql-navigator/Makefile1
-rw-r--r--databases/mysql2odbc/Makefile1
-rw-r--r--databases/mysql323-server/Makefile1
-rw-r--r--databases/mysql40-server/Makefile1
-rw-r--r--databases/mysql41-server/Makefile1
-rw-r--r--databases/mysql50-server/Makefile1
-rw-r--r--databases/mysql51-server/Makefile1
-rw-r--r--databases/mysql54-server/Makefile1
-rw-r--r--databases/mysql55-server/Makefile1
-rw-r--r--databases/mysql60-server/Makefile1
-rw-r--r--databases/mysqlard/Makefile1
-rw-r--r--databases/opendbx/Makefile1
-rw-r--r--databases/oracle_odbc_driver/Makefile1
-rw-r--r--databases/percona55-server/Makefile1
-rw-r--r--databases/pgadmin3-12/Makefile1
-rw-r--r--databases/pgadmin3/Makefile1
-rw-r--r--databases/ptop/Makefile1
-rw-r--r--databases/pxlib/Makefile1
-rw-r--r--databases/rrdtool/Makefile1
-rw-r--r--databases/rrdtool10/Makefile1
-rw-r--r--databases/sqlite2/Makefile1
-rw-r--r--databases/sqlite3/Makefile1
-rw-r--r--databases/sqlite34/Makefile1
-rw-r--r--databases/sqlrelay/Makefile1
-rw-r--r--databases/tora/Makefile1
-rw-r--r--databases/xbsql/Makefile1
-rw-r--r--deskutils/calcurse/Makefile1
-rw-r--r--deskutils/doodle/Makefile1
-rw-r--r--deskutils/karamba/Makefile1
-rw-r--r--deskutils/kblticker/Makefile2
-rw-r--r--deskutils/kchmviewer-kde4/Makefile2
-rw-r--r--deskutils/kchmviewer/Makefile2
-rw-r--r--deskutils/kooldock/Makefile2
-rw-r--r--deskutils/pinot/Makefile1
-rw-r--r--deskutils/recoll/Makefile1
-rw-r--r--deskutils/tpb/Makefile1
-rw-r--r--devel/argp-standalone/Makefile1
-rw-r--r--devel/arm-elf-binutils/Makefile2
-rw-r--r--devel/autoconf-archive/Makefile1
-rw-r--r--devel/autoconf213/Makefile1
-rw-r--r--devel/autoconf262/Makefile1
-rw-r--r--devel/autoconf267/Makefile1
-rw-r--r--devel/autoconf268/Makefile1
-rw-r--r--devel/autodist/Makefile1
-rw-r--r--devel/automake110/Makefile1
-rw-r--r--devel/automake14/Makefile1
-rw-r--r--devel/automake15/Makefile1
-rw-r--r--devel/automake16/Makefile1
-rw-r--r--devel/automake17/Makefile1
-rw-r--r--devel/automake18/Makefile1
-rw-r--r--devel/automake19/Makefile1
-rw-r--r--devel/bison/Makefile1
-rw-r--r--devel/bonobo/Makefile1
-rw-r--r--devel/bullet/Makefile1
-rw-r--r--devel/c_c++_reference/Makefile2
-rw-r--r--devel/ccache/Makefile1
-rw-r--r--devel/ccrtp/Makefile1
-rw-r--r--devel/cdialog/Makefile1
-rw-r--r--devel/codeblocks/Makefile1
-rw-r--r--devel/compiz-bcop/Makefile2
-rw-r--r--devel/cook/Makefile1
-rw-r--r--devel/cproto/Makefile2
-rw-r--r--devel/cross-binutils/Makefile2
-rw-r--r--devel/cross-gdb/Makefile4
-rw-r--r--devel/cstringbuffer/Makefile3
-rw-r--r--devel/cunit/Makefile1
-rw-r--r--devel/cvsd/Makefile1
-rw-r--r--devel/cvsnt/Makefile1
-rw-r--r--devel/darts/Makefile1
-rw-r--r--devel/ddd/Makefile1
-rw-r--r--devel/directfb/Makefile1
-rw-r--r--devel/distcc/Makefile1
-rw-r--r--devel/dmalloc/Makefile1
-rw-r--r--devel/dmucs/Makefile1
-rw-r--r--devel/dotconf/Makefile1
-rw-r--r--devel/g-wrap/Makefile2
-rw-r--r--devel/gaul/Makefile1
-rw-r--r--devel/gengetopt/Makefile1
-rw-r--r--devel/gettext/Makefile1
-rw-r--r--devel/gindent/Makefile1
-rw-r--r--devel/glib20/Makefile1
-rw-r--r--devel/global/Makefile1
-rw-r--r--devel/gmake/Makefile1
-rw-r--r--devel/gmake381/Makefile1
-rw-r--r--devel/gnulibiberty/Makefile1
-rw-r--r--devel/gnustep-make/Makefile1
-rw-r--r--devel/google-perftools/Makefile1
-rw-r--r--devel/google-sparsehash/Makefile1
-rw-r--r--devel/gpsim/Makefile1
-rw-r--r--devel/gwenhywfar/Makefile1
-rw-r--r--devel/id-utils/Makefile1
-rw-r--r--devel/idutils/Makefile1
-rw-r--r--devel/jrtplib/Makefile1
-rw-r--r--devel/kaptain/Makefile1
-rw-r--r--devel/kimwitu++/Makefile1
-rw-r--r--devel/libafterbase/Makefile1
-rw-r--r--devel/libchipcard-kde/Makefile4
-rw-r--r--devel/libchipcard/Makefile4
-rw-r--r--devel/libepp-nicbr/Makefile1
-rw-r--r--devel/libfs++/Makefile1
-rw-r--r--devel/libftdi/Makefile1
-rw-r--r--devel/libg++/Makefile1
-rw-r--r--devel/libgalago/Makefile2
-rw-r--r--devel/libglade/Makefile1
-rw-r--r--devel/libgutenfetch/Makefile1
-rw-r--r--devel/libiqxmlrpc/Makefile1
-rw-r--r--devel/libisc/Makefile1
-rw-r--r--devel/libmatheval/Makefile1
-rw-r--r--devel/libole2/Makefile1
-rw-r--r--devel/libpthread-stubs/Makefile1
-rw-r--r--devel/libredblack/Makefile1
-rw-r--r--devel/libshbuf/Makefile1
-rw-r--r--devel/libsigsegv/Makefile1
-rw-r--r--devel/libslang2/Makefile1
-rw-r--r--devel/libtar/Makefile1
-rw-r--r--devel/libtool15/Makefile1
-rw-r--r--devel/libytnef/Makefile2
-rw-r--r--devel/libzrtpcpp/Makefile1
-rw-r--r--devel/log4c/Makefile1
-rw-r--r--devel/log4cplus/Makefile1
-rw-r--r--devel/log4cpp/Makefile1
-rw-r--r--devel/log4cxx/Makefile1
-rw-r--r--devel/lwp/Makefile1
-rw-r--r--devel/mcpp/Makefile3
-rw-r--r--devel/mico/Makefile1
-rw-r--r--devel/mm/Makefile1
-rw-r--r--devel/oaf/Makefile1
-rw-r--r--devel/ode/Makefile1
-rw-r--r--devel/omniNotify/Makefile1
-rw-r--r--devel/omniORB/Makefile1
-rw-r--r--devel/ossp-al/Makefile1
-rw-r--r--devel/ossp-cfg/Makefile1
-rw-r--r--devel/ossp-ex/Makefile1
-rw-r--r--devel/ossp-l2/Makefile1
-rw-r--r--devel/ossp-val/Makefile1
-rw-r--r--devel/ossp-var/Makefile1
-rw-r--r--devel/ossp-xds/Makefile1
-rw-r--r--devel/pcre++/Makefile1
-rw-r--r--devel/pcre/Makefile1
-rw-r--r--devel/php-xdebug/Makefile1
-rw-r--r--devel/phptags/Makefile1
-rw-r--r--devel/pikdev/Makefile1
-rw-r--r--devel/popt/Makefile1
-rw-r--r--devel/poslib/Makefile1
-rw-r--r--devel/preps-gui/Makefile1
-rw-r--r--devel/prepstools/Makefile1
-rw-r--r--devel/privman/Makefile1
-rw-r--r--devel/pth/Makefile1
-rw-r--r--devel/py-omniorb/Makefile1
-rw-r--r--devel/ragel/Makefile1
-rw-r--r--devel/re2c/Makefile1
-rw-r--r--devel/rlwrap/Makefile1
-rw-r--r--devel/rpc2/Makefile1
-rw-r--r--devel/rvm/Makefile1
-rw-r--r--devel/sfslite/Makefile1
-rw-r--r--devel/shmap/Makefile1
-rw-r--r--devel/shtool/Makefile1
-rw-r--r--devel/silc-toolkit/Makefile1
-rw-r--r--devel/simulavr/Makefile1
-rw-r--r--devel/splint/Makefile1
-rw-r--r--devel/str/Makefile1
-rw-r--r--devel/strace/Makefile1
-rw-r--r--devel/subversion-devel/Makefile1
-rw-r--r--devel/subversion/Makefile.common1
-rw-r--r--devel/subversion16/Makefile.common1
-rw-r--r--devel/t1lib/Makefile1
-rw-r--r--devel/ta-lib/Makefile1
-rw-r--r--devel/tvision/Makefile1
-rw-r--r--devel/valgrind-snapshot/Makefile1
-rw-r--r--devel/valgrind/Makefile1
-rw-r--r--devel/vstr/Makefile1
-rw-r--r--devel/xfc/Makefile1
-rw-r--r--devel/zziplib/Makefile1
-rw-r--r--dns/c-ares/Makefile1
-rw-r--r--dns/dnrd/Makefile1
-rw-r--r--dns/dnsproxy/Makefile1
-rw-r--r--dns/dnsutl/Makefile1
-rw-r--r--dns/nsd/Makefile1
-rw-r--r--dns/nsd2/Makefile1
-rw-r--r--dns/posadis/Makefile1
-rw-r--r--dns/powerdns-devel/Makefile1
-rw-r--r--dns/powerdns/Makefile1
-rw-r--r--dns/unbound/Makefile1
-rw-r--r--dns/updatedd/Makefile1
-rw-r--r--editors/MathPlanner/Makefile1
-rw-r--r--editors/bvi/Makefile1
-rw-r--r--editors/cooledit/Makefile1
-rw-r--r--editors/emacs/Makefile1
-rw-r--r--editors/emacs22/Makefile1
-rw-r--r--editors/emacs23/Makefile1
-rw-r--r--editors/hexcurse/Makefile1
-rw-r--r--editors/hte/Makefile1
-rw-r--r--editors/jed/Makefile1
-rw-r--r--editors/joe/Makefile1
-rw-r--r--editors/joe2/Makefile1
-rw-r--r--editors/nano/Makefile1
-rw-r--r--editors/ssed/Makefile1
-rw-r--r--editors/ted/Makefile1
-rw-r--r--editors/tetradraw/Makefile1
-rw-r--r--editors/texmacs/Makefile1
-rw-r--r--editors/xemacs-devel-mule/Makefile2
-rw-r--r--editors/xmlcopyeditor/Makefile1
-rw-r--r--emulators/advancemame/Makefile1
-rw-r--r--emulators/advancemenu/Makefile1
-rw-r--r--emulators/advancemess/Makefile1
-rw-r--r--emulators/atari800/Makefile1
-rw-r--r--emulators/desmume/Makefile1
-rw-r--r--emulators/dosbox/Makefile1
-rw-r--r--emulators/fceu/Makefile1
-rw-r--r--emulators/fceux/Makefile1
-rw-r--r--emulators/generator/Makefile1
-rw-r--r--emulators/gngeo/Makefile1
-rw-r--r--emulators/mednafen/Makefile1
-rw-r--r--emulators/pearpc/Makefile1
-rw-r--r--emulators/snes9x/Makefile1
-rw-r--r--emulators/yabause/Makefile1
-rw-r--r--emulators/zsnes/Makefile1
-rw-r--r--finance/aqbanking/Makefile1
-rw-r--r--finance/aqmoney/Makefile1
-rw-r--r--finance/khacc/Makefile1
-rw-r--r--finance/ledger/Makefile1
-rw-r--r--finance/openhbci/Makefile1
-rw-r--r--finance/qhacc/Makefile1
-rw-r--r--finance/quantlib/Makefile1
-rw-r--r--french/med/Makefile1
-rw-r--r--french/verbiste/Makefile1
-rw-r--r--ftp/curl/Makefile1
-rw-r--r--ftp/curlpp/Makefile1
-rw-r--r--ftp/frox/Makefile1
-rw-r--r--ftp/ftp-tls/Makefile1
-rw-r--r--ftp/ftpd-tls/Makefile1
-rw-r--r--ftp/muddleftpd/Makefile1
-rw-r--r--ftp/ocaml-ocurl/Makefile1
-rw-r--r--ftp/oftpd/Makefile1
-rw-r--r--ftp/pftpd/Makefile1
-rw-r--r--ftp/prozilla/Makefile1
-rw-r--r--ftp/puf/Makefile1
-rw-r--r--ftp/quftp/Makefile1
-rw-r--r--ftp/rexx-curl/Makefile1
-rw-r--r--ftp/wget/Makefile1
-rw-r--r--ftp/wput/Makefile1
-rw-r--r--ftp/wzdftpd/Makefile1
-rw-r--r--ftp/yafc/Makefile1
-rw-r--r--games/8kingdoms/Makefile1
-rw-r--r--games/abuse_sdl/Makefile1
-rw-r--r--games/adgali/Makefile1
-rw-r--r--games/adonthell/Makefile1
-rw-r--r--games/afternoonstalker/Makefile1
-rw-r--r--games/allacrost/Makefile1
-rw-r--r--games/amy/Makefile1
-rw-r--r--games/apricots/Makefile1
-rw-r--r--games/aqbubble/Makefile1
-rw-r--r--games/armagetron/Makefile1
-rw-r--r--games/atr3d/Makefile1
-rw-r--r--games/biloba/Makefile1
-rw-r--r--games/blobby/Makefile1
-rw-r--r--games/bloodfrontier/Makefile1
-rw-r--r--games/briquolo/Makefile1
-rw-r--r--games/brutalchess/Makefile2
-rw-r--r--games/bumprace/Makefile1
-rw-r--r--games/ceferino/Makefile1
-rw-r--r--games/chanta/Makefile1
-rw-r--r--games/concentration/Makefile1
-rw-r--r--games/construo/Makefile1
-rw-r--r--games/cosmosmash/Makefile1
-rw-r--r--games/criticalmass/Makefile1
-rw-r--r--games/d2x/Makefile1
-rw-r--r--games/deng/Makefile1
-rw-r--r--games/etracer/Makefile1
-rw-r--r--games/exult/Makefile1
-rw-r--r--games/fillets-ng/Makefile1
-rw-r--r--games/flightgear/Makefile1
-rw-r--r--games/flyhard/Makefile1
-rw-r--r--games/freesci/Makefile1
-rw-r--r--games/freesweep/Makefile1
-rw-r--r--games/gemrb/Makefile1
-rw-r--r--games/glaxium/Makefile1
-rw-r--r--games/glest/Makefile1
-rw-r--r--games/gltron/Makefile1
-rw-r--r--games/gnuchess/Makefile1
-rw-r--r--games/gturing/Makefile1
-rw-r--r--games/hangman/Makefile1
-rw-r--r--games/heroes/Makefile1
-rw-r--r--games/ifm/Makefile1
-rw-r--r--games/ivan/Makefile1
-rw-r--r--games/jfk/Makefile1
-rw-r--r--games/kobodeluxe/Makefile1
-rw-r--r--games/kpicframer/Makefile2
-rw-r--r--games/kpictorial/Makefile2
-rw-r--r--games/lbreakout2/Makefile1
-rw-r--r--games/lincity-ng/Makefile1
-rw-r--r--games/lincity/Makefile1
-rw-r--r--games/lordsawar/Makefile1
-rw-r--r--games/ltris/Makefile1
-rw-r--r--games/maelstrom/Makefile1
-rw-r--r--games/nazghul/Makefile1
-rw-r--r--games/nimuh/Makefile1
-rw-r--r--games/opencity/Makefile1
-rw-r--r--games/openmortal/Makefile1
-rw-r--r--games/pinball/Makefile5
-rw-r--r--games/planeshift/Makefile1
-rw-r--r--games/pongix/Makefile1
-rw-r--r--games/powermanga/Makefile1
-rw-r--r--games/ppracer/Makefile1
-rw-r--r--games/primateplunge/Makefile1
-rw-r--r--games/q3base/Makefile1
-rw-r--r--games/qgo/Makefile1
-rw-r--r--games/qonk/Makefile1
-rw-r--r--games/quake2forge/Makefile1
-rw-r--r--games/quakeforge/Makefile1
-rw-r--r--games/redeclipse/Makefile1
-rw-r--r--games/sauerbraten/Makefile1
-rw-r--r--games/scourge/Makefile1
-rw-r--r--games/scramble/Makefile1
-rw-r--r--games/secretmaryochronicles/Makefile1
-rw-r--r--games/supertux/Makefile1
-rw-r--r--games/tecnoballz/Makefile1
-rw-r--r--games/tmw/Makefile1
-rw-r--r--games/tnl/Makefile1
-rw-r--r--games/torcs/Makefile1
-rw-r--r--games/torrent/Makefile1
-rw-r--r--games/trackballs/Makefile1
-rw-r--r--games/ufoai/Makefile1
-rw-r--r--games/vegastrike/Makefile1
-rw-r--r--games/volleyball/Makefile1
-rw-r--r--games/warmux/Makefile1
-rw-r--r--games/wmpuzzle/Makefile1
-rw-r--r--games/wormux-devel/Makefile2
-rw-r--r--games/wormux/Makefile1
-rw-r--r--games/xlogical/Makefile2
-rw-r--r--games/xmahjongg/Makefile1
-rw-r--r--games/xmoto/Makefile1
-rw-r--r--german/ksteak/Makefile2
-rw-r--r--graphics/Coin/Makefile1
-rw-r--r--graphics/GraphicsMagick/Makefile1
-rw-r--r--graphics/Hermes/Makefile1
-rw-r--r--graphics/bugle/Makefile1
-rw-r--r--graphics/cal3d-devel/Makefile1
-rw-r--r--graphics/cal3d/Makefile1
-rw-r--r--graphics/crystalentitylayer-devel/Makefile1
-rw-r--r--graphics/crystalentitylayer/Makefile1
-rw-r--r--graphics/crystalspace-devel/Makefile1
-rw-r--r--graphics/crystalspace/Makefile2
-rw-r--r--graphics/demeter/Makefile1
-rw-r--r--graphics/divxcalc/Makefile1
-rw-r--r--graphics/enblend/Makefile1
-rw-r--r--graphics/feh/Makefile1
-rw-r--r--graphics/flphoto/Makefile1
-rw-r--r--graphics/freeglut/Makefile1
-rw-r--r--graphics/gdk-pixbuf/Makefile1
-rw-r--r--graphics/geos/Makefile2
-rw-r--r--graphics/giflib/Makefile1
-rw-r--r--graphics/gifsicle/Makefile1
-rw-r--r--graphics/gltt/Makefile1
-rw-r--r--graphics/gnash-devel/Makefile1
-rw-r--r--graphics/gnash/Makefile1
-rw-r--r--graphics/gozer/Makefile1
-rw-r--r--graphics/guilib/Makefile1
-rw-r--r--graphics/jpegpixi/Makefile1
-rw-r--r--graphics/kdc2tiff/Makefile1
-rw-r--r--graphics/libgltext/Makefile1
-rw-r--r--graphics/libpano12/Makefile1
-rw-r--r--graphics/libpano13/Makefile1
-rw-r--r--graphics/libungif/Makefile1
-rw-r--r--graphics/libvisual/Makefile1
-rw-r--r--graphics/libwpcg/Makefile1
-rw-r--r--graphics/opencv/Makefile1
-rw-r--r--graphics/opendx/Makefile1
-rw-r--r--graphics/panoglview/Makefile1
-rw-r--r--graphics/panomatic/Makefile1
-rw-r--r--graphics/pfscalibration/Makefile1
-rw-r--r--graphics/pfstmo/Makefile1
-rw-r--r--graphics/pfstools/Makefile2
-rw-r--r--graphics/pixie/Makefile1
-rw-r--r--graphics/potrace/Makefile1
-rw-r--r--graphics/povray/Makefile1
-rw-r--r--graphics/povray36/Makefile1
-rw-r--r--graphics/povray37/Makefile1
-rw-r--r--graphics/qglviewer/Makefile1
-rw-r--r--graphics/quesa/Makefile1
-rw-r--r--graphics/recoverjpeg/Makefile2
-rw-r--r--graphics/sam2p/Makefile1
-rw-r--r--graphics/scrot/Makefile1
-rw-r--r--graphics/sdl_gfx/Makefile1
-rw-r--r--graphics/sdl_image/Makefile1
-rw-r--r--graphics/sdl_ttf/Makefile1
-rw-r--r--graphics/simage/Makefile1
-rw-r--r--graphics/tif22pnm/Makefile1
-rw-r--r--graphics/tiff/Makefile1
-rw-r--r--graphics/tulip/Makefile2
-rw-r--r--graphics/vigra/Makefile1
-rw-r--r--graphics/vp/Makefile1
-rw-r--r--graphics/xaralx/Makefile1
-rw-r--r--graphics/xmms-iris/Makefile1
-rw-r--r--graphics/xpdf/Makefile1
-rw-r--r--graphics/zimg/Makefile1
-rw-r--r--hebrew/hspell/Makefile1
-rw-r--r--irc/bitchx/Makefile4
-rw-r--r--irc/bopm/Makefile1
-rw-r--r--irc/hybserv/Makefile2
-rw-r--r--irc/kvirc-devel/Makefile1
-rw-r--r--irc/kvirc/Makefile1
-rw-r--r--irc/miau/Makefile1
-rw-r--r--irc/nefarious/Makefile1
-rw-r--r--irc/ngircd/Makefile1
-rw-r--r--irc/quirc/Makefile1
-rw-r--r--irc/undernet-ircu/Makefile1
-rw-r--r--irc/weechat-devel/Makefile1
-rw-r--r--irc/weechat/Makefile1
-rw-r--r--irc/xaric/Makefile1
-rw-r--r--japanese/eb/Makefile1
-rw-r--r--japanese/eblook/Makefile1
-rw-r--r--japanese/ebnetd/Makefile1
-rw-r--r--japanese/ebview/Makefile1
-rw-r--r--japanese/freepwing/Makefile1
-rw-r--r--lang/asn1c/Makefile1
-rw-r--r--lang/cim/Makefile1
-rw-r--r--lang/elk/Makefile1
-rw-r--r--lang/erlang/Makefile1
-rw-r--r--lang/erlang14/Makefile1
-rw-r--r--lang/ferite/Makefile1
-rw-r--r--lang/g95/Makefile2
-rw-r--r--lang/gambas/Makefile1
-rw-r--r--lang/gawk/Makefile1
-rw-r--r--lang/gcc28/Makefile1
-rw-r--r--lang/gcc295/Makefile1
-rw-r--r--lang/gnustep-base/Makefile1
-rw-r--r--lang/gnustep-guile/Makefile1
-rw-r--r--lang/gprolog/Makefile1
-rw-r--r--lang/libutils/Makefile1
-rw-r--r--lang/onyx/Makefile1
-rw-r--r--lang/oo2c/Makefile1
-rw-r--r--lang/pcc/Makefile1
-rw-r--r--lang/python23/Makefile1
-rw-r--r--lang/python24/Makefile1
-rw-r--r--lang/python25/Makefile1
-rw-r--r--lang/python26/Makefile1
-rw-r--r--lang/python27/Makefile1
-rw-r--r--lang/python30/Makefile1
-rw-r--r--lang/python31/Makefile1
-rw-r--r--lang/python32/Makefile1
-rw-r--r--lang/see-devel/Makefile1
-rw-r--r--lang/see/Makefile1
-rw-r--r--lang/yabasic/Makefile1
-rw-r--r--mail/anubis/Makefile1
-rw-r--r--mail/bincimap/Makefile1
-rw-r--r--mail/bogofilter/Makefile1
-rw-r--r--mail/chk4mail/Makefile1
-rw-r--r--mail/cone/Makefile1
-rw-r--r--mail/courier-imap/Makefile1
-rw-r--r--mail/courier/Makefile1
-rw-r--r--mail/crashecho/Makefile1
-rw-r--r--mail/dovecot-devel/Makefile1
-rw-r--r--mail/dovecot-managesieve/Makefile1
-rw-r--r--mail/dovecot-sieve/Makefile1
-rw-r--r--mail/dovecot/Makefile1
-rw-r--r--mail/dspam-devel/Makefile1
-rw-r--r--mail/dspam/Makefile1
-rw-r--r--mail/esmtp/Makefile1
-rw-r--r--mail/faces/Makefile1
-rw-r--r--mail/fetchmail/Makefile1
-rw-r--r--mail/filtermail/Makefile1
-rw-r--r--mail/gensig/Makefile1
-rw-r--r--mail/gmime/Makefile1
-rw-r--r--mail/gnarwl/Makefile1
-rw-r--r--mail/ifile/Makefile1
-rw-r--r--mail/isoqlog/Makefile1
-rw-r--r--mail/isync/Makefile1
-rw-r--r--mail/jamlib/Makefile1
-rw-r--r--mail/libesmtp/Makefile1
-rw-r--r--mail/librfc822/Makefile1
-rw-r--r--mail/libsieve/Makefile1
-rw-r--r--mail/libspf-alt/Makefile1
-rw-r--r--mail/libspf2-10/Makefile1
-rw-r--r--mail/libspf2/Makefile2
-rw-r--r--mail/libsrs2/Makefile2
-rw-r--r--mail/lmtp2nntp/Makefile1
-rw-r--r--mail/lmtpd/Makefile1
-rw-r--r--mail/maildrop/Makefile1
-rw-r--r--mail/masqmail/Makefile1
-rw-r--r--mail/meta1/Makefile1
-rw-r--r--mail/milter-greylist-devel/Makefile1
-rw-r--r--mail/milter-greylist/Makefile1
-rw-r--r--mail/msmtp/Makefile1
-rw-r--r--mail/mutt/Makefile1
-rw-r--r--mail/mutt14/Makefile1
-rw-r--r--mail/nbsmtp/Makefile1
-rw-r--r--mail/nmzmail/Makefile1
-rw-r--r--mail/pfqueue/Makefile1
-rw-r--r--mail/proxsmtp/Makefile1
-rw-r--r--mail/qmail-auditor/Makefile1
-rw-r--r--mail/qmailadmin/Makefile1
-rw-r--r--mail/qsf/Makefile1
-rw-r--r--mail/qsheff/Makefile1
-rw-r--r--mail/rabl_client/Makefile1
-rw-r--r--mail/rabl_server/Makefile1
-rw-r--r--mail/renattach/Makefile1
-rw-r--r--mail/spamguard/Makefile1
-rw-r--r--mail/spamprobe/Makefile1
-rw-r--r--mail/sqwebmail/Makefile1
-rw-r--r--mail/tpop3d/Makefile1
-rw-r--r--mail/vpopmail/Makefile1
-rw-r--r--mail/vqadmin/Makefile1
-rw-r--r--mail/whoson/Makefile1
-rw-r--r--mail/wmbiff/Makefile1
-rw-r--r--math/R/Makefile1
-rw-r--r--math/asymptote/Makefile1
-rw-r--r--math/fann/Makefile1
-rw-r--r--math/fftw/Makefile1
-rw-r--r--math/freefem++/Makefile1
-rw-r--r--math/freemat/Makefile1
-rw-r--r--math/gsl/Makefile1
-rw-r--r--math/guppi/Makefile1
-rw-r--r--math/kaskade/Makefile2
-rw-r--r--math/libRmath/Makefile1
-rw-r--r--math/ltl/Makefile1
-rw-r--r--math/orpie/Makefile1
-rw-r--r--math/plplot/Makefile1
-rw-r--r--math/qhull/Makefile1
-rw-r--r--math/qhull5/Makefile1
-rw-r--r--math/tablix/Makefile2
-rw-r--r--math/tvmet/Makefile1
-rw-r--r--math/yacas/Makefile1
-rw-r--r--misc/amanda-server/Makefile2
-rw-r--r--misc/amanda25-server/Makefile2
-rw-r--r--misc/amanda26-server/Makefile2
-rw-r--r--misc/amanda32-server/Makefile2
-rw-r--r--misc/bibletime-kde3/Makefile1
-rw-r--r--misc/bibletime/Makefile1
-rw-r--r--misc/clpbar/Makefile1
-rw-r--r--misc/dejagnu/Makefile1
-rw-r--r--misc/diction/Makefile1
-rw-r--r--misc/hello/Makefile1
-rw-r--r--misc/iselect/Makefile1
-rw-r--r--misc/kcd-devel/Makefile3
-rw-r--r--misc/kcd/Makefile3
-rw-r--r--misc/latex-mk/Makefile1
-rw-r--r--misc/lifelines/Makefile1
-rw-r--r--misc/ossp-uuid/Makefile1
-rw-r--r--misc/patchutils/Makefile1
-rw-r--r--misc/skyutils/Makefile1
-rw-r--r--misc/smssend/Makefile1
-rw-r--r--misc/sword/Makefile1
-rw-r--r--misc/sword15/Makefile1
-rw-r--r--misc/talkfilters/Makefile1
-rw-r--r--misc/uf-view/Makefile1
-rw-r--r--misc/wmwork/Makefile1
-rw-r--r--misc/xbiso/Makefile1
-rw-r--r--misc/xdelta/Makefile1
-rw-r--r--misc/xfce4-artwork/Makefile1
-rw-r--r--multimedia/avifile/Makefile1
-rw-r--r--multimedia/camserv/Makefile1
-rw-r--r--multimedia/emovix/Makefile1
-rw-r--r--multimedia/kaffeine/Makefile1
-rw-r--r--multimedia/libdvbpsi/Makefile1
-rw-r--r--multimedia/libdvdread/Makefile2
-rw-r--r--multimedia/libfame/Makefile2
-rw-r--r--multimedia/motion/Makefile2
-rw-r--r--multimedia/nmm/Makefile1
-rw-r--r--multimedia/sublib/Makefile1
-rw-r--r--multimedia/toxine/Makefile1
-rw-r--r--net-im/ari-yahoo/Makefile1
-rw-r--r--net-im/cli-msn/Makefile1
-rw-r--r--net-im/climm/Makefile1
-rw-r--r--net-im/ickle/Makefile1
-rw-r--r--net-im/iserverd/Makefile1
-rw-r--r--net-im/kf/Makefile1
-rw-r--r--net-im/kpopup/Makefile1
-rw-r--r--net-im/naim/Makefile2
-rw-r--r--net-im/pork/Makefile1
-rw-r--r--net-im/sim-im-devel/Makefile2
-rw-r--r--net-im/sim-im/Makefile2
-rw-r--r--net-im/trix/Makefile1
-rw-r--r--net-mgmt/ap-utils/Makefile1
-rw-r--r--net-mgmt/arpscan/Makefile3
-rw-r--r--net-mgmt/arpwatch/Makefile2
-rw-r--r--net-mgmt/chillispot/Makefile1
-rw-r--r--net-mgmt/darkstat/Makefile1
-rw-r--r--net-mgmt/disco/Makefile1
-rw-r--r--net-mgmt/echolot/Makefile1
-rw-r--r--net-mgmt/ettercap/Makefile1
-rw-r--r--net-mgmt/fprobe/Makefile1
-rw-r--r--net-mgmt/iftop/Makefile1
-rw-r--r--net-mgmt/nefu/Makefile1
-rw-r--r--net-mgmt/netxms/Makefile1
-rw-r--r--net-mgmt/nfdump-devel/Makefile4
-rw-r--r--net-mgmt/nfdump/Makefile1
-rw-r--r--net-mgmt/openvmps/Makefile1
-rw-r--r--net-mgmt/packit/Makefile1
-rw-r--r--net-mgmt/sysmon/Makefile1
-rw-r--r--net-mgmt/tcptrack/Makefile1
-rw-r--r--net-p2p/amule-devel/Makefile1
-rw-r--r--net-p2p/amule/Makefile1
-rw-r--r--net-p2p/amule2/Makefile1
-rw-r--r--net-p2p/ctorrent/Makefile1
-rw-r--r--net-p2p/dclib/Makefile1
-rw-r--r--net-p2p/libtorrent/Makefile1
-rw-r--r--net-p2p/mooseekd/Makefile1
-rw-r--r--net-p2p/mutella/Makefile1
-rw-r--r--net-p2p/opendchub/Makefile1
-rw-r--r--net-p2p/qbittorrent-22/Makefile1
-rw-r--r--net-p2p/qbittorrent/Makefile1
-rw-r--r--net-p2p/rtorrent/Makefile1
-rw-r--r--net-p2p/valknut/Makefile2
-rw-r--r--net/6tunnel/Makefile1
-rw-r--r--net/beacon/Makefile1
-rw-r--r--net/binkd/Makefile1
-rw-r--r--net/bsdproxy/Makefile1
-rw-r--r--net/c3270/Makefile1
-rw-r--r--net/coda6_server/Makefile1
-rw-r--r--net/dante/Makefile1
-rw-r--r--net/diradmin/Makefile1
-rw-r--r--net/etrace/Makefile1
-rw-r--r--net/fspclient/Makefile1
-rw-r--r--net/gatekeeper/Makefile1
-rw-r--r--net/gnu-radius/Makefile1
-rw-r--r--net/gutenfetch/Makefile1
-rw-r--r--net/hidentd/Makefile1
-rw-r--r--net/honeyd/Makefile1
-rw-r--r--net/icpld/Makefile1
-rw-r--r--net/ipsumdump/Makefile1
-rw-r--r--net/iscsi-target/Makefile1
-rw-r--r--net/lam/Makefile1
-rw-r--r--net/latd/Makefile1
-rw-r--r--net/libdnet/Makefile1
-rw-r--r--net/libnet-devel/Makefile1
-rw-r--r--net/libnet/Makefile1
-rw-r--r--net/libnetdude/Makefile1
-rw-r--r--net/libnids/Makefile1
-rw-r--r--net/libnss-mysql/Makefile1
-rw-r--r--net/librsync/Makefile1
-rw-r--r--net/libtrace/Makefile1
-rw-r--r--net/minisapserver/Makefile1
-rw-r--r--net/mpich2/Makefile1
-rw-r--r--net/nast/Makefile1
-rw-r--r--net/nc6/Makefile1
-rw-r--r--net/nepenthes/Makefile1
-rw-r--r--net/netatalk/Makefile1
-rw-r--r--net/ntop/Makefile1
-rw-r--r--net/ntp-devel/Makefile1
-rw-r--r--net/ntp/Makefile1
-rw-r--r--net/nylon/Makefile1
-rw-r--r--net/openldap23-server/Makefile1
-rw-r--r--net/openldap24-server/Makefile1
-rw-r--r--net/openslp/Makefile1
-rw-r--r--net/ossp-sa/Makefile1
-rw-r--r--net/panoptis/Makefile1
-rw-r--r--net/quagga/Makefile1
-rw-r--r--net/rfbproxy/Makefile1
-rw-r--r--net/ripe-whois/Makefile1
-rw-r--r--net/rp-pppoe/Makefile1
-rw-r--r--net/rsync/Makefile1
-rw-r--r--net/samba-pdbsql/Makefile1
-rw-r--r--net/samba3/Makefile2
-rw-r--r--net/samba4wins/Makefile2
-rw-r--r--net/serveez/Makefile1
-rw-r--r--net/shmux/Makefile1
-rw-r--r--net/silc-client/Makefile1
-rw-r--r--net/siproxd/Makefile2
-rw-r--r--net/ss5/Makefile1
-rw-r--r--net/tac_plus4/Makefile1
-rw-r--r--net/tacshell/Makefile1
-rw-r--r--net/tapidbus/Makefile2
-rw-r--r--net/tcpstat/Makefile1
-rw-r--r--net/tcptraceroute-devel/Makefile1
-rw-r--r--net/tn5250/Makefile1
-rw-r--r--net/trickle/Makefile1
-rw-r--r--net/twinkle/Makefile1
-rw-r--r--net/uplog/Makefile1
-rw-r--r--net/vomit/Makefile1
-rw-r--r--net/wol/Makefile1
-rw-r--r--net/xmlrpc-epi/Makefile1
-rw-r--r--net/xorp/Makefile4
-rw-r--r--news/fidogate-ds/Makefile1
-rw-r--r--news/leafnode/Makefile1
-rw-r--r--news/multisuck/Makefile1
-rw-r--r--news/newsfish/Makefile1
-rw-r--r--news/nget/Makefile1
-rw-r--r--news/noffle/Makefile1
-rw-r--r--news/yencode/Makefile1
-rw-r--r--news/yydecode/Makefile1
-rw-r--r--palm/synce-hal/Makefile1
-rw-r--r--palm/synce-kde/Makefile1
-rw-r--r--palm/synce-libsynce/Makefile1
-rw-r--r--polish/ekg2/Makefile1
-rw-r--r--ports-mgmt/portdowngrade/Makefile1
-rw-r--r--ports-mgmt/portmanager/Makefile1
-rw-r--r--print/cpp2latex/Makefile1
-rw-r--r--print/cups-base/Makefile1
-rw-r--r--print/cups-pstoraster/Makefile1
-rw-r--r--print/enscript-letter/Makefile1
-rw-r--r--print/foomatic-db/Makefile1
-rw-r--r--print/kaspaliste/Makefile4
-rw-r--r--print/libotf/Makefile1
-rw-r--r--print/libpaper/Makefile1
-rw-r--r--print/magicfilter/Makefile6
-rw-r--r--print/mftrace/Makefile1
-rw-r--r--print/tipograf/Makefile1
-rw-r--r--print/typetools/Makefile1
-rw-r--r--russian/ksocrat/Makefile1
-rw-r--r--russian/xruskb/Makefile1
-rw-r--r--science/abinit/Makefile4
-rw-r--r--science/abinit/pkg-plist30
-rw-r--r--science/bft/Makefile1
-rw-r--r--science/buddy/Makefile1
-rw-r--r--science/chemtool/Makefile1
-rw-r--r--science/ecs/Makefile1
-rw-r--r--science/elmer-fem/Makefile2
-rw-r--r--science/elmer-fem/pkg-plist2
-rw-r--r--science/elmer-matc/Makefile2
-rw-r--r--science/elmer-matc/pkg-plist2
-rw-r--r--science/elmer-meshgen2d/Makefile13
-rw-r--r--science/elmerfront/Makefile5
-rw-r--r--science/elmerfront/pkg-plist2
-rw-r--r--science/elmergrid/Makefile9
-rw-r--r--science/elmerpost/Makefile4
-rw-r--r--science/elmerpost/pkg-plist6
-rw-r--r--science/fvm/Makefile1
-rw-r--r--science/gerris/Makefile1
-rw-r--r--science/getdp/Makefile1
-rw-r--r--science/gnudatalanguage/Makefile1
-rw-r--r--science/gromacs/Makefile1
-rw-r--r--science/kmovisto/Makefile1
-rw-r--r--science/minc/Makefile1
-rw-r--r--science/minc2/Makefile1
-rw-r--r--security/barnyard/Makefile1
-rw-r--r--security/beecrypt/Makefile1
-rw-r--r--security/bro/Makefile1
-rw-r--r--security/bubblegum/Makefile1
-rw-r--r--security/checkpassword-pam/Makefile2
-rw-r--r--security/clamav-devel/Makefile1
-rw-r--r--security/clamav/Makefile1
-rw-r--r--security/clamcour/Makefile1
-rw-r--r--security/clamsmtp/Makefile2
-rw-r--r--security/courier-authlib/Makefile1
-rw-r--r--security/courierpasswd/Makefile1
-rw-r--r--security/courieruserinfo/Makefile2
-rw-r--r--security/digest/Makefile2
-rw-r--r--security/distcache-devel/Makefile1
-rw-r--r--security/distcache/Makefile1
-rw-r--r--security/doorman/Makefile1
-rw-r--r--security/fakeroot/Makefile1
-rw-r--r--security/fcrackzip/Makefile1
-rw-r--r--security/fwbuilder-devel/Makefile1
-rw-r--r--security/fwbuilder/Makefile1
-rw-r--r--security/fwbuilder2/Makefile1
-rw-r--r--security/gnupg1/Makefile1
-rw-r--r--security/gnutls/Makefile1
-rw-r--r--security/gpgme/Makefile1
-rw-r--r--security/hashish/Makefile1
-rw-r--r--security/ipsec-tools/Makefile1
-rw-r--r--security/libfwbuilder-devel/Makefile1
-rw-r--r--security/libfwbuilder/Makefile1
-rw-r--r--security/libfwbuilder2/Makefile1
-rw-r--r--security/libgcrypt/Makefile1
-rw-r--r--security/libgpg-error/Makefile1
-rw-r--r--security/libksba/Makefile2
-rw-r--r--security/libmcrypt/Makefile1
-rw-r--r--security/libprelude/Makefile1
-rw-r--r--security/libpreludedb/Makefile1
-rw-r--r--security/libssh2/Makefile1
-rw-r--r--security/libtasn1/Makefile1
-rw-r--r--security/mcrypt/Makefile1
-rw-r--r--security/mhash/Makefile1
-rw-r--r--security/nettle/Makefile1
-rw-r--r--security/nettle2/Makefile1
-rw-r--r--security/nmap/Makefile1
-rw-r--r--security/oidentd/Makefile1
-rw-r--r--security/opencdk/Makefile1
-rw-r--r--security/openscep/Makefile1
-rw-r--r--security/openssh-portable/Makefile1
-rw-r--r--security/openvas-libraries/Makefile.common3
-rw-r--r--security/openvpn-devel/Makefile1
-rw-r--r--security/openvpn/Makefile1
-rw-r--r--security/openvpn20/Makefile1
-rw-r--r--security/osiris/Makefile1
-rw-r--r--security/pam_ldap/Makefile1
-rw-r--r--security/prelude-lml/Makefile1
-rw-r--r--security/prelude-manager/Makefile1
-rw-r--r--security/racoon2/Makefile1
-rw-r--r--security/sha/Makefile2
-rw-r--r--security/snort/Makefile1
-rw-r--r--security/snort_inline/Makefile1
-rw-r--r--security/spybye/Makefile1
-rw-r--r--security/srm/Makefile1
-rw-r--r--security/steghide/Makefile2
-rw-r--r--security/stunnel/Makefile1
-rw-r--r--security/sudo/Makefile1
-rw-r--r--security/tinc/Makefile1
-rw-r--r--security/xmlsec/Makefile1
-rw-r--r--security/yafic/Makefile1
-rw-r--r--security/zzuf/Makefile1
-rw-r--r--shells/bash/Makefile2
-rw-r--r--shells/bashc/Makefile1
-rw-r--r--shells/zsh/Makefile1
-rw-r--r--sysutils/adtool/Makefile3
-rw-r--r--sysutils/anteater/Makefile1
-rw-r--r--sysutils/ccd2iso/Makefile1
-rw-r--r--sysutils/cdargs/Makefile1
-rw-r--r--sysutils/cdf/Makefile1
-rw-r--r--sysutils/cdrdao/Makefile1
-rw-r--r--sysutils/cfengine/Makefile1
-rw-r--r--sysutils/cfengine3-legacy/Makefile1
-rw-r--r--sysutils/cfengine3/Makefile1
-rw-r--r--sysutils/coreutils/Makefile1
-rw-r--r--sysutils/dvdisaster/Makefile1
-rw-r--r--sysutils/freeipmi/Makefile1
-rw-r--r--sysutils/fusefs-ntfs/Makefile1
-rw-r--r--sysutils/fusefs-pod/Makefile1
-rw-r--r--sysutils/grub/Makefile1
-rw-r--r--sysutils/hdup/Makefile1
-rw-r--r--sysutils/hourglass/Makefile1
-rw-r--r--sysutils/ipmitool/Makefile1
-rw-r--r--sysutils/k3b-kde4/Makefile1
-rw-r--r--sysutils/k3b/Makefile1
-rw-r--r--sysutils/lcdproc/Makefile1
-rw-r--r--sysutils/lookat/Makefile1
-rw-r--r--sysutils/mcron/Makefile1
-rw-r--r--sysutils/mdf2iso/Makefile1
-rw-r--r--sysutils/metalog/Makefile1
-rw-r--r--sysutils/msyslog/Makefile1
-rw-r--r--sysutils/ntfsprogs/Makefile1
-rw-r--r--sysutils/nvtv/Makefile1
-rw-r--r--sysutils/progsreiserfs/Makefile1
-rw-r--r--sysutils/psmisc/Makefile1
-rw-r--r--sysutils/rsnapshot/Makefile1
-rw-r--r--sysutils/scanbuttond/Makefile1
-rw-r--r--sysutils/sg3_utils/Makefile1
-rw-r--r--sysutils/slmon/Makefile1
-rw-r--r--sysutils/smartmontools-devel/Makefile1
-rw-r--r--sysutils/smartmontools/Makefile1
-rw-r--r--sysutils/stress/Makefile1
-rw-r--r--sysutils/synergy/Makefile1
-rw-r--r--sysutils/testdisk/Makefile1
-rw-r--r--sysutils/uniutils/Makefile1
-rw-r--r--sysutils/uptimec/Makefile1
-rw-r--r--sysutils/userinfo/Makefile1
-rw-r--r--sysutils/wmfsm/Makefile1
-rw-r--r--sysutils/xvidcap/Makefile1
-rw-r--r--textproc/aft/Makefile1
-rw-r--r--textproc/aspell/Makefile1
-rw-r--r--textproc/dbacl/Makefile1
-rw-r--r--textproc/dictfmt/Makefile1
-rw-r--r--textproc/expat2/Makefile1
-rw-r--r--textproc/filepp/Makefile1
-rw-r--r--textproc/gmetadom/Makefile1
-rw-r--r--textproc/gsed/Makefile1
-rw-r--r--textproc/hyperestraier/Makefile1
-rw-r--r--textproc/ipdf/Makefile1
-rw-r--r--textproc/kmflcomp/Makefile1
-rw-r--r--textproc/libkmfl/Makefile1
-rw-r--r--textproc/libnxml/Makefile1
-rw-r--r--textproc/libparsifal/Makefile1
-rw-r--r--textproc/libpathan/Makefile1
-rw-r--r--textproc/libtext-charwidth-perl/Makefile1
-rw-r--r--textproc/libtext-wrapi18n-perl/Makefile1
-rw-r--r--textproc/libtextcat/Makefile1
-rw-r--r--textproc/libxdiff/Makefile1
-rw-r--r--textproc/rand/Makefile1
-rw-r--r--textproc/scim-kmfl-imengine/Makefile1
-rw-r--r--textproc/sdcv/Makefile1
-rw-r--r--textproc/source-highlight/Makefile1
-rw-r--r--textproc/sowing/Makefile1
-rw-r--r--textproc/sphinxsearch-devel/Makefile1
-rw-r--r--textproc/sphinxsearch/Makefile1
-rw-r--r--textproc/webcpp/Makefile1
-rw-r--r--textproc/xlhtml/Makefile1
-rw-r--r--textproc/xmlto/Makefile1
-rw-r--r--www/apache20/Makefile2
-rw-r--r--www/apache22/Makefile2
-rw-r--r--www/c-icap/Makefile1
-rw-r--r--www/cadaver/Makefile1
-rw-r--r--www/cgicc/Makefile1
-rw-r--r--www/dpsearch/Makefile1
-rw-r--r--www/ffproxy/Makefile1
-rw-r--r--www/havp/Makefile1
-rw-r--r--www/hiawatha/Makefile1
-rw-r--r--www/hydra/Makefile1
-rw-r--r--www/lighttpd/Makefile1
-rw-r--r--www/lynx-current/Makefile1
-rw-r--r--www/lynx/Makefile1
-rw-r--r--www/man2web/Makefile1
-rw-r--r--www/middleman/Makefile1
-rw-r--r--www/mnogosearch/Makefile1
-rw-r--r--www/mnogosearch31/Makefile1
-rw-r--r--www/mod_auth_form/Makefile1
-rw-r--r--www/neonpp/Makefile1
-rw-r--r--www/netrik/Makefile1
-rw-r--r--www/openvrml/Makefile1
-rw-r--r--www/sams/Makefile1
-rw-r--r--www/sarg/Makefile1
-rw-r--r--www/tidy-devel/Makefile1
-rw-r--r--www/varnish/Makefile1
-rw-r--r--www/varnish2/Makefile1
-rw-r--r--www/wml/Makefile1
-rw-r--r--www/xshttpd-devel/Makefile1
-rw-r--r--www/xshttpd/Makefile1
-rw-r--r--x11-clocks/wmclockmon/Makefile1
-rw-r--r--x11-clocks/xdaliclock/Makefile1
-rw-r--r--x11-drivers/xf86-input-magictouch/Makefile2
-rw-r--r--x11-fm/FSViewer/Makefile1
-rw-r--r--x11-fm/krusader/Makefile2
-rw-r--r--x11-fm/krusader2/Makefile2
-rw-r--r--x11-fm/tkdesk/Makefile1
-rw-r--r--x11-fonts/libFS/Makefile2
-rw-r--r--x11-servers/Xfstt/Makefile1
-rw-r--r--x11-themes/emerald-themes/Makefile1
-rw-r--r--x11-toolkits/SoXt/Makefile1
-rw-r--r--x11-toolkits/fltk/Makefile1
-rw-r--r--x11-toolkits/fltk2/Makefile1
-rw-r--r--x11-toolkits/fox14/Makefile1
-rw-r--r--x11-toolkits/gnustep-back/Makefile1
-rw-r--r--x11-toolkits/gnustep-gui/Makefile1
-rw-r--r--x11-toolkits/gob/Makefile1
-rw-r--r--x11-toolkits/libgtkeditor/Makefile1
-rw-r--r--x11-toolkits/movingmotif/Makefile1
-rw-r--r--x11-toolkits/neXtaw/Makefile1
-rw-r--r--x11-toolkits/paragui-devel/Makefile1
-rw-r--r--x11-toolkits/py-gtk/Makefile1
-rw-r--r--x11-toolkits/soqt/Makefile1
-rw-r--r--x11-toolkits/wxgtk24/Makefile2
-rw-r--r--x11-toolkits/xbae/Makefile1
-rw-r--r--x11-wm/bbconf/Makefile1
-rw-r--r--x11-wm/bbkeys/Makefile1
-rw-r--r--x11-wm/bbpager/Makefile1
-rw-r--r--x11-wm/compiz-fusion-plugins-extra/Makefile1
-rw-r--r--x11-wm/compiz-fusion-plugins-main/Makefile1
-rw-r--r--x11-wm/compiz-fusion-plugins-unsupported/Makefile1
-rw-r--r--x11-wm/compiz-plugins-extra/Makefile1
-rw-r--r--x11-wm/compiz-plugins-main/Makefile1
-rw-r--r--x11-wm/compiz-plugins-unsupported/Makefile1
-rw-r--r--x11-wm/compiz/Makefile1
-rw-r--r--x11-wm/compizconfig-python/Makefile2
-rw-r--r--x11-wm/emerald/Makefile1
-rw-r--r--x11-wm/fbpager/Makefile1
-rw-r--r--x11-wm/kahakai/Makefile1
-rw-r--r--x11-wm/kappdock/Makefile1
-rw-r--r--x11-wm/libcompizconfig/Makefile1
-rw-r--r--x11-wm/ude/Makefile1
-rw-r--r--x11-wm/wmconfig/Makefile1
-rw-r--r--x11-wm/xfce/Makefile1
-rw-r--r--x11/3ddesktop/Makefile1
-rw-r--r--x11/bbdock/Makefile1
-rw-r--r--x11/gdkxft/Makefile1
-rw-r--r--x11/kdelibs3/Makefile2
-rw-r--r--x11/libXTrap/Makefile2
-rw-r--r--x11/libXinerama/Makefile2
-rw-r--r--x11/libXp/Makefile2
-rw-r--r--x11/libXprintAppUtil/Makefile2
-rw-r--r--x11/libXprintUtil/Makefile2
-rw-r--r--x11/libXtrans/Makefile1
-rw-r--r--x11/libXtst/Makefile2
-rw-r--r--x11/liboldX/Makefile2
-rw-r--r--x11/libxcb/Makefile1
-rw-r--r--x11/multi-aterm/Makefile3
-rw-r--r--x11/oooqs/Makefile1
-rw-r--r--x11/oooqs2/Makefile1
-rw-r--r--x11/rxvt-unicode/Makefile1
-rw-r--r--x11/wdm/Makefile1
-rw-r--r--x11/x3270/Makefile1
-rw-r--r--x11/xcb-proto/Makefile1
-rw-r--r--x11/xrx/Makefile2
-rw-r--r--x11/xterm/Makefile1
-rw-r--r--x11/xtermcontrol/Makefile1
-rw-r--r--x11/xvattr/Makefile1
1080 files changed, 102 insertions, 1247 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk
index 57f5a3d49a10..6e714bf6394c 100644
--- a/Mk/bsd.gnome.mk
+++ b/Mk/bsd.gnome.mk
@@ -107,8 +107,6 @@ gnomeprefix_USE_GNOME_IMPL=gnomehier
gnomeprefix_PREFIX=${LOCALBASE}
.endif
-gnometarget_CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
ESD_CONFIG?= ${LOCALBASE}/bin/esd-config
esound_LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound
esound_CONFIGURE_ENV= ESD_CONFIG="${ESD_CONFIG}"
diff --git a/Mk/bsd.kde.mk b/Mk/bsd.kde.mk
index b286de84606e..27f64b3c1d56 100644
--- a/Mk/bsd.kde.mk
+++ b/Mk/bsd.kde.mk
@@ -57,9 +57,7 @@ CATEGORIES+=ipv6
## XXX - This really belongs into bsd.port.mk
.if !defined(_NO_KDE_CONFTARGET_HACK)
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include \
+CONFIGURE_ARGS+=--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include \
--disable-as-needed
.endif
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index f9b5ce83a443..3f391faf0553 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -882,7 +882,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# CONFIGURE_ARGS
# - Pass these args to configure if ${HAS_CONFIGURE} is set.
# Default: "--prefix=${PREFIX} --infodir=${PREFIX}/${INFO_PATH}
-# --mandir=${MANPREFIX}/man ${CONFIGURE_TARGET}" if
+# --mandir=${MANPREFIX}/man --build=${CONFIGURE_TARGET}" if
# GNU_CONFIGURE is set, "CC=${CC} CCFLAGS=${CFLAGS}
# PREFIX=${PREFIX} INSTALLPRIVLIB=${PREFIX}/lib
# INSTALLARCHLIB=${PREFIX}/lib" if PERL_CONFIGURE is set,
@@ -2814,6 +2814,7 @@ PKGLATESTFILE= ${PKGLATESTREPOSITORY}/${LATEST_LINK}${PKG_SUFX}
CONFIGURE_SCRIPT?= configure
CONFIGURE_TARGET?= ${ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//}
CONFIGURE_LOG?= config.log
# A default message to print if do-configure fails.
@@ -2824,7 +2825,7 @@ CONFIGURE_FAIL_MESSAGE?= "Please report the problem to ${MAINTAINER} [maintainer
.if !defined(CONFIGURE_MAX_CMD_LEN)
CONFIGURE_MAX_CMD_LEN!= ${SYSCTL} -n kern.argmax
.endif
-CONFIGURE_ARGS+= --prefix=${PREFIX} $${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}
+CONFIGURE_ARGS+= --prefix=${PREFIX} $${_LATE_CONFIGURE_ARGS}
CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
HAS_CONFIGURE= yes
@@ -2835,6 +2836,11 @@ SET_LATE_CONFIGURE_ARGS= \
fi ; \
if [ ! -z "`./${CONFIGURE_SCRIPT} --help 2>&1 | ${GREP} -- '--infodir'`" ]; then \
_LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --infodir=${PREFIX}/${INFO_PATH}/${INFO_SUBDIR}" ; \
+ fi ; \
+ if [ -z "`./${CONFIGURE_SCRIPT} --version 2>&1 | ${EGREP} '(2\.13|Unrecognized option)'`" ]; then \
+ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} --build=${CONFIGURE_TARGET}" ; \
+ else \
+ _LATE_CONFIGURE_ARGS="$${_LATE_CONFIGURE_ARGS} ${CONFIGURE_TARGET}" ; \
fi ;
.endif
diff --git a/accessibility/yasr/Makefile b/accessibility/yasr/Makefile
index c4b843367382..bb92a086e924 100644
--- a/accessibility/yasr/Makefile
+++ b/accessibility/yasr/Makefile
@@ -21,7 +21,6 @@ PORTDOCS= AUTHORS BUGS CREDITS ChangeLog NEWS README TODO \
README-br README-de README-es README-fr README-ru
SUB_FILES= pkg-message
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if !defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --enable-nls
PLIST_SUB+= NLS=""
diff --git a/archivers/advancecomp/Makefile b/archivers/advancecomp/Makefile
index 05df40d838fd..ad983196328e 100644
--- a/archivers/advancecomp/Makefile
+++ b/archivers/advancecomp/Makefile
@@ -16,7 +16,6 @@ COMMENT= Recompression utilities for .ZIP, .PNG, .MNG and .GZ files
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= advdef.1 advmng.1 advpng.1 advzip.1
PLIST_FILES= bin/advdef bin/advmng bin/advpng bin/advzip
diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile
index 2a871a38cd53..861852af3968 100644
--- a/archivers/arj/Makefile
+++ b/archivers/arj/Makefile
@@ -17,7 +17,6 @@ COMMENT= Open-source ARJ
USE_AUTOTOOLS= autoconf:262
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_WRKSRC= ${WRKSRC}/gnu
CONFIGURE_ENV= CFLAGS="-fPIC"
MAKEFILE= GNUmakefile
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 7637ed94bf21..c06c3c7b89d7 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -20,8 +20,7 @@ LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --libdir=${PREFIX}/lib
+CONFIGURE_ARGS= --libdir=${PREFIX}/lib
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAKE_ARGS= TOBUILD="dact libdact.so dact.conf"
diff --git a/archivers/gzip/Makefile b/archivers/gzip/Makefile
index e01bf6300c33..ed4200f369ba 100644
--- a/archivers/gzip/Makefile
+++ b/archivers/gzip/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= gabor@FreeBSD.org
COMMENT= A compression utility designed to be a replacement for compress
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gunzip.1 gzexe.1 gzip.1 zcat.1 zcmp.1 zdiff.1 zforce.1 \
zgrep.1 zless.1 zmore.1 znew.1
diff --git a/archivers/libmspack/Makefile b/archivers/libmspack/Makefile
index eaee5c03a102..97dd6768da11 100644
--- a/archivers/libmspack/Makefile
+++ b/archivers/libmspack/Makefile
@@ -17,7 +17,6 @@ COMMENT= A library for Microsoft compression formats
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/archivers/libpar2/Makefile b/archivers/libpar2/Makefile
index e47fa24e0749..a76ea8079b85 100644
--- a/archivers/libpar2/Makefile
+++ b/archivers/libpar2/Makefile
@@ -19,7 +19,6 @@ COMMENT= A library for manipulating par2 files, extracted from par2cmdline
LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
diff --git a/archivers/lzo/Makefile b/archivers/lzo/Makefile
index 62a939d0262e..367aafb9efec 100644
--- a/archivers/lzo/Makefile
+++ b/archivers/lzo/Makefile
@@ -18,7 +18,6 @@ COMMENT= Portable speedy, lossless data compression library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index 9763892f6ec0..6c0c5a530003 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -20,7 +20,6 @@ COMMENT= Portable speedy, lossless data compression library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
diff --git a/archivers/lzop/Makefile b/archivers/lzop/Makefile
index 54d3cec852d7..cb5541ae316c 100644
--- a/archivers/lzop/Makefile
+++ b/archivers/lzop/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/archivers/par2cmdline/Makefile b/archivers/par2cmdline/Makefile
index fcd8fd838cd1..588bd0991d27 100644
--- a/archivers/par2cmdline/Makefile
+++ b/archivers/par2cmdline/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= ganael.laplanche@martymac.com
COMMENT= Tools for using Parity v2 Archive files
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README
CONFLICTS= par2cmdline-tbb-[0-9]*
diff --git a/archivers/tardy/Makefile b/archivers/tardy/Makefile
index 26df9a169917..6180d383af0b 100644
--- a/archivers/tardy/Makefile
+++ b/archivers/tardy/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Manipulate the file headers in tar archive files in various ways
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= tardy.1
PLIST_FILES= bin/tardy
diff --git a/archivers/ucl/Makefile b/archivers/ucl/Makefile
index 9c21063c6fd9..5f9511728c61 100644
--- a/archivers/ucl/Makefile
+++ b/archivers/ucl/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= AUTHORS NEWS README THANKS TODO
diff --git a/astro/jday/Makefile b/astro/jday/Makefile
index 169510ef8f6d..a60532f59bdf 100644
--- a/astro/jday/Makefile
+++ b/astro/jday/Makefile
@@ -17,7 +17,6 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= jday.1
diff --git a/astro/libgal/Makefile b/astro/libgal/Makefile
index 1e4dafa8a49a..d4b1e794a73c 100644
--- a/astro/libgal/Makefile
+++ b/astro/libgal/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= db@FreeBSD.org
COMMENT= General Astrodynamics Library
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} --enable-shared=yes
USE_LDCONFIG= yes
diff --git a/astro/match/Makefile b/astro/match/Makefile
index 1e109a25a856..024d1463ffcf 100644
--- a/astro/match/Makefile
+++ b/astro/match/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A program for matching star lists
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/apply_match bin/match bin/project_coords
diff --git a/audio/akode/Makefile b/audio/akode/Makefile
index cddd1a7afdaf..fc3767295e41 100644
--- a/audio/akode/Makefile
+++ b/audio/akode/Makefile
@@ -35,8 +35,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
PLIST_SUB+= MACHINE_ARCH=${MACHINE_ARCH}
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --program-transform-name= \
+CONFIGURE_ARGS+=--program-transform-name= \
--with-extra-libs=${LOCALBASE}/lib \
--with-extra-includes=${LOCALBASE}/include
diff --git a/audio/ample/Makefile b/audio/ample/Makefile
index 3e60a77237d0..e5aadecbd0ec 100644
--- a/audio/ample/Makefile
+++ b/audio/ample/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Allows you to listen to your own MP3's away from home
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ample.1
MAN5= ample.conf.5 ample.html.5
diff --git a/audio/arts/Makefile b/audio/arts/Makefile
index cba3f305a30c..59b9ff2bce0d 100644
--- a/audio/arts/Makefile
+++ b/audio/arts/Makefile
@@ -37,8 +37,6 @@ _NO_KDE_FINAL= yes
CFLAGS+= -DHAVE_VASPRINTF
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
-CONFIGURE_TARGET= # empty
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= ESD "Enable esound support" off \
NAS "Enable NAS support" off
diff --git a/audio/audiere/Makefile b/audio/audiere/Makefile
index 0293fea31b3f..b7d3d725d2b0 100644
--- a/audio/audiere/Makefile
+++ b/audio/audiere/Makefile
@@ -19,7 +19,6 @@ WANT_WX= yes
USE_AUTOTOOLS= autoconf:262
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include/speex -I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
diff --git a/audio/autocd/Makefile b/audio/autocd/Makefile
index eaa6161a19a6..cd9381eec696 100644
--- a/audio/autocd/Makefile
+++ b/audio/autocd/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= KOT@MATPOCKuH.Ru
COMMENT= Compact disc control utility
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cdctl.1 acdplay.1
MAN8= autocd.8
MLINKS= cdctl.1 eject.1 cdctl.1 pause.1
diff --git a/audio/blop/Makefile b/audio/blop/Makefile
index 0b572b6428e9..2df2b8653ab4 100644
--- a/audio/blop/Makefile
+++ b/audio/blop/Makefile
@@ -18,7 +18,6 @@ BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-ladspa-prefix="${LOCALBASE}"
diff --git a/audio/checkmate/Makefile b/audio/checkmate/Makefile
index 7df9a88a384f..6abaddfe303b 100644
--- a/audio/checkmate/Makefile
+++ b/audio/checkmate/Makefile
@@ -16,8 +16,6 @@ COMMENT= A command-line utility for checking mp3 files for errors
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN1= mpck.1
MLINKS= mpck.1 checkmate.1
PLIST_FILES= bin/mpck
diff --git a/audio/cuetools/Makefile b/audio/cuetools/Makefile
index 0462eee7ad0e..369719ae5817 100644
--- a/audio/cuetools/Makefile
+++ b/audio/cuetools/Makefile
@@ -15,7 +15,6 @@ COMMENT= A set of utilities for working with cue files and toc files
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cuebreakpoints.1 cueconvert.1 cueprint.1
PORTDOCS= README
diff --git a/audio/darkice/Makefile b/audio/darkice/Makefile
index 8b6c4d50908f..9eff90ccdc31 100644
--- a/audio/darkice/Makefile
+++ b/audio/darkice/Makefile
@@ -22,7 +22,6 @@ OPTIONS= VORBIS "Ogg Vorbis support" on \
JACK "Jack support" off
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --without-alsa
diff --git a/audio/faac/Makefile b/audio/faac/Makefile
index a14b1a4ff073..671edadeb9a1 100644
--- a/audio/faac/Makefile
+++ b/audio/faac/Makefile
@@ -26,7 +26,6 @@ USE_AUTOTOOLS= automake:19 autoheader:262 libtool:15
AUTOMAKE_ARGS= --add-missing
USE_GMAKE= yes
USE_DOS2UNIX= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-lmp4v2"
diff --git a/audio/faad/Makefile b/audio/faad/Makefile
index fba12d63eee5..e65528d407e0 100644
--- a/audio/faad/Makefile
+++ b/audio/faad/Makefile
@@ -20,7 +20,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_DOS2UNIX= yes
USE_AUTOTOOLS= automake:15 autoheader:262 libtool:15
AUTOMAKE_ARGS= --add-missing
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
diff --git a/audio/flac/Makefile b/audio/flac/Makefile
index 37c7d32f9346..6e00843d077e 100644
--- a/audio/flac/Makefile
+++ b/audio/flac/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= ogg.5:${PORTSDIR}/audio/libogg
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sse \
--with-ogg="${LOCALBASE}" \
--disable-thorough-tests \
diff --git a/audio/flac123/Makefile b/audio/flac123/Makefile
index a5bcd4626b40..5388104bdcc2 100644
--- a/audio/flac123/Makefile
+++ b/audio/flac123/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README.remote
PLIST_FILES= bin/flac123
diff --git a/audio/libjackasyn/Makefile b/audio/libjackasyn/Makefile
index 3eb991242748..57308ddfe8c7 100644
--- a/audio/libjackasyn/Makefile
+++ b/audio/libjackasyn/Makefile
@@ -28,7 +28,6 @@ CONFIGURE_ENV+= CC="${CC}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CFLAGS}"
CONFIGURE_ARGS= --prefix=${PREFIX}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CC="${CC}" CXX="${CXX}" LDFLAGS="${LDFLAGS}"
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"
diff --git a/audio/lplayer/Makefile b/audio/lplayer/Makefile
index f976095eeae9..26fb6a83e7ad 100644
--- a/audio/lplayer/Makefile
+++ b/audio/lplayer/Makefile
@@ -26,7 +26,6 @@ USE_XORG= x11 xinerama
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-xmms-prefix=${LOCALBASE} --with-xinerama
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/audio/malint/Makefile b/audio/malint/Makefile
index 7b9bd1d8f869..f2a20e14c263 100644
--- a/audio/malint/Makefile
+++ b/audio/malint/Makefile
@@ -17,7 +17,6 @@ COMMENT= MPEG Audio stream validator
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README
PLIST_FILES= bin/malint
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile
index c422d5c1f5dd..cb6e8a830ff5 100644
--- a/audio/mp3splt/Makefile
+++ b/audio/mp3splt/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS+=--disable-ogg
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/audio/mp3wrap/Makefile b/audio/mp3wrap/Makefile
index b7a06d89bc19..3335fcd23e0a 100644
--- a/audio/mp3wrap/Makefile
+++ b/audio/mp3wrap/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= uspoerlein@gmail.com
COMMENT= Utility to merge mp3 files (and other formats)
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/audio/mpc/Makefile b/audio/mpc/Makefile
index b8522658c900..a03f633f170c 100644
--- a/audio/mpc/Makefile
+++ b/audio/mpc/Makefile
@@ -23,7 +23,6 @@ MAN1= mpc.1
.include <bsd.port.pre.mk>
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
diff --git a/audio/mpg321/Makefile b/audio/mpg321/Makefile
index 120595357af8..adc243f06c1d 100644
--- a/audio/mpg321/Makefile
+++ b/audio/mpg321/Makefile
@@ -31,7 +31,6 @@ MPG321_SCROBBLER_PLUGIN_NAME?= 321
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-mpg123-symlink
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/mpiosh/Makefile b/audio/mpiosh/Makefile
index 329def8ec076..0c51baec17bc 100644
--- a/audio/mpiosh/Makefile
+++ b/audio/mpiosh/Makefile
@@ -21,7 +21,6 @@ USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/audio/mt-daapd/Makefile b/audio/mt-daapd/Makefile
index aff1c80ea741..37b25773db12 100644
--- a/audio/mt-daapd/Makefile
+++ b/audio/mt-daapd/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-id3tag=${PREFIX} --with-gdbm-includes=${LOCALBASE}/include
USE_AUTOTOOLS= autoheader:262 autoconf:262:env
diff --git a/audio/musicpd/Makefile b/audio/musicpd/Makefile
index eb1124f9e152..5101c923243e 100644
--- a/audio/musicpd/Makefile
+++ b/audio/musicpd/Makefile
@@ -37,8 +37,6 @@ OPTIONS= FLAC "Support for FLAC Audio" on \
PULSE "Support for PulseAudio" off \
SHOUT "Support for Icecast and Shoutcast" on
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.pre.mk>
.ifdef(WITHOUT_FLAC)
diff --git a/audio/normalize/Makefile b/audio/normalize/Makefile
index f54572218ab1..aa55535b7ca2 100644
--- a/audio/normalize/Makefile
+++ b/audio/normalize/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-helper-search
CPPFLAGS= -I${LOCALBASE}/include
diff --git a/audio/ocp/Makefile b/audio/ocp/Makefile
index 1d787a4b8990..0f29c94a81fa 100644
--- a/audio/ocp/Makefile
+++ b/audio/ocp/Makefile
@@ -32,7 +32,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -L${LOCALBASE}/lib
CXXFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" \
CPPFLAGS="${CPPFLAGS}" \
diff --git a/audio/openal/Makefile b/audio/openal/Makefile
index 993f7c0e6811..eacd64b2b753 100644
--- a/audio/openal/Makefile
+++ b/audio/openal/Makefile
@@ -17,7 +17,6 @@ COMMENT= A 3D positional spatialized sound library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-capture
USE_GMAKE= yes
diff --git a/audio/osalp/Makefile b/audio/osalp/Makefile
index 0f8439616e9d..de4b7ac0ed70 100644
--- a/audio/osalp/Makefile
+++ b/audio/osalp/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
vorbis.4:${PORTSDIR}/audio/libvorbis
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= -fPIC -DPIC
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
diff --git a/audio/resid/Makefile b/audio/resid/Makefile
index 263614c653c1..3bbb786ae78a 100644
--- a/audio/resid/Makefile
+++ b/audio/resid/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
.include <bsd.port.mk>
diff --git a/audio/rioutil/Makefile b/audio/rioutil/Makefile
index f1e1c097c90c..1ad61d795220 100644
--- a/audio/rioutil/Makefile
+++ b/audio/rioutil/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/audio/sdl_mixer/Makefile b/audio/sdl_mixer/Makefile
index 3566369758da..b1fb1acb7a70 100644
--- a/audio/sdl_mixer/Makefile
+++ b/audio/sdl_mixer/Makefile
@@ -19,7 +19,6 @@ USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CPPFLAGS+= -DCONFIG_FILE_ETC_TIMIDITY \"${LOCALBASE}/etc/timidity.cfg\"
diff --git a/audio/sdl_sound/Makefile b/audio/sdl_sound/Makefile
index e4b4ba9dcbe4..73d2d4ec619c 100644
--- a/audio/sdl_sound/Makefile
+++ b/audio/sdl_sound/Makefile
@@ -18,7 +18,6 @@ COMMENT= A SDL audio library and player for some popular sound file formats
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
USE_SDL= sdl
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= FLAC "Enable flac support" on \
diff --git a/audio/snack/Makefile b/audio/snack/Makefile
index 781be11ba48a..a5047e265639 100644
--- a/audio/snack/Makefile
+++ b/audio/snack/Makefile
@@ -23,7 +23,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/unix
OPTIONS= VORBIS "Support for OGG/Vorbis Audio" off
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-tk=${LOCALBASE}/lib/tk8.4
MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index 580e08a36bc8..9c78b37d5e7d 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -21,7 +21,6 @@ MAN3= libsox.3
MAN7= soxexam.7 soxformat.7 soxeffect.7
MLINKS= sox.1 play.1 sox.1 rec.1
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_AUTOTOOLS= libltdl
# src/Makefile uses ${RM} but never sets it
diff --git a/audio/taglib/Makefile b/audio/taglib/Makefile
index 132b4f152f6a..16da77f3e848 100644
--- a/audio/taglib/Makefile
+++ b/audio/taglib/Makefile
@@ -18,9 +18,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} -e \
"s#\$$(libdir)/pkgconfig#${PREFIX}/libdata/pkgconfig#g" \
diff --git a/audio/tse3/Makefile b/audio/tse3/Makefile
index 8a00fe8216ca..bebc8e347c47 100644
--- a/audio/tse3/Makefile
+++ b/audio/tse3/Makefile
@@ -16,7 +16,6 @@ COMMENT= A MIDI library
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-doc-install
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/audio/umix/Makefile b/audio/umix/Makefile
index b1561a785a63..01432ea08613 100644
--- a/audio/umix/Makefile
+++ b/audio/umix/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Advanced tool for adjusting soundcard mixers, replacement for aumix
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= umix.1
PLIST_FILES= bin/umix
diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile
index 1c628216f2ef..0d387d949123 100644
--- a/audio/vorbis-tools/Makefile
+++ b/audio/vorbis-tools/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-vcut
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
diff --git a/audio/vorbisgain/Makefile b/audio/vorbisgain/Makefile
index 227043f91d34..800e055bb723 100644
--- a/audio/vorbisgain/Makefile
+++ b/audio/vorbisgain/Makefile
@@ -18,7 +18,6 @@ COMMENT= Calculates the perceived sound level of an Ogg Vorbis file
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/xanalyser/Makefile b/audio/xanalyser/Makefile
index 2c1e18dfeb34..f3818464e70b 100644
--- a/audio/xanalyser/Makefile
+++ b/audio/xanalyser/Makefile
@@ -24,7 +24,6 @@ USE_AUTOTOOLS= libtool:15
MAN1= xanalyser.1
PLIST_FILES= bin/xanalyser \
lib/X11/app-defaults/XAnalyser
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
diff --git a/audio/xhippo/Makefile b/audio/xhippo/Makefile
index 143a4789fe78..0e0da2476c76 100644
--- a/audio/xhippo/Makefile
+++ b/audio/xhippo/Makefile
@@ -21,7 +21,6 @@ USE_GETTEXT= yes
USE_GNOME= gtk12
WANT_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= ChangeLog gnu-xhippo.html screenshot.jpeg xhippo.html.gz \
xhippo.info.gz xhippo.ps.gz xhippo.sgml xhippo.txt.gz
diff --git a/audio/xmms-arts_output/Makefile b/audio/xmms-arts_output/Makefile
index 0b6e1e3bfc81..a803687061c9 100644
--- a/audio/xmms-arts_output/Makefile
+++ b/audio/xmms-arts_output/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
USE_GNOME= gtk12
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= lib/xmms/Output/libarts.a \
lib/xmms/Output/libarts.la \
lib/xmms/Output/libarts.so \
diff --git a/audio/xmms-faad/Makefile b/audio/xmms-faad/Makefile
index da8fe80d1558..37c7c367d106 100644
--- a/audio/xmms-faad/Makefile
+++ b/audio/xmms-faad/Makefile
@@ -30,7 +30,6 @@ AUTOMAKE_ARGS= --add-missing
USE_GNOME= gtk12
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-xmms --with-mp4v2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS} -DHAVE_GTK" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
diff --git a/audio/xmms-flac/Makefile b/audio/xmms-flac/Makefile
index 916efca93d0b..424e93b08f36 100644
--- a/audio/xmms-flac/Makefile
+++ b/audio/xmms-flac/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \
FLAC.10:${PORTSDIR}/audio/flac
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --target=${ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
--with-ogg="${LOCALBASE}" \
--with-xmms-prefix="${LOCALBASE}"
diff --git a/audio/xmms-jackasyn/Makefile b/audio/xmms-jackasyn/Makefile
index 8127f831330e..99f05e1cfe31 100644
--- a/audio/xmms-jackasyn/Makefile
+++ b/audio/xmms-jackasyn/Makefile
@@ -25,7 +25,6 @@ GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CXXFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CXXFLAGS}"
SUB_FILES= pkg-message
diff --git a/audio/xoscope/Makefile b/audio/xoscope/Makefile
index 427a0182cbf4..a03aad8daa25 100644
--- a/audio/xoscope/Makefile
+++ b/audio/xoscope/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= db@FreeBSD.org
COMMENT= Sound card oscilloscope
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}
USE_GMAKE= yes
USE_GNOME= gtk12
diff --git a/benchmarks/dkftpbench/Makefile b/benchmarks/dkftpbench/Makefile
index f0d4d2723978..366dbab4199e 100644
--- a/benchmarks/dkftpbench/Makefile
+++ b/benchmarks/dkftpbench/Makefile
@@ -17,7 +17,6 @@ COMMENT= A FTP benchmark program
PLIST_FILES= bin/dkftpbench
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= automake:14 autoconf:262
diff --git a/biology/gmap/Makefile b/biology/gmap/Makefile
index 8a42bae7adac..36272edea722 100644
--- a/biology/gmap/Makefile
+++ b/biology/gmap/Makefile
@@ -21,6 +21,5 @@ FETCH_BEFORE_ARGS= --no-check-certificate
DISABLE_SIZE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/biology/libgenome/Makefile b/biology/libgenome/Makefile
index b5046f224067..f27daef37562 100644
--- a/biology/libgenome/Makefile
+++ b/biology/libgenome/Makefile
@@ -19,7 +19,6 @@ COMMENT= Toolkit for developing bioinformatic related software in C++
USE_AUTOTOOLS= libtool:15
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/biology/treepuzzle/Makefile b/biology/treepuzzle/Makefile
index f114797909b6..365e42ae21f6 100644
--- a/biology/treepuzzle/Makefile
+++ b/biology/treepuzzle/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= jan.lentfer@web.de
COMMENT= Maximum likelihood phylogeny reconstruction using quartets
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/puzzle
pre-configure:
diff --git a/biology/xdrawchem/Makefile b/biology/xdrawchem/Makefile
index d6421fc38e19..ec6b8f52383e 100644
--- a/biology/xdrawchem/Makefile
+++ b/biology/xdrawchem/Makefile
@@ -20,8 +20,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_QT_VER= 3
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
CONFIGURE_ENV= QTINCDIR="${LOCALBASE}/include" \
QTLIBDIR="${LOCALBASE}/lib" \
LDFLAGS="${LDFLAGS} -lm"
diff --git a/cad/freecad/Makefile b/cad/freecad/Makefile
index e3dd0790b420..c3fc22893140 100644
--- a/cad/freecad/Makefile
+++ b/cad/freecad/Makefile
@@ -33,7 +33,6 @@ CONFIGURE_ARGS= --with-wildmagic-includes=${LOCALBASE}/include/Wm4 \
--with-xercesc-libs=${LOCALBASE}/lib \
--with-OCC-includes=${LOCALBASE}/OpenCAS/ros/inc \
--with-OCC-libs=${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
QTDIR= ${QT_PREFIX}
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
MAKE_ENV= QMAKESPEC="${QMAKESPEC}" QTDIR="${QTDIR}"
diff --git a/cad/gmsh/Makefile b/cad/gmsh/Makefile
index 1747d5b79f2e..af65fccaad7f 100644
--- a/cad/gmsh/Makefile
+++ b/cad/gmsh/Makefile
@@ -27,7 +27,6 @@ TETGEN_SRC= predicates.cxx tetgen.cxx tetgen.h
USE_FORTRAN= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-fltk-prefix=${LOCALBASE} \
--with-gsl-prefix=${LOCALBASE} \
--with-med-prefix=${LOCALBASE} \
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile
index 87bcff5a2d8e..703f97e29376 100644
--- a/cad/gtkwave/Makefile
+++ b/cad/gtkwave/Makefile
@@ -22,7 +22,6 @@ LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
USE_AUTOTOOLS= libtool:15
USE_GNOME= gtk12
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
LDCONFIG_DIRS= ${PREFIX}/lib/gtkwave
diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile
index 56bf7700e00a..c56537ee1141 100644
--- a/cad/opencascade/Makefile
+++ b/cad/opencascade/Makefile
@@ -52,7 +52,6 @@ PATCH_WRKSRC= ${WRKDIR}/${DISTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/ros
REINPLACE_ARGS= -i ""
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR} \
--with-java-include=${JAVA_HOME}/include \
diff --git a/cad/qucs/Makefile b/cad/qucs/Makefile
index 67b851999704..dda6344da9c1 100644
--- a/cad/qucs/Makefile
+++ b/cad/qucs/Makefile
@@ -17,7 +17,6 @@ COMMENT= Graphical circuit design and simulation tool
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ps2sp.1 qucs.1 qucsator.1 qucsattenuator.1 qucsconv.1 \
qucsdigi.1 qucsedit.1 qucsfilter.1 qucshelp.1 qucslib.1 \
diff --git a/cad/scv/Makefile b/cad/scv/Makefile
index 5cbc0dc436c5..8ef3c44de716 100644
--- a/cad/scv/Makefile
+++ b/cad/scv/Makefile
@@ -24,7 +24,6 @@ HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/scv-1.0p2-sysc2.2
CONFIGURE_SCRIPT= ../configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-systemc=${LOCALBASE}/systemc ${CONFIGURE_TARGET}
CONFIGURE_WRKSRC= ${WRKSRC}/objdir
BUILD_WRKSRC= ${WRKSRC}/objdir
diff --git a/cad/systemc/Makefile b/cad/systemc/Makefile
index a05f0c033174..ee9771f315fc 100644
--- a/cad/systemc/Makefile
+++ b/cad/systemc/Makefile
@@ -20,7 +20,6 @@ USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ../configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX}/systemc ${CONFIGURE_TARGET}
CONFIGURE_WRKSRC= ${WRKSRC}/objdir
BUILD_WRKSRC= ${WRKSRC}/objdir
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index 57be45138eab..b28258c95683 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -25,7 +25,6 @@ USE_TK_BUILD= 84
USE_GHOSTSCRIPT_RUN= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
--with-tk=${TK_LIBDIR}
diff --git a/chinese/iiimf-le-xcin/Makefile b/chinese/iiimf-le-xcin/Makefile
index 6a75c5bf67e6..e3fc4243319e 100644
--- a/chinese/iiimf-le-xcin/Makefile
+++ b/chinese/iiimf-le-xcin/Makefile
@@ -24,7 +24,6 @@ USE_BZIP2= yes
USE_GNOME= libxml2
USE_AUTOTOOLS= automake:19 autoheader:262 autoconf:262 libtool:15
AUTOMAKE_ARGS= --add-missing
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
do-extract:
${MKDIR} ${WRKDIR}
diff --git a/chinese/qterm/Makefile b/chinese/qterm/Makefile
index d7cc734b5dcc..024c327ba937 100644
--- a/chinese/qterm/Makefile
+++ b/chinese/qterm/Makefile
@@ -22,7 +22,6 @@ USE_BZIP2= yes
USE_PERL5_BUILD=yes
USE_QT_VER= 3
HAS_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-mt --prefix=${PREFIX}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/comms/aldo/Makefile b/comms/aldo/Makefile
index 9163c51a67ba..ef120a0ce312 100644
--- a/comms/aldo/Makefile
+++ b/comms/aldo/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= ao:${PORTSDIR}/audio/libao
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:262 automake:110 libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib"
USE_GMAKE= yes
diff --git a/comms/fldigi/Makefile b/comms/fldigi/Makefile
index 3312d5c9d9ae..f1e59e4bfa07 100644
--- a/comms/fldigi/Makefile
+++ b/comms/fldigi/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS= fltk:${PORTSDIR}/x11-toolkits/fltk-threads \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" && ${OSVERSION} < 700000
diff --git a/comms/gnokii/Makefile b/comms/gnokii/Makefile
index 369a8e108986..ae51f92140c7 100644
--- a/comms/gnokii/Makefile
+++ b/comms/gnokii/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ENV+= MSGFMT="${LOCALBASE}/bin/msgfmt" \
CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fPIC" \
LIBS="-L../common -L${LOCALBASE}/lib" \
PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PKGDEINSTALL= ${PKGINSTALL}
SUB_FILES+= pkg-message
diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile
index 661591d2daab..7182465e6be3 100644
--- a/comms/gnuradio/Makefile
+++ b/comms/gnuradio/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gnuradio
PORTVERSION= 3.1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= comms astro hamradio
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gnuradio
@@ -50,8 +50,6 @@ CONFIGURE_ARGS= --with-boost-include-dir="${LOCALBASE}/include/" \
--disable-html-docs \
--disable-latex-docs
-PLIST_SUB+= RELEASE="${MACHINE_ARCH}-portbld-freebsd${OSREL}"
-
post-patch:
@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
@${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
diff --git a/comms/gnuradio/pkg-plist b/comms/gnuradio/pkg-plist
index 3de04f55af51..219eb3246552 100644
--- a/comms/gnuradio/pkg-plist
+++ b/comms/gnuradio/pkg-plist
@@ -1,31 +1,31 @@
-bin/%%RELEASE%%-gpio_rx_sfile.py
-bin/%%RELEASE%%-gpio_usrp_siggen.py
-bin/%%RELEASE%%-gpio_usrp_fft.py
-bin/%%RELEASE%%-gr_plot_char.py
-bin/%%RELEASE%%-gr_plot_const.py
-bin/%%RELEASE%%-gr_plot_fft_c.py
-bin/%%RELEASE%%-gr_plot_fft_f.py
-bin/%%RELEASE%%-gr_plot_float.py
-bin/%%RELEASE%%-gr_plot_int.py
-bin/%%RELEASE%%-gr_plot_iq.py
-bin/%%RELEASE%%-gr_plot_short.py
-bin/%%RELEASE%%-usrp_cal_dc_offset
-bin/%%RELEASE%%-usrp_fft.py
-bin/%%RELEASE%%-usrp_flex.py
-bin/%%RELEASE%%-usrp_flex_all.py
-bin/%%RELEASE%%-usrp_flex_band.py
-bin/%%RELEASE%%-usrp_oscope.py
-bin/%%RELEASE%%-usrp_print_db.py
-bin/%%RELEASE%%-usrp_psr_receiver.py
-bin/%%RELEASE%%-usrp_ra_receiver.py
-bin/%%RELEASE%%-usrp_radar_mono.py
-bin/%%RELEASE%%-usrp_rx_cfile.py
-bin/%%RELEASE%%-usrp_rx_nogui.py
-bin/%%RELEASE%%-usrp_siggen.py
-bin/%%RELEASE%%-usrp_sounder.py
-bin/%%RELEASE%%-usrp_test_counting.py
-bin/%%RELEASE%%-usrp_test_loopback.py
-bin/%%RELEASE%%-usrper
+bin/gpio_rx_sfile.py
+bin/gpio_usrp_siggen.py
+bin/gpio_usrp_fft.py
+bin/gr_plot_char.py
+bin/gr_plot_const.py
+bin/gr_plot_fft_c.py
+bin/gr_plot_fft_f.py
+bin/gr_plot_float.py
+bin/gr_plot_int.py
+bin/gr_plot_iq.py
+bin/gr_plot_short.py
+bin/usrp_cal_dc_offset
+bin/usrp_fft.py
+bin/usrp_flex.py
+bin/usrp_flex_all.py
+bin/usrp_flex_band.py
+bin/usrp_oscope.py
+bin/usrp_print_db.py
+bin/usrp_psr_receiver.py
+bin/usrp_ra_receiver.py
+bin/usrp_radar_mono.py
+bin/usrp_rx_cfile.py
+bin/usrp_rx_nogui.py
+bin/usrp_siggen.py
+bin/usrp_sounder.py
+bin/usrp_test_counting.py
+bin/usrp_test_loopback.py
+bin/usrper
etc/gnuradio/gnuradio-core.conf.sample
etc/gnuradio/gr-audio-oss.conf.sample
etc/gnuradio/gr-wxgui.conf.sample
diff --git a/comms/hf/Makefile b/comms/hf/Makefile
index a4ac63197d7b..ae5256f05aa4 100644
--- a/comms/hf/Makefile
+++ b/comms/hf/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= whiptail:${PORTSDIR}/devel/newt
USE_GNOME= gtk12
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}
MANLANG= "" "de.ISO8859-1"
diff --git a/comms/kallers/Makefile b/comms/kallers/Makefile
index ec421f6155aa..ab30b0650a1a 100644
--- a/comms/kallers/Makefile
+++ b/comms/kallers/Makefile
@@ -18,7 +18,6 @@ USE_KDELIBS_VER= 3
USE_GMAKE= yes
INSTALLS_ICONS= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
post-patch:
@${REINPLACE_CMD} -e 's|@CXXFLAGS@|@CXXFLAGS@ -fPIC|' \
diff --git a/comms/linrad/Makefile b/comms/linrad/Makefile
index 121de37dee74..ff8b228f6069 100644
--- a/comms/linrad/Makefile
+++ b/comms/linrad/Makefile
@@ -23,7 +23,6 @@ BUILD_DEPENDS= nasm:${PORTSDIR}/devel/nasm
WRKSRC= ${WRKDIR}/${PORTNAME}-0${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}
USE_GMAKE= yes
USE_BZIP2= yes
diff --git a/comms/lirc/Makefile b/comms/lirc/Makefile
index 5c8edb8f5951..8bee112f7394 100644
--- a/comms/lirc/Makefile
+++ b/comms/lirc/Makefile
@@ -22,7 +22,6 @@ USE_XORG= x11
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc
OPTIONS= IRMAN "Build with libirman support" On
diff --git a/comms/qicosi/Makefile b/comms/qicosi/Makefile
index cfba4cdcd838..2554e688e229 100644
--- a/comms/qicosi/Makefile
+++ b/comms/qicosi/Makefile
@@ -24,7 +24,6 @@ CONFIGURE_ARGS+= --with-lock-style=open
.endif
CONFIGURE_ARGS+= --with-config=${CONFDIR}/qico.conf \
--with-default-speed=115200
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= Changes FAQ README
EXAMPLES= koi8r_866.cp onchat qhistory qico.xpm qlinks sfreq \
diff --git a/comms/scmxx/Makefile b/comms/scmxx/Makefile
index 1d73f8bf0b37..ab762e64432e 100644
--- a/comms/scmxx/Makefile
+++ b/comms/scmxx/Makefile
@@ -23,7 +23,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= scmxx.1
MANLANG= "" ru de it
diff --git a/converters/ascii2binary/Makefile b/converters/ascii2binary/Makefile
index 250ea8f5b566..cec842dc0bd9 100644
--- a/converters/ascii2binary/Makefile
+++ b/converters/ascii2binary/Makefile
@@ -18,7 +18,6 @@ USE_BZIP2= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
index 7156982a6098..20169f7d9b65 100644
--- a/converters/enca/Makefile
+++ b/converters/enca/Makefile
@@ -24,7 +24,6 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \
--without-librecode \
--with-libiconv=${LOCALBASE}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
diff --git a/converters/fix-mime-charset/Makefile b/converters/fix-mime-charset/Makefile
index 5f120415758a..e0da2a7b743c 100644
--- a/converters/fix-mime-charset/Makefile
+++ b/converters/fix-mime-charset/Makefile
@@ -22,7 +22,6 @@ PORTDOCS= README.koi8r README
GNU_CONFIGURE= yes
USE_PERL5_BUILD= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/converters/psiconv/Makefile b/converters/psiconv/Makefile
index 1628b8d947e1..54b243c8c4ef 100644
--- a/converters/psiconv/Makefile
+++ b/converters/psiconv/Makefile
@@ -19,7 +19,6 @@ USE_LDCONFIG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-imagemagick=no
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= psiconv.1 psiconv-config.1
diff --git a/converters/shftool/Makefile b/converters/shftool/Makefile
index 75e85f6b4856..3c0d2c78bd56 100644
--- a/converters/shftool/Makefile
+++ b/converters/shftool/Makefile
@@ -17,7 +17,6 @@ COMMENT= Converter for the Standard Hex Format (SHF)
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
${REINPLACE_CMD} -e 's,^LIBLOC_LIST=.*,LIBLOC_LIST=${LOCALBASE},' \
diff --git a/converters/tnef/Makefile b/converters/tnef/Makefile
index 8eb364c53eda..c3a7b0b8ecfd 100644
--- a/converters/tnef/Makefile
+++ b/converters/tnef/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= garga@FreeBSD.org
COMMENT= Unpack data in MS Outlook TNEF format
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= tnef.1
PORTDOCS= AUTHORS NEWS README THANKS TODO
diff --git a/converters/ytnef/Makefile b/converters/ytnef/Makefile
index b6689cec4443..48ed5b2ace43 100644
--- a/converters/ytnef/Makefile
+++ b/converters/ytnef/Makefile
@@ -25,8 +25,6 @@ CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
PLIST_FILES= bin/ytnef bin/ytnefprocess.pl bin/ytnefprint
PORTDOCS= AUTHORS NEWS README
diff --git a/databases/db3/Makefile b/databases/db3/Makefile
index f78ef79aefcd..66ffc336406d 100644
--- a/databases/db3/Makefile
+++ b/databases/db3/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ARGS= --enable-compat185 \
--enable-dynamic \
--prefix=${PREFIX} \
--includedir=${PREFIX}/include/db3
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALL_TARGET= install_include install_lib install_utilities
.if !defined(NOPORTDOCS)
INSTALL_TARGET+= install_docs docdir=${DOCSDIR}
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index a2645ba4b7a3..f7c3449d4813 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -23,7 +23,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
--enable-cxx --enable-dynamic \
--includedir=${PREFIX}/include/db4
diff --git a/databases/db41/Makefile b/databases/db41/Makefile
index d1ac0e42d41b..22771c94363e 100644
--- a/databases/db41/Makefile
+++ b/databases/db41/Makefile
@@ -27,7 +27,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/build_unix
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-compat185 --enable-dump185 \
--enable-cxx --enable-dynamic \
--includedir=${PREFIX}/include/db41
diff --git a/databases/db42/Makefile.db b/databases/db42/Makefile.db
index 7a41c6279714..3edd9e5ad53a 100644
--- a/databases/db42/Makefile.db
+++ b/databases/db42/Makefile.db
@@ -13,7 +13,6 @@ USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_SCRIPT= ../dist/configure
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
-CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
BDBVER= ${PORTVERSION:R}
BDBMINOR= ${BDBVER:E:S/^\.//}
BDBDIR= BerkeleyDB.${BDBVER}
diff --git a/databases/db43/Makefile b/databases/db43/Makefile
index 1d83d33ebe6a..d60761275062 100644
--- a/databases/db43/Makefile
+++ b/databases/db43/Makefile
@@ -28,7 +28,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_SCRIPT= ../dist/configure
LIBTOOLFILES= ${CONFIGURE_SCRIPT}
-CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
BDBVER= ${PORTVERSION:R}
BDBMINOR= ${BDBVER:E:S/^\.//}
BDBDIR= BerkeleyDB.${BDBVER}
diff --git a/databases/dbconnect/Makefile b/databases/dbconnect/Makefile
index deb551cc6f0d..1339e0725ec1 100644
--- a/databases/dbconnect/Makefile
+++ b/databases/dbconnect/Makefile
@@ -19,7 +19,6 @@ COMMENT= Use C++ object API to allow applications to connect to databases
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
CXXFLAGS+= ${PTHREAD_CFLAGS} -fPIC -DFREEBSD
diff --git a/databases/flamerobin/Makefile b/databases/flamerobin/Makefile
index ed1c47cd2c2c..2ee3a21d0c56 100644
--- a/databases/flamerobin/Makefile
+++ b/databases/flamerobin/Makefile
@@ -22,7 +22,6 @@ WX_PREMK= yes
WX_UNICODE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
OPTIONS= FIREBIRD "Use firebird1 instead of firebird2" off
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index f382bc653c2b..f919f6040fdd 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -18,7 +18,6 @@ COMMENT= The GNU database manager
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.if defined(WITH_COMPAT)
diff --git a/databases/gnome-db/Makefile b/databases/gnome-db/Makefile
index f5a4dd027068..06e5645db19c 100644
--- a/databases/gnome-db/Makefile
+++ b/databases/gnome-db/Makefile
@@ -27,7 +27,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lintl"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PLIST_SUB= VERSION=${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/gnomedb
diff --git a/databases/hk_classes/Makefile b/databases/hk_classes/Makefile
index 927fc0a85ade..a6ffca8413b1 100644
--- a/databases/hk_classes/Makefile
+++ b/databases/hk_classes/Makefile
@@ -26,7 +26,6 @@ CXXFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS= ${PTHREAD_LIBS} -L${LOCALBASE}/lib -largp -lintl
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S/python//} LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--with-python-libdir=${PYTHON_LIBDIR} \
--with-python-incdir=${PYTHON_INCLUDEDIR} \
--with-fontconfig-incdir=${LOCALBASE}/include/fontconfig \
diff --git a/databases/kmysqladmin/Makefile b/databases/kmysqladmin/Makefile
index 8cef6fcbf624..d5cf081b004a 100644
--- a/databases/kmysqladmin/Makefile
+++ b/databases/kmysqladmin/Makefile
@@ -21,6 +21,4 @@ USE_KDELIBS_VER=3
USE_GETTEXT= yes
INSTALLS_ICONS= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/databases/knoda/Makefile b/databases/knoda/Makefile
index 11db45b77811..2c193acb96ff 100644
--- a/databases/knoda/Makefile
+++ b/databases/knoda/Makefile
@@ -23,7 +23,6 @@ USE_PYTHON= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-hk_classes-dir=${LOCALBASE}/lib/hk_classes \
--with-hk_classes-incdir=${LOCALBASE}/include/hk_classes
diff --git a/databases/libgda/Makefile b/databases/libgda/Makefile
index 5de4bc08d616..87eef0e8414a 100644
--- a/databases/libgda/Makefile
+++ b/databases/libgda/Makefile
@@ -32,7 +32,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl -lgdbm"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PLIST_SUB= VERSION=${PORTVERSION}
.include <bsd.port.mk>
diff --git a/databases/libodbc++/Makefile b/databases/libodbc++/Makefile
index 83716f372cf7..950ca7c81673 100644
--- a/databases/libodbc++/Makefile
+++ b/databases/libodbc++/Makefile
@@ -19,7 +19,6 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-isqlxx
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
CXXFLAGS+= ${PTHREAD_CFLAGS}
diff --git a/databases/memcached/Makefile b/databases/memcached/Makefile
index bed3b6763584..97d33015b065 100644
--- a/databases/memcached/Makefile
+++ b/databases/memcached/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent
USE_RC_SUBR= memcached
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --program-prefix=
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= REPCACHED "Enable data replication feature" off
diff --git a/databases/mysql++/Makefile b/databases/mysql++/Makefile
index ddad5075764e..1710fa1e0160 100644
--- a/databases/mysql++/Makefile
+++ b/databases/mysql++/Makefile
@@ -17,7 +17,6 @@ COMMENT= Complex C++ API for MySQL${MYSQL_VER}
USE_MYSQL= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} --disable-examples
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_GMAKE= yes
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
index 0fc7c2ae73d9..66a2f6178e39 100644
--- a/databases/mysql++1/Makefile
+++ b/databases/mysql++1/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS= --with-mysql=${LOCALBASE} \
--includedir=${PREFIX}/include/mysql++ \
--disable-examples
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
CONFLICTS= ${PORTNAME}*-2.*
diff --git a/databases/mysql++3/Makefile b/databases/mysql++3/Makefile
index 214d2ef681d1..a274fd544c19 100644
--- a/databases/mysql++3/Makefile
+++ b/databases/mysql++3/Makefile
@@ -18,7 +18,6 @@ COMMENT= Complex C++ API for MySQL${MYSQL_VER}
USE_MYSQL= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} --enable-thread-check
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_GMAKE= yes
diff --git a/databases/mysql-navigator/Makefile b/databases/mysql-navigator/Makefile
index 4c55b3f40fe0..fecc2fd4b3b8 100644
--- a/databases/mysql-navigator/Makefile
+++ b/databases/mysql-navigator/Makefile
@@ -24,7 +24,6 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+=--with-mysql-includes=${LOCALBASE}/include/mysql \
--with-mysql-libraries=${LOCALBASE}/lib/mysql
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV+= MOC="${MOC}" QTDIR="${QT_PREFIX}"
post-patch:
diff --git a/databases/mysql2odbc/Makefile b/databases/mysql2odbc/Makefile
index a6dd41f08328..b78afab92c71 100644
--- a/databases/mysql2odbc/Makefile
+++ b/databases/mysql2odbc/Makefile
@@ -38,7 +38,6 @@ CONFIGURE_ARGS= --with-iodbc
.endif
CONFIGURE_ARGS+=--libdir=${PREFIX}/mysql2odbc
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
USE_AUTOTOOLS= libtool:15
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index 28745252d469..d963ad2d316c 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-server/Makefile
@@ -19,7 +19,6 @@ COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql323-client
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index cc484fcb8206..a924a95f15ae 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -19,7 +19,6 @@ COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql40-client
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 9007861ae8a1..33d1252a04c3 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -19,7 +19,6 @@ COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql41-client
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index d9f0b9779285..c09569c79f92 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -19,7 +19,6 @@ COMMENT?= Multithreaded SQL database (server)
SLAVEDIRS= databases/mysql50-client databases/mysql50-scripts
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 92e5ce4d0121..13cad4a0a693 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -21,7 +21,6 @@ SLAVEDIRS= databases/mysql51-client databases/mysql51-scripts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index 92e5ce4d0121..13cad4a0a693 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-server/Makefile
@@ -21,7 +21,6 @@ SLAVEDIRS= databases/mysql51-client databases/mysql51-scripts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 92e5ce4d0121..13cad4a0a693 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-server/Makefile
@@ -21,7 +21,6 @@ SLAVEDIRS= databases/mysql51-client databases/mysql51-scripts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index 2a957d6df8b8..44e745ddbd82 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-server/Makefile
@@ -21,7 +21,6 @@ SLAVEDIRS= databases/mysql60-client databases/mysql60-scripts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/mysqlard/Makefile b/databases/mysqlard/Makefile
index 4b8fe2976433..6d2e3c5df591 100644
--- a/databases/mysqlard/Makefile
+++ b/databases/mysqlard/Makefile
@@ -28,7 +28,6 @@ MAN1= mysqlar_graph.1
MAN8= mysqlard.8
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-rrd="${LOCALBASE}" --datadir="${PREFIX}/www" \
--sysconfdir="${PREFIX}/etc"
diff --git a/databases/opendbx/Makefile b/databases/opendbx/Makefile
index 1379f4471d45..62d27b26c91d 100644
--- a/databases/opendbx/Makefile
+++ b/databases/opendbx/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS} -L../lib -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-backends="${CONFIGURE_MODULES}"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
diff --git a/databases/oracle_odbc_driver/Makefile b/databases/oracle_odbc_driver/Makefile
index 308bea51c205..05aceb48eb21 100644
--- a/databases/oracle_odbc_driver/Makefile
+++ b/databases/oracle_odbc_driver/Makefile
@@ -27,7 +27,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= ORACLE_HOME="${ORACLE_HOME}" \
LIBS="`${CAT} ${ORACLE_HOME}/lib/sysliblist`"\
AUTOHEADER=true
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index 92e5ce4d0121..13cad4a0a693 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-server/Makefile
@@ -21,7 +21,6 @@ SLAVEDIRS= databases/mysql51-client databases/mysql51-scripts
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/db/mysql \
--without-debug \
--without-readline \
diff --git a/databases/pgadmin3-12/Makefile b/databases/pgadmin3-12/Makefile
index daff7d41b380..a18e70d4c07c 100644
--- a/databases/pgadmin3-12/Makefile
+++ b/databases/pgadmin3-12/Makefile
@@ -20,7 +20,6 @@ USE_WX= 2.6
WX_COMPS= contrib
WX_CONF_ARGS= relative
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
CONFLICTS= pgadmin3-1.[456789]*
NO_LATEST_LINK= yes
diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile
index 62a8ddc7aab5..9c616b2684bf 100644
--- a/databases/pgadmin3/Makefile
+++ b/databases/pgadmin3/Makefile
@@ -18,7 +18,6 @@ USE_GETTEXT= yes
USE_PGSQL= yes
IGNORE_WITH_PGSQL= 73 74
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-wx-version=${USE_WX}
CONFLICTS= pgadmin3-1.[12]*
diff --git a/databases/ptop/Makefile b/databases/ptop/Makefile
index c796d4c2e374..99303e1fa1f0 100644
--- a/databases/ptop/Makefile
+++ b/databases/ptop/Makefile
@@ -19,7 +19,6 @@ MAN1= pg_top.1
USE_GMAKE= yes
USE_PGSQL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/pg_top
diff --git a/databases/pxlib/Makefile b/databases/pxlib/Makefile
index 7dfb24bf70b0..60bf7551b178 100644
--- a/databases/pxlib/Makefile
+++ b/databases/pxlib/Makefile
@@ -23,7 +23,6 @@ USE_GETTEXT= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
LDCONFIG_DIRS= %%PREFIX%%/lib
diff --git a/databases/rrdtool/Makefile b/databases/rrdtool/Makefile
index b471f0c28993..ab7aba5d5c9e 100644
--- a/databases/rrdtool/Makefile
+++ b/databases/rrdtool/Makefile
@@ -64,7 +64,6 @@ CONFIGURE_ARGS+= --disable-perl
PLIST_SUB+= WITH_PERL="@comment "
.endif
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS:= ${CFLAGS:N-ffast-math}
diff --git a/databases/rrdtool10/Makefile b/databases/rrdtool10/Makefile
index 4c1c4cd8b0cb..8b1f80de5607 100644
--- a/databases/rrdtool10/Makefile
+++ b/databases/rrdtool10/Makefile
@@ -25,7 +25,6 @@ USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-shared --enable-local-zlib \
--program-transform-name=''
CONFIGURE_ENV= PERL=${PERL} PERL_MAKE_OPTIONS="PREFIX=${PREFIX}"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -fPIC
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS:= ${CFLAGS:N-ffast-math}
diff --git a/databases/sqlite2/Makefile b/databases/sqlite2/Makefile
index 97b9da428035..d3e6bb436839 100644
--- a/databases/sqlite2/Makefile
+++ b/databases/sqlite2/Makefile
@@ -21,7 +21,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= YES
CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/sqlite2
EXAMPLESDIR= ${PREFIX}/share/examples/sqlite2
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 535b4b3eb8f6..7b9d3e83cf8b 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -23,7 +23,6 @@ USE_DOS2UNIX= *.pc.in
USE_LDCONFIG= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= DEBUG "Enable debugging & verbose explain" off \
FTS3 "Enable FTS3 (Full Text Search) module" off \
diff --git a/databases/sqlite34/Makefile b/databases/sqlite34/Makefile
index 8b908665f8e6..abe1a8f1eecb 100644
--- a/databases/sqlite34/Makefile
+++ b/databases/sqlite34/Makefile
@@ -24,7 +24,6 @@ USE_DOS2UNIX= *.pc.in
USE_LDCONFIG= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= DEBUG "Enable debugging & verbose explain" off \
DOCS "Building docs (depends on TCL)" on \
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index a2574fe91e46..0e07fd313685 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -29,7 +29,6 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
--disable-python \
--disable-ruby \
--disable-zope
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
PORTDOCS= *
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index 72c49f5dd763..7454d2749562 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -40,7 +40,6 @@ USE_QT_VER= 3
USE_PERL5_BUILD=yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-oracle=${ORACLE_HOME} --with-oci-version=${ORACLE_VER:U}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.if defined(WITHOUT_KDE)
diff --git a/databases/xbsql/Makefile b/databases/xbsql/Makefile
index b7b5af81e885..28527fe952b4 100644
--- a/databases/xbsql/Makefile
+++ b/databases/xbsql/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= xbase-2.0.0:${PORTSDIR}/databases/xbase
USE_AUTOTOOLS= libtool:15
USE_BISON= build
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
LB2FIX= Makefile.in test/Makefile.in xbsql/Makefile.in
diff --git a/deskutils/calcurse/Makefile b/deskutils/calcurse/Makefile
index 20af15ca1d72..cc235b339114 100644
--- a/deskutils/calcurse/Makefile
+++ b/deskutils/calcurse/Makefile
@@ -15,7 +15,6 @@ COMMENT= A text-based personal organizer
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX}
MAN1= calcurse.1
diff --git a/deskutils/doodle/Makefile b/deskutils/doodle/Makefile
index 1f6d4667b180..ff5d1b65cc01 100644
--- a/deskutils/doodle/Makefile
+++ b/deskutils/doodle/Makefile
@@ -22,7 +22,6 @@ USE_GETTEXT= yes
USE_FAM= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= doodle.1 doodled.1
MAN3= libdoodle.3
diff --git a/deskutils/karamba/Makefile b/deskutils/karamba/Makefile
index df56d1252510..2e9092df10e6 100644
--- a/deskutils/karamba/Makefile
+++ b/deskutils/karamba/Makefile
@@ -18,6 +18,5 @@ EXTRA_PATCHES= ${.CURDIR}/../../comms/kallers/files/patch-configure
USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/deskutils/kblticker/Makefile b/deskutils/kblticker/Makefile
index cb9c0ef8ff72..dbb88dd86826 100644
--- a/deskutils/kblticker/Makefile
+++ b/deskutils/kblticker/Makefile
@@ -22,6 +22,4 @@ USE_KDELIBS_VER= 3
CONFIGURE_ARGS+= --enable-final
-CONFIGURE_TARGET=
-
.include <bsd.port.mk>
diff --git a/deskutils/kchmviewer-kde4/Makefile b/deskutils/kchmviewer-kde4/Makefile
index f15ec80cda77..908133cd1af4 100644
--- a/deskutils/kchmviewer-kde4/Makefile
+++ b/deskutils/kchmviewer-kde4/Makefile
@@ -37,8 +37,6 @@ USE_PERL5_BUILD=yes
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
PLIST_SUB+= KDE="@comment "
PLIST_SUB+= QT=""
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DO_NOT_COMPILE+=kio-msits
.endif
diff --git a/deskutils/kchmviewer/Makefile b/deskutils/kchmviewer/Makefile
index f15ec80cda77..908133cd1af4 100644
--- a/deskutils/kchmviewer/Makefile
+++ b/deskutils/kchmviewer/Makefile
@@ -37,8 +37,6 @@ USE_PERL5_BUILD=yes
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
PLIST_SUB+= KDE="@comment "
PLIST_SUB+= QT=""
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DO_NOT_COMPILE+=kio-msits
.endif
diff --git a/deskutils/kooldock/Makefile b/deskutils/kooldock/Makefile
index 042c12af461d..f1d5cfe8a79a 100644
--- a/deskutils/kooldock/Makefile
+++ b/deskutils/kooldock/Makefile
@@ -17,8 +17,6 @@ COMMENT= OS-X dock-like for KDE
WRKSRC= ${WRKDIR}/kooldock
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
diff --git a/deskutils/pinot/Makefile b/deskutils/pinot/Makefile
index 2eec03dad9cb..51e66aa8f2f1 100644
--- a/deskutils/pinot/Makefile
+++ b/deskutils/pinot/Makefile
@@ -39,7 +39,6 @@ RUN_DEPENDS= update-mime-database:${PORTSDIR}/misc/shared-mime-info \
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-http=curl --with-ssl=${OPENSSLBASE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" MKDIR_P="${MKDIR}"
diff --git a/deskutils/recoll/Makefile b/deskutils/recoll/Makefile
index c9145faa859b..879e8b717e7c 100644
--- a/deskutils/recoll/Makefile
+++ b/deskutils/recoll/Makefile
@@ -22,7 +22,6 @@ USE_QT_VER= 3
CONFIGURE_ENV= QMAKESPEC="freebsd-g++"
MAKE_ENV= ${CONFIGURE_ENV}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_ICONV= yes
INSTALLS_ICONS= yes
diff --git a/deskutils/tpb/Makefile b/deskutils/tpb/Makefile
index 740aa474cd61..bb2989b04621 100644
--- a/deskutils/tpb/Makefile
+++ b/deskutils/tpb/Makefile
@@ -23,7 +23,6 @@ GNU_CONFIGURE= yes
USE_ICONV= yes
USE_BISON= build
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE}
MAN1= tpb.1
diff --git a/devel/argp-standalone/Makefile b/devel/argp-standalone/Makefile
index 57cf33ed4e0d..ea726759486f 100644
--- a/devel/argp-standalone/Makefile
+++ b/devel/argp-standalone/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= sem@FreeBSD.org
COMMENT= Standalone version of arguments parsing functions from GLIBC
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= lib/libargp.a include/argp.h
diff --git a/devel/arm-elf-binutils/Makefile b/devel/arm-elf-binutils/Makefile
index 3afd728bc205..50928347e8c9 100644
--- a/devel/arm-elf-binutils/Makefile
+++ b/devel/arm-elf-binutils/Makefile
@@ -20,7 +20,7 @@ COMMENT= GNU binutils for vanilla ARM cross-development
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${PKGNAMEPREFIX:S/-$//}
+CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//}
INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info
MAN1= ${PKGNAMEPREFIX}addr2line.1 ${PKGNAMEPREFIX}as.1 \
${PKGNAMEPREFIX}ar.1 ${PKGNAMEPREFIX}c++filt.1 \
diff --git a/devel/autoconf-archive/Makefile b/devel/autoconf-archive/Makefile
index 96b9f808eb2c..e99867102894 100644
--- a/devel/autoconf-archive/Makefile
+++ b/devel/autoconf-archive/Makefile
@@ -19,7 +19,6 @@ DISTDATE= 2008-07-25
USE_BZIP2= yes
USE_AUTOTOOLS= autoconf:262:env automake:110:env
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= MACRODIR=share/aclocal
diff --git a/devel/autoconf213/Makefile b/devel/autoconf213/Makefile
index 4e4f6cadd722..95caf7838575 100644
--- a/devel/autoconf213/Makefile
+++ b/devel/autoconf213/Makefile
@@ -28,7 +28,6 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 AWK=${AWK}
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/autoconf
INFO= autoconf-${BUILD_VERSION}
diff --git a/devel/autoconf262/Makefile b/devel/autoconf262/Makefile
index 7212ec4aa6ce..a5aefa5a2db5 100644
--- a/devel/autoconf262/Makefile
+++ b/devel/autoconf262/Makefile
@@ -31,7 +31,6 @@ INFO= autoconf-${BUILD_VERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 AWK=${AWK}
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing
GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \
diff --git a/devel/autoconf267/Makefile b/devel/autoconf267/Makefile
index 7212ec4aa6ce..a5aefa5a2db5 100644
--- a/devel/autoconf267/Makefile
+++ b/devel/autoconf267/Makefile
@@ -31,7 +31,6 @@ INFO= autoconf-${BUILD_VERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 AWK=${AWK}
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing
GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \
diff --git a/devel/autoconf268/Makefile b/devel/autoconf268/Makefile
index 7212ec4aa6ce..a5aefa5a2db5 100644
--- a/devel/autoconf268/Makefile
+++ b/devel/autoconf268/Makefile
@@ -31,7 +31,6 @@ INFO= autoconf-${BUILD_VERSION}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CONFIG_SHELL=${SH} M4=${LOCALBASE}/bin/gm4 AWK=${AWK}
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION} --without-lispdir
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GENERIC_TOOLS= config.guess config.sub elisp-comp install-sh mdate-sh missing
GENERIC_LINKS= autoconf autoheader autom4te autoreconf autoscan autoupdate \
diff --git a/devel/autodist/Makefile b/devel/autodist/Makefile
index 9c8bb13fa1fd..9a98845105fe 100644
--- a/devel/autodist/Makefile
+++ b/devel/autodist/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= johnson.peter@gmail.com
COMMENT= Distribution creation system
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= autodist.1
diff --git a/devel/automake110/Makefile b/devel/automake110/Makefile
index 812b59e6273e..9a63b8047fdc 100644
--- a/devel/automake110/Makefile
+++ b/devel/automake110/Makefile
@@ -26,7 +26,6 @@ USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
INFO= automake-${BUILD_VERSION}
diff --git a/devel/automake14/Makefile b/devel/automake14/Makefile
index 6d070ee5818d..42009e6de633 100644
--- a/devel/automake14/Makefile
+++ b/devel/automake14/Makefile
@@ -27,7 +27,6 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
STRIP= # none
diff --git a/devel/automake15/Makefile b/devel/automake15/Makefile
index fd00ec85faac..0ee454b8cbe7 100644
--- a/devel/automake15/Makefile
+++ b/devel/automake15/Makefile
@@ -27,7 +27,6 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
post-patch:
diff --git a/devel/automake16/Makefile b/devel/automake16/Makefile
index 0409432c8d8c..3c09eafa9419 100644
--- a/devel/automake16/Makefile
+++ b/devel/automake16/Makefile
@@ -27,7 +27,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
post-patch:
diff --git a/devel/automake17/Makefile b/devel/automake17/Makefile
index 4bdc0997d60b..8fea4fe5bf36 100644
--- a/devel/automake17/Makefile
+++ b/devel/automake17/Makefile
@@ -27,7 +27,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
post-patch:
diff --git a/devel/automake18/Makefile b/devel/automake18/Makefile
index 61be48cfabd8..7b57cc26d18f 100644
--- a/devel/automake18/Makefile
+++ b/devel/automake18/Makefile
@@ -27,7 +27,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
post-patch:
diff --git a/devel/automake19/Makefile b/devel/automake19/Makefile
index 6a8d0c59a30f..1393777cba49 100644
--- a/devel/automake19/Makefile
+++ b/devel/automake19/Makefile
@@ -28,7 +28,6 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO"=makeinfo --no-split"
CONFIGURE_ARGS= --program-suffix=-${BUILD_VERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= automake-${BUILD_VERSION}
post-patch:
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index ad3fdc74c5ea..95b6b9940a24 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/devel/bonobo/Makefile b/devel/bonobo/Makefile
index 4fc273e6411a..4b22997ace94 100644
--- a/devel/bonobo/Makefile
+++ b/devel/bonobo/Makefile
@@ -27,7 +27,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile
index 276614bc3025..36293ef77b1c 100644
--- a/devel/bullet/Makefile
+++ b/devel/bullet/Makefile
@@ -23,7 +23,6 @@ USE_ZIP= yes
USE_GL= glu glut
USE_XORG= x11
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include
CONFIGURE_ENV= CPPFLAGS=${CPPFLAGS} LDFLAGS=${LDFLAGS}
diff --git a/devel/c_c++_reference/Makefile b/devel/c_c++_reference/Makefile
index 48b411f48a9f..48ceee29714b 100644
--- a/devel/c_c++_reference/Makefile
+++ b/devel/c_c++_reference/Makefile
@@ -21,8 +21,6 @@ USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
USE_KDELIBS_VER= 3
USE_GMAKE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
${REINPLACE_CMD} -e 's,-lqt,-lqt-mt -pthread,' ${WRKSRC}/configure
diff --git a/devel/ccache/Makefile b/devel/ccache/Makefile
index b9fef20116b1..946f08698dfd 100644
--- a/devel/ccache/Makefile
+++ b/devel/ccache/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ahze@FreeBSD.org
COMMENT= A tool to minimize the compile time of C/C++ programs
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ccache.1
PLIST_FILES= bin/ccache
diff --git a/devel/ccrtp/Makefile b/devel/ccrtp/Makefile
index 9876d1069608..156d51f7ac09 100644
--- a/devel/ccrtp/Makefile
+++ b/devel/ccrtp/Makefile
@@ -20,7 +20,6 @@ USE_GMAKE= yes
USE_GNOME= pkgconfig
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
INFO= ccrtp
diff --git a/devel/cdialog/Makefile b/devel/cdialog/Makefile
index 489462ed5442..93cd16debee4 100644
--- a/devel/cdialog/Makefile
+++ b/devel/cdialog/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME} --with-libtool
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKEFILE= makefile
MAN1= cdialog.1
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
index d611354dda89..208f2b6726e9 100644
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -28,7 +28,6 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFIGURE_ARGS+= --with-wx-config=${WX_CONFIG} --with-contrib-plugins=All
-CONFIGURE_TARGET=
MAN1= cb_console_runner.1 cb_share_config.1 codeblocks.1
.include <bsd.port.mk>
diff --git a/devel/compiz-bcop/Makefile b/devel/compiz-bcop/Makefile
index 656b9b37f1b4..27de3f8a45e9 100644
--- a/devel/compiz-bcop/Makefile
+++ b/devel/compiz-bcop/Makefile
@@ -24,8 +24,6 @@ GNU_CONFIGURE= yes
USE_GNOME= pkgconfig libxslt
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} \
-e 's|/bin/bash|${LOCALBASE}/bin/bash|' \
diff --git a/devel/cook/Makefile b/devel/cook/Makefile
index 3f72c7a83805..3f279647895e 100644
--- a/devel/cook/Makefile
+++ b/devel/cook/Makefile
@@ -19,7 +19,6 @@ COMMENT= Like make(1), but more powerful and clean
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib \
YACC=yacc
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= c_incl.1 cook.1 cook_bom.1 cook_lic.1 cook_rsh.1 cookfp.1 cooktime.1 \
find_libs.1 make2cook.1 roffpp.1
diff --git a/devel/cproto/Makefile b/devel/cproto/Makefile
index f24675e5fa70..e7e47c046237 100644
--- a/devel/cproto/Makefile
+++ b/devel/cproto/Makefile
@@ -19,8 +19,6 @@ COMMENT= Generate C function prototypes and convert function definitions
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN1= cproto.1
PLIST_FILES= bin/cproto
diff --git a/devel/cross-binutils/Makefile b/devel/cross-binutils/Makefile
index bb7863c9a3bc..29819b1f7d14 100644
--- a/devel/cross-binutils/Makefile
+++ b/devel/cross-binutils/Makefile
@@ -23,9 +23,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
ALL_TARGET= all info
-CONFIGURE_TARGET= --target=${OURTARGET}
CONFIGURE_ARGS+= --disable-nls \
--with-system-zlib \
+ --target=${OURTARGET}
OURTARGET= ${TGTARCH}-${TGTABI}
diff --git a/devel/cross-gdb/Makefile b/devel/cross-gdb/Makefile
index 2891be9589da..74a21e81a7af 100644
--- a/devel/cross-gdb/Makefile
+++ b/devel/cross-gdb/Makefile
@@ -35,9 +35,9 @@ ALL_TARGET= all info
DEPENDS_ARGS= TGTARCH="${TGTARCH}" TGTABI="${TGTABI}"
-CONFIGURE_TARGET= --target=${OURTARGET}
CONFIGURE_ARGS+= --disable-nls \
- --exec-prefix=${EPRFX}/
+ --exec-prefix=${EPRFX}/ \
+ --target=${OURTARGET}
OURTARGET= ${TGTARCH}-${TGTABI}
diff --git a/devel/cstringbuffer/Makefile b/devel/cstringbuffer/Makefile
index a3989d3fdf2f..4738cbddd07e 100644
--- a/devel/cstringbuffer/Makefile
+++ b/devel/cstringbuffer/Makefile
@@ -19,9 +19,6 @@ USE_LDCONFIG= yes
MAN3= csb.3
MANCOMPRESSED= no
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
PLIST_FILES= include/csb.h lib/libcsb.a lib/libcsb.la lib/libcsb.so \
lib/libcsb.so.1
diff --git a/devel/cunit/Makefile b/devel/cunit/Makefile
index 6d324a696de7..67c1f4e64e5d 100644
--- a/devel/cunit/Makefile
+++ b/devel/cunit/Makefile
@@ -18,7 +18,6 @@ COMMENT= An automated unit testing framework for C
WRKSRC= ${WRKDIR}/${PORTNAME:S/^cu/CU/}-${DISTVERSION}
DOCSDIR= ${PREFIX}/share/doc/CUnit
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_AUTOTOOLS= autoheader:262
USE_LDCONFIG= yes
diff --git a/devel/cvsd/Makefile b/devel/cvsd/Makefile
index 15205e45e6a7..3f4f1ea698a3 100644
--- a/devel/cvsd/Makefile
+++ b/devel/cvsd/Makefile
@@ -18,7 +18,6 @@ EXTRA_PATCHES= ${FILESDIR}/extra-cvsd-buildroot.in
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-libwrap
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
diff --git a/devel/cvsnt/Makefile b/devel/cvsnt/Makefile
index 6c20652617ca..08618b85dd86 100644
--- a/devel/cvsnt/Makefile
+++ b/devel/cvsnt/Makefile
@@ -23,7 +23,6 @@ USE_RC_SUBR= cvslockd.sh
CONFIGURE_ARGS= --enable-fork --enable-rcs \
--disable-odbc --disable-postgres\
--disable-mysql --disable-sqlite
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_ICONV= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"\
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"\
diff --git a/devel/darts/Makefile b/devel/darts/Makefile
index 330c9bcc828b..fd5669b4cb03 100644
--- a/devel/darts/Makefile
+++ b/devel/darts/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= miwi@FreeBSD.org
COMMENT= A C++ template library that implements Double-Array
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
EXAMPLES= darts.cpp mkdarts.cpp
DOCS= AUTHORS ChangeLog README doc
diff --git a/devel/ddd/Makefile b/devel/ddd/Makefile
index c41b1495db5e..f24f656cc935 100644
--- a/devel/ddd/Makefile
+++ b/devel/ddd/Makefile
@@ -26,7 +26,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' \
LDFLAGS='${LDFLAGS}'
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-motif-libraries="${LIBXMDIR}" \
--with-readline-libraries=/usr/lib
diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile
index 2d439ee5203d..9b0d672cce99 100644
--- a/devel/directfb/Makefile
+++ b/devel/directfb/Makefile
@@ -18,7 +18,6 @@ COMMENT= Graphic development lightweight API
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
diff --git a/devel/distcc/Makefile b/devel/distcc/Makefile
index e405d0418779..b13c69ce153f 100644
--- a/devel/distcc/Makefile
+++ b/devel/distcc/Makefile
@@ -22,7 +22,6 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-rfc2553
WANT_GNOME= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
diff --git a/devel/dmalloc/Makefile b/devel/dmalloc/Makefile
index 47d3f7905327..a89fe0511fd9 100644
--- a/devel/dmalloc/Makefile
+++ b/devel/dmalloc/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= pesho.petrov@gmail.com
COMMENT= Portable debug memory allocation library
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-threads --enable-shlib
CFLAGS+= -fPIC
USE_LDCONFIG= yes
diff --git a/devel/dmucs/Makefile b/devel/dmucs/Makefile
index 8f222a3183bb..17a44d264f86 100644
--- a/devel/dmucs/Makefile
+++ b/devel/dmucs/Makefile
@@ -17,7 +17,6 @@ COMMENT= Distributed Multi-User Compilation System (for use with distcc)
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/dmucs bin/gethost bin/loadavg bin/monitor bin/remhost
.include <bsd.port.mk>
diff --git a/devel/dotconf/Makefile b/devel/dotconf/Makefile
index 3276723ec6e4..a4aa71551ec1 100644
--- a/devel/dotconf/Makefile
+++ b/devel/dotconf/Makefile
@@ -17,7 +17,6 @@ COMMENT= A simple, powerful configuration-file parser
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
pre-patch:
diff --git a/devel/g-wrap/Makefile b/devel/g-wrap/Makefile
index 71bc28639913..9953b8cb285a 100644
--- a/devel/g-wrap/Makefile
+++ b/devel/g-wrap/Makefile
@@ -25,11 +25,11 @@ INFO= g-wrap
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_GNOME= glib20 gnomehack
NOT_FOR_ARCHS= ia64
-CONFIGURE_TARGET= --build=${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
CONFIGURE_ARGS= --disable-Werror
diff --git a/devel/gaul/Makefile b/devel/gaul/Makefile
index 4cc7a2b43b97..0ac4a83d7562 100644
--- a/devel/gaul/Makefile
+++ b/devel/gaul/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib -lcurses ${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/devel/gengetopt/Makefile b/devel/gengetopt/Makefile
index baf3225f27a1..3957f195a5ff 100644
--- a/devel/gengetopt/Makefile
+++ b/devel/gengetopt/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A tool for generating a C function which parses command line arguments
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= gengetopt.1
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile
index 43133970d756..9e0c8e68dc9c 100644
--- a/devel/gettext/Makefile
+++ b/devel/gettext/Makefile
@@ -19,7 +19,6 @@ USE_ICONV= yes
LIBTOOLFILES= autoconf-lib-link/configure gettext-runtime/configure \
gettext-runtime/libasprintf/configure gettext-tools/configure
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= ACLOCAL="${TRUE}" \
AUTOCONF="${TRUE}" \
AUTOMAKE="${TRUE}" \
diff --git a/devel/gindent/Makefile b/devel/gindent/Makefile
index 78be0ef2e5b9..a677b6e4950c 100644
--- a/devel/gindent/Makefile
+++ b/devel/gindent/Makefile
@@ -18,7 +18,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= GNU indent
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -DBERKELEY_DEFAULTS=1" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --program-prefix=g
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile
index d00336715074..6574cec52289 100644
--- a/devel/glib20/Makefile
+++ b/devel/glib20/Makefile
@@ -59,7 +59,6 @@ GLIB_ARCH= x86_64
.else
GLIB_ARCH= ${ARCH}
.endif
-CONFIGURE_TARGET= --build=${GLIB_ARCH}-portbld-freebsd${OSREL}
.if defined(WITH_COLLATION_FIX)
LIB_DEPENDS+= icui18n:${PORTSDIR}/devel/icu
diff --git a/devel/global/Makefile b/devel/global/Makefile
index 7809905ab335..080e069e3013 100644
--- a/devel/global/Makefile
+++ b/devel/global/Makefile
@@ -15,7 +15,6 @@ COMMENT= A source code tag system
GNU_CONFIGURE= yes
USE_PERL5= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= global.1 gozilla.1 gtags.1 gtags-cscope.1 gtags-parser.1 htags.1
INFO= global
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index b3b224be86f4..062923a53bfb 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -18,7 +18,6 @@ COMMENT= GNU version of 'make' utility
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--program-prefix=g
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
diff --git a/devel/gmake381/Makefile b/devel/gmake381/Makefile
index b3b224be86f4..062923a53bfb 100644
--- a/devel/gmake381/Makefile
+++ b/devel/gmake381/Makefile
@@ -18,7 +18,6 @@ COMMENT= GNU version of 'make' utility
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--program-prefix=g
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
diff --git a/devel/gnulibiberty/Makefile b/devel/gnulibiberty/Makefile
index 2636c8dda4b0..b7695f9ee14e 100644
--- a/devel/gnulibiberty/Makefile
+++ b/devel/gnulibiberty/Makefile
@@ -21,7 +21,6 @@ USE_BZIP2= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --enable-install-libiberty
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFLICTS= freelibiberty-[0-9]*
diff --git a/devel/gnustep-make/Makefile b/devel/gnustep-make/Makefile
index 50bbe8530a5b..9018fb6d1cf5 100644
--- a/devel/gnustep-make/Makefile
+++ b/devel/gnustep-make/Makefile
@@ -19,7 +19,6 @@ USE_GNUSTEP_PREFIX= yes
RESTRICTED= GPL3
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c" \
diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile
index 8ab2f0365d84..999908e9b2fc 100644
--- a/devel/google-perftools/Makefile
+++ b/devel/google-perftools/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= yuri@tsoft.com
COMMENT= Fast, multi-threaded malloc() and nifty performance analysis tools
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
diff --git a/devel/google-sparsehash/Makefile b/devel/google-sparsehash/Makefile
index b6d922c60a77..03e1dc146e4e 100644
--- a/devel/google-sparsehash/Makefile
+++ b/devel/google-sparsehash/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= vd@FreeBSD.org
COMMENT= An extremely memory-efficient hash_map implementation
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/devel/gpsim/Makefile b/devel/gpsim/Makefile
index 058f86d7a005..642e1d275a72 100644
--- a/devel/gpsim/Makefile
+++ b/devel/gpsim/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/devel/gwenhywfar/Makefile b/devel/gwenhywfar/Makefile
index 11a874d3655d..a8add5f54d5c 100644
--- a/devel/gwenhywfar/Makefile
+++ b/devel/gwenhywfar/Makefile
@@ -22,7 +22,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GETTEXT= yes
USE_OPENSSL= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= ${PREFIX}/lib \
${PREFIX}/lib/gwenhywfar/plugins/38/crypttoken \
${PREFIX}/lib/gwenhywfar/plugins/38/dbio \
diff --git a/devel/id-utils/Makefile b/devel/id-utils/Makefile
index cdf483113f1b..c5f71703b4cb 100644
--- a/devel/id-utils/Makefile
+++ b/devel/id-utils/Makefile
@@ -19,7 +19,6 @@ CONFLICTS= coreutils-[0-9]* linux-gid-[0-9]* sh-utils-[0-9]*
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INFO= id-utils
diff --git a/devel/idutils/Makefile b/devel/idutils/Makefile
index cdf483113f1b..c5f71703b4cb 100644
--- a/devel/idutils/Makefile
+++ b/devel/idutils/Makefile
@@ -19,7 +19,6 @@ CONFLICTS= coreutils-[0-9]* linux-gid-[0-9]* sh-utils-[0-9]*
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INFO= id-utils
diff --git a/devel/jrtplib/Makefile b/devel/jrtplib/Makefile
index 78d5ae94c66c..fad2fe6be335 100644
--- a/devel/jrtplib/Makefile
+++ b/devel/jrtplib/Makefile
@@ -17,7 +17,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-jthread
post-patch:
diff --git a/devel/kaptain/Makefile b/devel/kaptain/Makefile
index 67c50723d2d7..f64a95d808e9 100644
--- a/devel/kaptain/Makefile
+++ b/devel/kaptain/Makefile
@@ -20,7 +20,6 @@ USE_XORG= x11 ice xext
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-mt
MAN1= kaptain.1
diff --git a/devel/kimwitu++/Makefile b/devel/kimwitu++/Makefile
index 6a29f87995db..b13ea78aee8f 100644
--- a/devel/kimwitu++/Makefile
+++ b/devel/kimwitu++/Makefile
@@ -19,7 +19,6 @@ COMMENT= A tool for processing trees (i.e. terms)
USE_BISON= build
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= kc++.1
PLIST_FILES= bin/kc++
diff --git a/devel/libafterbase/Makefile b/devel/libafterbase/Makefile
index d4c351adb1ae..dac566c688c3 100644
--- a/devel/libafterbase/Makefile
+++ b/devel/libafterbase/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= AfterStep basic functionality library
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs --with-x
USE_LDCONFIG= yes
PLIST_SUB= STATIC="@comment "
diff --git a/devel/libchipcard-kde/Makefile b/devel/libchipcard-kde/Makefile
index 13a234085410..5c7ced20a152 100644
--- a/devel/libchipcard-kde/Makefile
+++ b/devel/libchipcard-kde/Makefile
@@ -19,10 +19,8 @@ LIB_DEPENDS= chipcard.20:${PORTSDIR}/devel/libchipcard:install
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-distri=freebsd --with-kde3-prefix=${LOCALBASE}\
- --with-applnk-dir=${PREFIX}/share/applnk/Utilities \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+ --with-applnk-dir=${PREFIX}/share/applnk/Utilities
USE_KDELIBS_VER= 3
.include <bsd.port.pre.mk>
diff --git a/devel/libchipcard/Makefile b/devel/libchipcard/Makefile
index 22afa7b455f0..8d55d89db9cc 100644
--- a/devel/libchipcard/Makefile
+++ b/devel/libchipcard/Makefile
@@ -21,10 +21,8 @@ USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}"
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --with-distri=freebsd
+CONFIGURE_ARGS+=--with-distri=freebsd
MAN1= ctfstool.1 chipcardd.1 geldkarte.1 hbcicard.1 \
kvkd.1 memcard.1 libchipcard-config.1 readertest.1
diff --git a/devel/libepp-nicbr/Makefile b/devel/libepp-nicbr/Makefile
index 225f4353e8ac..3156de154eae 100644
--- a/devel/libepp-nicbr/Makefile
+++ b/devel/libepp-nicbr/Makefile
@@ -16,7 +16,6 @@ COMMENT= Partial Extensible Provisioning Protocol to .br domains
LIB_DEPENDS= xerces-c:${PORTSDIR}/textproc/xerces-c2
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= VER=${PORTVERSION}
diff --git a/devel/libfs++/Makefile b/devel/libfs++/Makefile
index 46286deb18d5..eb581fbacbfd 100644
--- a/devel/libfs++/Makefile
+++ b/devel/libfs++/Makefile
@@ -18,7 +18,6 @@ COMMENT= C++ library which provides a file_iterator class
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/devel/libftdi/Makefile b/devel/libftdi/Makefile
index 72faec0b1ed0..df4ec3ba5342 100644
--- a/devel/libftdi/Makefile
+++ b/devel/libftdi/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= usb-0.1:${PORTSDIR}/devel/libusb
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_GNOME= pkgconfig gnomehack
diff --git a/devel/libg++/Makefile b/devel/libg++/Makefile
index a9ba96ce46c2..e296a56ac566 100644
--- a/devel/libg++/Makefile
+++ b/devel/libg++/Makefile
@@ -26,7 +26,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A libg++ container classes for EGCS and later versions of GCC
USE_GCC= 2.95
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= GCC28SUBDIR=${GCC28DIR}
pre-configure:
diff --git a/devel/libgalago/Makefile b/devel/libgalago/Makefile
index 2373f3de5acf..d135eb6915ec 100644
--- a/devel/libgalago/Makefile
+++ b/devel/libgalago/Makefile
@@ -26,8 +26,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-tests
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
post-configure:
@${ECHO_CMD} "#define HAVE_STRCHR 1" >> ${WRKSRC}/config.h
diff --git a/devel/libglade/Makefile b/devel/libglade/Makefile
index 8c9e00b5055d..492d203387f2 100644
--- a/devel/libglade/Makefile
+++ b/devel/libglade/Makefile
@@ -24,6 +24,5 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-bonobo --enable-gnomedb
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/devel/libgutenfetch/Makefile b/devel/libgutenfetch/Makefile
index 2e2755dc8352..d8666bc19885 100644
--- a/devel/libgutenfetch/Makefile
+++ b/devel/libgutenfetch/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl:install
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
diff --git a/devel/libiqxmlrpc/Makefile b/devel/libiqxmlrpc/Makefile
index b8f427316d5b..ef8bdf7dc537 100644
--- a/devel/libiqxmlrpc/Makefile
+++ b/devel/libiqxmlrpc/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost\
xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
diff --git a/devel/libisc/Makefile b/devel/libisc/Makefile
index 17a35b7b62bd..b56aeedb9cb1 100644
--- a/devel/libisc/Makefile
+++ b/devel/libisc/Makefile
@@ -21,7 +21,6 @@ COMMENT= ISC's utility library
ISCVERSION= 9.3.1
GNU_CONFIGURE= yes
-#CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MANCOMPRESSED= yes
BUILD_WRKSRC= ${WRKSRC}/lib/bind/freebsdportisc/
INSTALL_WRKSRC= ${BUILD_WRKSRC}
diff --git a/devel/libmatheval/Makefile b/devel/libmatheval/Makefile
index 91f2fa061452..4cd8c653ad79 100644
--- a/devel/libmatheval/Makefile
+++ b/devel/libmatheval/Makefile
@@ -18,7 +18,6 @@ COMMENT= A library of procedures for evaluating mathematical functions
LIB_DEPENDS= guile.19:${PORTSDIR}/lang/guile
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
USE_LDCONFIG= yes
USE_GNOME= gnomehack
diff --git a/devel/libole2/Makefile b/devel/libole2/Makefile
index 27a82f059a7c..dc984cc4e1cb 100644
--- a/devel/libole2/Makefile
+++ b/devel/libole2/Makefile
@@ -20,6 +20,5 @@ USE_GMAKE= yes
USE_GNOME= glib12
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/devel/libpthread-stubs/Makefile b/devel/libpthread-stubs/Makefile
index 31b6e26258c6..0cebe8a3daf2 100644
--- a/devel/libpthread-stubs/Makefile
+++ b/devel/libpthread-stubs/Makefile
@@ -19,6 +19,5 @@ USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/devel/libredblack/Makefile b/devel/libredblack/Makefile
index a9a858cd134c..5f130617410f 100644
--- a/devel/libredblack/Makefile
+++ b/devel/libredblack/Makefile
@@ -17,7 +17,6 @@ COMMENT= Library that provides the red-black balanced tree algorithm
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= rbgen.1
diff --git a/devel/libshbuf/Makefile b/devel/libshbuf/Makefile
index 0753479cbc2a..e7b65f9787b7 100644
--- a/devel/libshbuf/Makefile
+++ b/devel/libshbuf/Makefile
@@ -18,7 +18,6 @@ COMMENT= Library for Shared Buffer IPC
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/devel/libsigsegv/Makefile b/devel/libsigsegv/Makefile
index 6924606740e2..518d948b54a6 100644
--- a/devel/libsigsegv/Makefile
+++ b/devel/libsigsegv/Makefile
@@ -16,7 +16,6 @@ COMMENT= Handling page faults in user mode
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile
index 27f2b6709230..addf77f3b885 100644
--- a/devel/libslang2/Makefile
+++ b/devel/libslang2/Makefile
@@ -20,7 +20,6 @@ COMMENT= Routines for rapid alpha-numeric terminal applications development
USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFLICTS= libslang-[0-9]* libslang-1.*.j[0-9]
diff --git a/devel/libtar/Makefile b/devel/libtar/Makefile
index c6abac957081..3a11110b9f0c 100644
--- a/devel/libtar/Makefile
+++ b/devel/libtar/Makefile
@@ -17,7 +17,6 @@ COMMENT= A library for manipulating POSIX and GNU tar files
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
post-install:
diff --git a/devel/libtool15/Makefile b/devel/libtool15/Makefile
index ec76b14994f9..98537fd8f4c4 100644
--- a/devel/libtool15/Makefile
+++ b/devel/libtool15/Makefile
@@ -18,7 +18,6 @@ COMMENT?= Generic shared library support script
GNU_CONFIGURE= yes
CONFIGURE_ARGS?= --disable-ltdl-install
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO?= libtool
.include <bsd.port.mk>
diff --git a/devel/libytnef/Makefile b/devel/libytnef/Makefile
index ac60f2c34b90..416e3bc41ade 100644
--- a/devel/libytnef/Makefile
+++ b/devel/libytnef/Makefile
@@ -19,8 +19,6 @@ GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
PORTDOCS= AUTHORS NEWS README
post-install:
diff --git a/devel/libzrtpcpp/Makefile b/devel/libzrtpcpp/Makefile
index c64d5d274999..d8374377dd8e 100644
--- a/devel/libzrtpcpp/Makefile
+++ b/devel/libzrtpcpp/Makefile
@@ -24,7 +24,6 @@ WITH_OPENSSL_PORT=yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/devel/log4c/Makefile b/devel/log4c/Makefile
index 0c4e692d2c06..3f4aa60d4bbb 100644
--- a/devel/log4c/Makefile
+++ b/devel/log4c/Makefile
@@ -16,7 +16,6 @@ COMMENT= Logging for C Library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/devel/log4cplus/Makefile b/devel/log4cplus/Makefile
index 45cf39522eea..867abb404619 100644
--- a/devel/log4cplus/Makefile
+++ b/devel/log4cplus/Makefile
@@ -19,7 +19,6 @@ COMMENT= A logging library for C++
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}"
diff --git a/devel/log4cpp/Makefile b/devel/log4cpp/Makefile
index 6e1094aa127d..475ed9531b41 100644
--- a/devel/log4cpp/Makefile
+++ b/devel/log4cpp/Makefile
@@ -17,7 +17,6 @@ COMMENT= A library of C++ classes for flexible logging
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-pthreads --disable-html-docs
MAKE_ENV+= RM=${RM}
diff --git a/devel/log4cxx/Makefile b/devel/log4cxx/Makefile
index 3b1f7006ef03..9ee92f934b5b 100644
--- a/devel/log4cxx/Makefile
+++ b/devel/log4cxx/Makefile
@@ -36,7 +36,6 @@ LIBTOOL_VARS= --force --automake
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -I${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CXXFLAGS="${CXXFLAGS}"
USE_LDCONFIG= yes
diff --git a/devel/lwp/Makefile b/devel/lwp/Makefile
index e0d57c150597..caf61f237916 100644
--- a/devel/lwp/Makefile
+++ b/devel/lwp/Makefile
@@ -18,7 +18,6 @@ COMMENT= A userspace thread library
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-extract:
diff --git a/devel/mcpp/Makefile b/devel/mcpp/Makefile
index 48e942bd1fcd..8412934279b6 100644
--- a/devel/mcpp/Makefile
+++ b/devel/mcpp/Makefile
@@ -14,8 +14,7 @@ MAINTAINER= kmatsui@t3.rim.or.jp
COMMENT= Alternative C/C++ preprocessor
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --enable-mcpplib
+CONFIGURE_ARGS= --enable-mcpplib
MAN1= mcpp.1
PLIST_FILES= bin/mcpp \
diff --git a/devel/mico/Makefile b/devel/mico/Makefile
index ee00393b1c89..4ba807c2cffd 100644
--- a/devel/mico/Makefile
+++ b/devel/mico/Makefile
@@ -23,7 +23,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= EGREP=`which egrep`
OPTIONS= NOSERVICES "Without services, plain ORB" off \
diff --git a/devel/mm/Makefile b/devel/mm/Makefile
index da819f9ea151..e31ba30502ba 100644
--- a/devel/mm/Makefile
+++ b/devel/mm/Makefile
@@ -16,7 +16,6 @@ COMMENT= Shared memory allocation library for pre-forked process models
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= mm-config.1
MAN3= mm.3
diff --git a/devel/oaf/Makefile b/devel/oaf/Makefile
index 04e5af9d5f11..43e9f3099f3d 100644
--- a/devel/oaf/Makefile
+++ b/devel/oaf/Makefile
@@ -30,7 +30,6 @@ CONFIGURE_ARGS= --enable-static --enable-shared \
--disable-more-warnings
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= oafd.1
diff --git a/devel/ode/Makefile b/devel/ode/Makefile
index 20d07722e719..08a3921bf60b 100644
--- a/devel/ode/Makefile
+++ b/devel/ode/Makefile
@@ -24,7 +24,6 @@ USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/devel/omniNotify/Makefile b/devel/omniNotify/Makefile
index 4b3a651f00a8..fc0bc24cf3a8 100644
--- a/devel/omniNotify/Makefile
+++ b/devel/omniNotify/Makefile
@@ -35,7 +35,6 @@ USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386
CONFIGURE_SCRIPT= ../configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
CPP=${CPP} PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-omniorb=${LOCALBASE}
diff --git a/devel/omniORB/Makefile b/devel/omniORB/Makefile
index 7c69bff1bf98..95a1f3d0c895 100644
--- a/devel/omniORB/Makefile
+++ b/devel/omniORB/Makefile
@@ -25,7 +25,6 @@ MAKEFILE= GNUmakefile
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
CONFIGURE_WRKSRC= ${WRKSRC}/build
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure
CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
CPP=${CPP} PYTHON=${PYTHON_CMD}
diff --git a/devel/ossp-al/Makefile b/devel/ossp-al/Makefile
index a89e5bf3275f..a05fe1977c68 100644
--- a/devel/ossp-al/Makefile
+++ b/devel/ossp-al/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= ex.10:${PORTSDIR}/devel/ossp-ex
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ex=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/devel/ossp-cfg/Makefile b/devel/ossp-cfg/Makefile
index 96a7f737cf44..3607bc9ec5f2 100644
--- a/devel/ossp-cfg/Makefile
+++ b/devel/ossp-cfg/Makefile
@@ -18,7 +18,6 @@ COMMENT= A library for parsing arbitrary C/C++-style configuration files
LIB_DEPENDS= ex.10:${PORTSDIR}/devel/ossp-ex
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ex=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/devel/ossp-ex/Makefile b/devel/ossp-ex/Makefile
index e382764031de..e703fe2a97f2 100644
--- a/devel/ossp-ex/Makefile
+++ b/devel/ossp-ex/Makefile
@@ -17,7 +17,6 @@ COMMENT= OSSP ex is a small exception handling library for use in C
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
diff --git a/devel/ossp-l2/Makefile b/devel/ossp-l2/Makefile
index 930662564640..190aa43b093f 100644
--- a/devel/ossp-l2/Makefile
+++ b/devel/ossp-l2/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= mnag@FreeBSD.org
COMMENT= A C library for a flexible and sophisticated Unix logging facility
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= l2-config.1 l2tool.1
diff --git a/devel/ossp-val/Makefile b/devel/ossp-val/Makefile
index 0f7afcaab4dd..518883db2754 100644
--- a/devel/ossp-val/Makefile
+++ b/devel/ossp-val/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= ex.10:${PORTSDIR}/devel/ossp-ex
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ex=${LOCALBASE}
MAN1= val-config.1
diff --git a/devel/ossp-var/Makefile b/devel/ossp-var/Makefile
index cb261a02e8a2..f80e59426901 100644
--- a/devel/ossp-var/Makefile
+++ b/devel/ossp-var/Makefile
@@ -17,7 +17,6 @@ COMMENT= A flexible, full-featured and fast variable expansion library
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
diff --git a/devel/ossp-xds/Makefile b/devel/ossp-xds/Makefile
index 25e8f946dc83..92f9b06164cf 100644
--- a/devel/ossp-xds/Makefile
+++ b/devel/ossp-xds/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= mnag@FreeBSD.org
COMMENT= A generic and extensible framework for serialization
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= xds-config.1
diff --git a/devel/pcre++/Makefile b/devel/pcre++/Makefile
index 3da2f58249ae..6f5e878e0d17 100644
--- a/devel/pcre++/Makefile
+++ b/devel/pcre++/Makefile
@@ -21,7 +21,6 @@ PCRE_CONFIG?= ${LOCALBASE}/bin/pcre-config
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="`${PCRE_CONFIG} --cflags`" \
LDFLAGS="`${PCRE_CONFIG} --libs`"
USE_LDCONFIG= yes
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index dd3fc5890666..5067d3a91806 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -21,7 +21,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-utf8 --enable-unicode-properties
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(NOPORTDOCS)
PORTDOCS= *
diff --git a/devel/php-xdebug/Makefile b/devel/php-xdebug/Makefile
index 50f463559611..676e1fdb5fad 100644
--- a/devel/php-xdebug/Makefile
+++ b/devel/php-xdebug/Makefile
@@ -18,7 +18,6 @@ COMMENT= Xdebug extension for PHP
USE_PHP= yes
USE_PHPIZE= yes
CONFIGURE_ARGS= --enable-xdebug --with-php-config=${PREFIX}/bin/php-config
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_LIST= PHP_EXT_DIR=${PHP_EXT_DIR}
diff --git a/devel/phptags/Makefile b/devel/phptags/Makefile
index 6e23cd4775d4..4cd74302b2f6 100644
--- a/devel/phptags/Makefile
+++ b/devel/phptags/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= novel@FreeBSD.org
COMMENT= Create a tags file from PHP sources
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= phptags.1
PLIST_FILES= bin/phptags \
diff --git a/devel/pikdev/Makefile b/devel/pikdev/Makefile
index 94daeca75cad..110c13e15150 100644
--- a/devel/pikdev/Makefile
+++ b/devel/pikdev/Makefile
@@ -25,7 +25,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
INSTALLS_ICONS= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}" CFLAGS="${CFLAGS}"
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index fae8ad183d5a..43e38cb8058c 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -23,7 +23,6 @@ COMMENT= A getopt(3) like library with a number of enhancements, from Redhat
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--program-prefix=""
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/devel/poslib/Makefile b/devel/poslib/Makefile
index 4f16ae0953f7..8435d9515819 100644
--- a/devel/poslib/Makefile
+++ b/devel/poslib/Makefile
@@ -18,7 +18,6 @@ COMMENT= Posadis C++ DNS library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
PLIST_SUB= VERSION="${PORTVERSION}"
diff --git a/devel/preps-gui/Makefile b/devel/preps-gui/Makefile
index 938d8f679574..c6c5a049b904 100644
--- a/devel/preps-gui/Makefile
+++ b/devel/preps-gui/Makefile
@@ -26,7 +26,6 @@ INSTALLS_OMF= yes
GCONF_SCHEMAS= preps.schema
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-pgsqldir=${LOCALBASE} \
--with-plpgsqldir=${LOCALBASE} \
--with-libprepsdir=${LOCALBASE} \
diff --git a/devel/prepstools/Makefile b/devel/prepstools/Makefile
index 83f6152979b7..3e019eee9234 100644
--- a/devel/prepstools/Makefile
+++ b/devel/prepstools/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
USE_GNOME= gtk20 gconf2 glib20 libgnomeui
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--with-pgsqldir=${LOCALBASE} --with-plpgsqldir=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/devel/privman/Makefile b/devel/privman/Makefile
index c6b4928a80c7..0c725b5fd492 100644
--- a/devel/privman/Makefile
+++ b/devel/privman/Makefile
@@ -17,7 +17,6 @@ COMMENT= Library that makes it easy for programs to use privilege separation
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|$$(PACKAGE).d|$$(PACKAGE)|g' \
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 64bc3f83f03b..a844734b6590 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -17,7 +17,6 @@ COMMENT= GNU Portable Threads
USE_LDCONFIG= ${PREFIX}/lib/pth
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
diff --git a/devel/py-omniorb/Makefile b/devel/py-omniorb/Makefile
index e7366244e3fb..c38c3bd86884 100644
--- a/devel/py-omniorb/Makefile
+++ b/devel/py-omniorb/Makefile
@@ -39,7 +39,6 @@ MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
CONFIGURE_SCRIPT= ../configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CC=${CC} CFLAGS="${CFLAGS}" CXX=${CXX} CXXFLAGS="${CXXFLAGS}" \
CPP=${CPP} PYTHON=${PYTHON_CMD}
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE}
diff --git a/devel/ragel/Makefile b/devel/ragel/Makefile
index f4e4829df211..fb380c0eb604 100644
--- a/devel/ragel/Makefile
+++ b/devel/ragel/Makefile
@@ -21,7 +21,6 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
USE_BISON= build
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV= GPERF="${LOCALBASE}/bin/gperf"
MAN1= ragel.1 rlgen-cd.1 rlgen-dot.1 rlgen-java.1 rlgen-ruby.1
diff --git a/devel/re2c/Makefile b/devel/re2c/Makefile
index 64142023c763..d213a55cf058 100644
--- a/devel/re2c/Makefile
+++ b/devel/re2c/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= miwi@FreeBSD.org
COMMENT= Compile regular expression to C (much faster final code than flex)
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= re2c.1
diff --git a/devel/rlwrap/Makefile b/devel/rlwrap/Makefile
index f2f4d4152809..9216faae1278 100644
--- a/devel/rlwrap/Makefile
+++ b/devel/rlwrap/Makefile
@@ -18,7 +18,6 @@ MAINTAINER= dryice@FreeBSD.org
COMMENT= Readline wrapper
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= ptyttylib_cv_ptys=BSD LDFLAGS=-lutil
MAN1= rlwrap.1
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile
index d617210ec492..66621ea90756 100644
--- a/devel/rpc2/Makefile
+++ b/devel/rpc2/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp
USE_GMAKE= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5= yes
USE_LDCONFIG= yes
diff --git a/devel/rvm/Makefile b/devel/rvm/Makefile
index 0985b32ca210..62e107997271 100644
--- a/devel/rvm/Makefile
+++ b/devel/rvm/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp
USE_GMAKE= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/devel/sfslite/Makefile b/devel/sfslite/Makefile
index 305b3fb26669..f0397a160a7d 100644
--- a/devel/sfslite/Makefile
+++ b/devel/sfslite/Makefile
@@ -47,7 +47,6 @@ CONFIGURE_ARGS += --enable-system-bin
USE_LDCONFIG= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/${PORTNAME}/${BUILD_MODE}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--with-mode=${BUILD_MODE}
PLIST_SUB= VERSION=${SHORTVERSION} \
diff --git a/devel/shmap/Makefile b/devel/shmap/Makefile
index bca35de32fa6..7d1b10d363cd 100644
--- a/devel/shmap/Makefile
+++ b/devel/shmap/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= mm.14:${PORTSDIR}/devel/mm
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/devel/shtool/Makefile b/devel/shtool/Makefile
index a64104e5be07..c1ee1e6af95b 100644
--- a/devel/shtool/Makefile
+++ b/devel/shtool/Makefile
@@ -17,7 +17,6 @@ COMMENT= The GNU Portable Shell Tool
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= shtool-arx.1 shtool-echo.1 shtool-fixperm.1 shtool-install.1 \
shtool-mdate.1 shtool-mkdir.1 shtool-mkln.1 shtool-mkshadow.1 \
diff --git a/devel/silc-toolkit/Makefile b/devel/silc-toolkit/Makefile
index 521e56bbeca2..fe1d9afcb9d3 100644
--- a/devel/silc-toolkit/Makefile
+++ b/devel/silc-toolkit/Makefile
@@ -31,7 +31,6 @@ USE_AUTOTOOLS= libtool:15
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ARGS= --with-etcdir=${PREFIX}/etc/${PORTNAME}${PKGNAMESUFFIX} \
--with-simdir=${PREFIX}/lib/silcsim \
diff --git a/devel/simulavr/Makefile b/devel/simulavr/Makefile
index 64dcbb9e4ce6..8dcded138f0b 100644
--- a/devel/simulavr/Makefile
+++ b/devel/simulavr/Makefile
@@ -26,7 +26,6 @@ BUILD_DEPENDS= ${LOCALBASE}/avr/include/avr/io.h:${PORTSDIR}/devel/avr-libc \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
CONFIGURE_ARGS= --disable-versioned-doc --enable-pdf
MAN1= simulavr.1 simulavr-disp.1
diff --git a/devel/splint/Makefile b/devel/splint/Makefile
index 732479ba3a1e..b665513382cc 100644
--- a/devel/splint/Makefile
+++ b/devel/splint/Makefile
@@ -16,7 +16,6 @@ COMMENT= A tool for statically checking sourcecode for security vulnerabilities
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= splint.1
diff --git a/devel/str/Makefile b/devel/str/Makefile
index 3784bde130de..e861104812ec 100644
--- a/devel/str/Makefile
+++ b/devel/str/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= vd@FreeBSD.org
COMMENT= Generic String Library
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= str-config.1
diff --git a/devel/strace/Makefile b/devel/strace/Makefile
index 8bb684e40c3d..de4e74523cb6 100644
--- a/devel/strace/Makefile
+++ b/devel/strace/Makefile
@@ -17,7 +17,6 @@ USE_BZIP2= yes
USE_PERL5= yes # for strace-graph
GNU_CONFIGURE= yes
ONLY_FOR_ARCHS= i386
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/strace bin/strace-graph
diff --git a/devel/subversion-devel/Makefile b/devel/subversion-devel/Makefile
index df8a100365be..7689ec61ebf3 100644
--- a/devel/subversion-devel/Makefile
+++ b/devel/subversion-devel/Makefile
@@ -25,7 +25,6 @@ USE_LDCONFIG= yes
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ssl
WANT_PERL= yes
diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common
index 2cdf8d0c0b4d..33aba00d2fc5 100644
--- a/devel/subversion/Makefile.common
+++ b/devel/subversion/Makefile.common
@@ -16,7 +16,6 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ssl
WANT_PERL= yes
diff --git a/devel/subversion16/Makefile.common b/devel/subversion16/Makefile.common
index 2cdf8d0c0b4d..33aba00d2fc5 100644
--- a/devel/subversion16/Makefile.common
+++ b/devel/subversion16/Makefile.common
@@ -16,7 +16,6 @@ EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ssl
WANT_PERL= yes
diff --git a/devel/t1lib/Makefile b/devel/t1lib/Makefile
index f23f5f90fac0..06aea59f3736 100644
--- a/devel/t1lib/Makefile
+++ b/devel/t1lib/Makefile
@@ -18,7 +18,6 @@ COMMENT= A Type 1 Rasterizer Library for UNIX/X11
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= without_doc
USE_LDCONFIG= yes
diff --git a/devel/ta-lib/Makefile b/devel/ta-lib/Makefile
index c797a7467c58..b1b74ad4f8f4 100644
--- a/devel/ta-lib/Makefile
+++ b/devel/ta-lib/Makefile
@@ -18,7 +18,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/devel/tvision/Makefile b/devel/tvision/Makefile
index 0e74989a2bfd..27e31430cab5 100644
--- a/devel/tvision/Makefile
+++ b/devel/tvision/Makefile
@@ -18,7 +18,6 @@ COMMENT= The Turbo Vision C++ CUI library for UNIX
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index fba1e44e7bb1..a7192cc1cf67 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -26,7 +26,6 @@ USE_GNOME= pkgconfig
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS+= autoconf:262 aclocal:19 automake:19
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GCC= 3.4
WRKSRC= ${WRKDIR}/${DISTNAME}
diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index 5e4a4a5e44d0..2b8d1bbdf03b 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
USE_AUTOTOOLS+= autoconf:262 aclocal:19 automake:19
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--enable-maintainer-mode
USE_PERL5_BUILD=yes
USE_GCC= 3.4
diff --git a/devel/vstr/Makefile b/devel/vstr/Makefile
index d9bda1b29ff0..d310700a5caa 100644
--- a/devel/vstr/Makefile
+++ b/devel/vstr/Makefile
@@ -18,7 +18,6 @@ COMMENT= General purpose string library for C
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= gnomehack pkgconfig
diff --git a/devel/xfc/Makefile b/devel/xfc/Makefile
index 71bcce5753b7..f4582b0f2a9d 100644
--- a/devel/xfc/Makefile
+++ b/devel/xfc/Makefile
@@ -22,7 +22,6 @@ USE_GETTEXT= yes
USE_GNOME= glib20 gtk20 atk pango pkgconfig libglade2 gnomehack
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS=-I${LOCALBASE}/include \
CPPFLAGS=-I${LOCALBASE}/include \
LIBS=-L${LOCALBASE}/lib
diff --git a/devel/zziplib/Makefile b/devel/zziplib/Makefile
index 6119250eb7fc..f476bb296014 100644
--- a/devel/zziplib/Makefile
+++ b/devel/zziplib/Makefile
@@ -17,7 +17,6 @@ COMMENT= A library to provide transparent read access to zipped files
USE_BZIP2= yes
USE_GNOME= gnomehack pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PYTHON_BUILD= yes
USE_LDCONFIG= yes
diff --git a/dns/c-ares/Makefile b/dns/c-ares/Makefile
index e7b2a7f6109a..8f7b701dc761 100644
--- a/dns/c-ares/Makefile
+++ b/dns/c-ares/Makefile
@@ -31,7 +31,6 @@ MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
MAN3= ares_cancel.3 \
diff --git a/dns/dnrd/Makefile b/dns/dnrd/Makefile
index 076da8904a88..a8b119053f65 100644
--- a/dns/dnrd/Makefile
+++ b/dns/dnrd/Makefile
@@ -16,7 +16,6 @@ COMMENT= A proxy DNS daemon
USE_GMAKE= yes
USE_RC_SUBR= ${PORTNAME}.sh
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
MAN8= dnrd.8
diff --git a/dns/dnsproxy/Makefile b/dns/dnsproxy/Makefile
index e44c2bf50aca..22211e7a7b7d 100644
--- a/dns/dnsproxy/Makefile
+++ b/dns/dnsproxy/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A proxy for DNS queries
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_RC_SUBR= dnsproxy
diff --git a/dns/dnsutl/Makefile b/dns/dnsutl/Makefile
index b1bf59cefdbc..51794024b06e 100644
--- a/dns/dnsutl/Makefile
+++ b/dns/dnsutl/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= stefan@fh-mainz.de
COMMENT= Programs to make using DNS easier
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= all sure
MAN1= dns-boot-check.1 dns-bootp.1 dns-bootparams.1 \
diff --git a/dns/nsd/Makefile b/dns/nsd/Makefile
index 7800800709c1..8872cec20147 100644
--- a/dns/nsd/Makefile
+++ b/dns/nsd/Makefile
@@ -33,7 +33,6 @@ CONFIGURE_ARGS= --with-user=${NSDUSER} \
--with-difffile=${NSDDIFFFILE} \
--with-xfrdfile=${NSDXFRDFILE} \
--with-libwrap
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN5= nsd.conf.5
MAN8= nsd.8 nsdc.8 zonec.8 nsd-checkconf.8 nsd-notify.8 nsd-patch.8 \
diff --git a/dns/nsd2/Makefile b/dns/nsd2/Makefile
index 4fd5291d264d..aac4ac3ba3a5 100644
--- a/dns/nsd2/Makefile
+++ b/dns/nsd2/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ARGS= --with-user=${NSDUSER} \
--with-pidfile=/var/run/nsd.pid \
--with-dbfile=${NSDDBFILE} \
--with-libwrap
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
OPTIONS= ROOT_SERVER "Configure NSD as a root server" Off \
IPV6 "Enable IPv6 support" On \
diff --git a/dns/posadis/Makefile b/dns/posadis/Makefile
index 974cee1d8d96..2bde6944d6a6 100644
--- a/dns/posadis/Makefile
+++ b/dns/posadis/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= poslib.0:${PORTSDIR}/devel/poslib
USE_AUTOTOOLS= autoconf:262 libltdl:15 libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile
index 8c0d04534a39..c98a9b504a56 100644
--- a/dns/powerdns-devel/Makefile
+++ b/dns/powerdns-devel/Makefile
@@ -29,7 +29,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= YES
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-modules="pipe" \
--with-dynmodules="${CONFIGURE_MODULES}" \
--sysconfdir="${PREFIX}/etc/pdns" \
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 190860b4f7ac..bc4416091c16 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -25,7 +25,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= YES
CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-modules="pipe" \
--with-dynmodules="${CONFIGURE_MODULES}" \
--sysconfdir="${PREFIX}/etc/pdns" \
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index 1fbddfb8095d..99eba767b5bb 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -17,7 +17,6 @@ COMMENT= A validating, recursive, and caching DNS resolver
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
USE_LDCONFIG= yes
diff --git a/dns/updatedd/Makefile b/dns/updatedd/Makefile
index 3f1073bcf23f..01c31e8baa2e 100644
--- a/dns/updatedd/Makefile
+++ b/dns/updatedd/Makefile
@@ -18,7 +18,6 @@ COMMENT= Dynamic DNS Update Client supporting multiple services
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/editors/MathPlanner/Makefile b/editors/MathPlanner/Makefile
index e2f4d7211a33..c2151ea9c0fa 100644
--- a/editors/MathPlanner/Makefile
+++ b/editors/MathPlanner/Makefile
@@ -18,7 +18,6 @@ COMMENT= A mathematical design and publishing application
USE_QT_VER= 3
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
QTCFGLIBS+= ${PTHREAD_LIBS}
diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile
index 01a1eb87aa9b..80c3690aea17 100644
--- a/editors/bvi/Makefile
+++ b/editors/bvi/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= vd@FreeBSD.org
COMMENT= A vi-like binary file (hex)editor
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --datadir=${DATADIR}
MAN1= bvi.1 bmore.1
diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile
index 054453070ede..f081d079e4ee 100644
--- a/editors/cooledit/Makefile
+++ b/editors/cooledit/Makefile
@@ -21,7 +21,6 @@ USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_XORG= x11 xt
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 9480b786b65f..79cc9cedab6a 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -42,7 +42,6 @@ USE_XORG= x11
USE_XORG= xpm xft
.endif
-CONFIGURE_TARGET= ${MACHINE_ARCH}-freebsd
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x=no
.else
diff --git a/editors/emacs22/Makefile b/editors/emacs22/Makefile
index 9480b786b65f..79cc9cedab6a 100644
--- a/editors/emacs22/Makefile
+++ b/editors/emacs22/Makefile
@@ -42,7 +42,6 @@ USE_XORG= x11
USE_XORG= xpm xft
.endif
-CONFIGURE_TARGET= ${MACHINE_ARCH}-freebsd
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x=no
.else
diff --git a/editors/emacs23/Makefile b/editors/emacs23/Makefile
index 9480b786b65f..79cc9cedab6a 100644
--- a/editors/emacs23/Makefile
+++ b/editors/emacs23/Makefile
@@ -42,7 +42,6 @@ USE_XORG= x11
USE_XORG= xpm xft
.endif
-CONFIGURE_TARGET= ${MACHINE_ARCH}-freebsd
.if defined(WITHOUT_X11)
CONFIGURE_ARGS= --with-x=no
.else
diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile
index 0ac84a07aa9a..cb8039b44626 100644
--- a/editors/hexcurse/Makefile
+++ b/editors/hexcurse/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= jadawin@FreeBSD.org
COMMENT= A versatile ncurses-based hex editor
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= hexcurse.1
PLIST_FILES= bin/hexcurse
diff --git a/editors/hte/Makefile b/editors/hte/Makefile
index 9e7a8b9a4c1b..ef8f0735f11d 100644
--- a/editors/hte/Makefile
+++ b/editors/hte/Makefile
@@ -17,7 +17,6 @@ COMMENT= A file editor/viewer/analyzer for executables
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/ht
diff --git a/editors/jed/Makefile b/editors/jed/Makefile
index 08481e8a5634..5e1d8f785bf4 100644
--- a/editors/jed/Makefile
+++ b/editors/jed/Makefile
@@ -28,7 +28,6 @@ USE_BZIP2= yes
DIST_SUBDIR= jed
GNU_CONFIGURE= yes
CONFIGURE_ENV+= JED_ROOT=${PREFIX}/lib/jed
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= *
MAKE_ENV+= DEST_DOC_DIR=${DOCSDIR}
diff --git a/editors/joe/Makefile b/editors/joe/Makefile
index 3da7d1afd14d..2dffa8b6dbfa 100644
--- a/editors/joe/Makefile
+++ b/editors/joe/Makefile
@@ -25,7 +25,6 @@ CONFLICTS= joe-2.*
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -liconv"
diff --git a/editors/joe2/Makefile b/editors/joe2/Makefile
index 467116d3191c..96967add1493 100644
--- a/editors/joe2/Makefile
+++ b/editors/joe2/Makefile
@@ -22,7 +22,6 @@ CONFLICTS= joe-3*
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_ICONV= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -liconv"
diff --git a/editors/nano/Makefile b/editors/nano/Makefile
index ef00a41c75cd..f9e3872b6029 100644
--- a/editors/nano/Makefile
+++ b/editors/nano/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-all
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile
index 1226f7aa33e8..76a63d2cea16 100644
--- a/editors/ssed/Makefile
+++ b/editors/ssed/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Super-sed - a heavily enhanced version of sed
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --program-prefix=s
MAN1= ssed.1
diff --git a/editors/ted/Makefile b/editors/ted/Makefile
index 060865919a05..3d27f76504ce 100644
--- a/editors/ted/Makefile
+++ b/editors/ted/Makefile
@@ -25,7 +25,6 @@ USE_MOTIF= yes
USE_XORG= xpm xp xmu xt xext sm ice x11
USE_GHOSTSCRIPT_RUN= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV+= DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \
DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \
DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${DOCSDIR}/\\\"\""
diff --git a/editors/tetradraw/Makefile b/editors/tetradraw/Makefile
index 18d0e4540131..5b9e9db6cc58 100644
--- a/editors/tetradraw/Makefile
+++ b/editors/tetradraw/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Fully featured ANSI art editor/viewer with TCP/IP multidraw support
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/tetradraw bin/tetraview
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile
index 26407937e691..5d823051b04e 100644
--- a/editors/texmacs/Makefile
+++ b/editors/texmacs/Makefile
@@ -29,7 +29,6 @@ USE_ICONV= yes
REINPLACE_ARGS= -i ""
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-optimize="${CXXFLAGS}" \
diff --git a/editors/xemacs-devel-mule/Makefile b/editors/xemacs-devel-mule/Makefile
index c3e2e1faa81d..e3d2daf6cdec 100644
--- a/editors/xemacs-devel-mule/Makefile
+++ b/editors/xemacs-devel-mule/Makefile
@@ -54,7 +54,7 @@ XEMACS_ARCH= ${MACHINE_ARCH}--freebsd
WRKSRC= ${WRKDIR}/xemacs-${XEMACS_VER:S/-b/./}
STRIP=
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET=--build=${XEMACS_ARCH}
+CONFIGURE_TARGET=${XEMACS_ARCH}
CONFIGURE_ARGS+= --enable-mule \
--with-site-libraries='${SITE_LIBRARIES}' \
diff --git a/editors/xmlcopyeditor/Makefile b/editors/xmlcopyeditor/Makefile
index f31fd64f596a..8c50cf672624 100644
--- a/editors/xmlcopyeditor/Makefile
+++ b/editors/xmlcopyeditor/Makefile
@@ -46,7 +46,6 @@ ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
USE_AUTOTOOLS= aclocal:110 autoconf:262 automake:110 libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include \
-I${LOCALBASE}/include/libxml2 ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/emulators/advancemame/Makefile b/emulators/advancemame/Makefile
index b7da54892e8a..c9207b0a2189 100644
--- a/emulators/advancemame/Makefile
+++ b/emulators/advancemame/Makefile
@@ -20,7 +20,6 @@ USE_GL= yes
USE_GMAKE= yes
USE_SDL= sdl
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -idirafter ${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/emulators/advancemenu/Makefile b/emulators/advancemenu/Makefile
index d998c52c632d..4a9355cce325 100644
--- a/emulators/advancemenu/Makefile
+++ b/emulators/advancemenu/Makefile
@@ -20,7 +20,6 @@ USE_GL= yes
USE_GMAKE= yes
USE_SDL= sdl
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= FREETYPE "Enable FreeType2 support" off \
diff --git a/emulators/advancemess/Makefile b/emulators/advancemess/Makefile
index feaff9e62514..b89e59c75dd5 100644
--- a/emulators/advancemess/Makefile
+++ b/emulators/advancemess/Makefile
@@ -21,7 +21,6 @@ USE_GL= yes
USE_GMAKE= yes
USE_SDL= sdl
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -idirafter ${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile
index f9328f6cd51e..f7f6e0089b9b 100644
--- a/emulators/atari800/Makefile
+++ b/emulators/atari800/Makefile
@@ -26,7 +26,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
MAN1= atari800.1
diff --git a/emulators/desmume/Makefile b/emulators/desmume/Makefile
index a778d1273c51..f5f017775951 100644
--- a/emulators/desmume/Makefile
+++ b/emulators/desmume/Makefile
@@ -18,7 +18,6 @@ USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GNOME= gtk20 libglade2
PLIST_FILES= bin/desmume-glade bin/desmume bin/desmume-cli
diff --git a/emulators/dosbox/Makefile b/emulators/dosbox/Makefile
index 5313ad0358e9..b0d5d9184f73 100644
--- a/emulators/dosbox/Makefile
+++ b/emulators/dosbox/Makefile
@@ -25,7 +25,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-core-inline
post-patch:
diff --git a/emulators/fceu/Makefile b/emulators/fceu/Makefile
index bd40d2da1cb8..aa56f201d49f 100644
--- a/emulators/fceu/Makefile
+++ b/emulators/fceu/Makefile
@@ -22,7 +22,6 @@ USE_SDL= sdl
WRKSRC= ${WRKDIR}/fceu
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN6= fceu.6
diff --git a/emulators/fceux/Makefile b/emulators/fceux/Makefile
index bd40d2da1cb8..aa56f201d49f 100644
--- a/emulators/fceux/Makefile
+++ b/emulators/fceux/Makefile
@@ -22,7 +22,6 @@ USE_SDL= sdl
WRKSRC= ${WRKDIR}/fceu
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN6= fceu.6
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index d6961b4bf16b..2df579756596 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -21,7 +21,6 @@ USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--with-gtk
diff --git a/emulators/gngeo/Makefile b/emulators/gngeo/Makefile
index 8f61f0e2114f..9b616a45c3a6 100644
--- a/emulators/gngeo/Makefile
+++ b/emulators/gngeo/Makefile
@@ -22,7 +22,6 @@ USE_GL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name="" --disable-gp2x
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CPPFLAGS= ${CFLAGS} `${SDL_CONFIG} --cflags` -I${LOCALBASE}/include
LDFLAGS= `${SDL_CONFIG} --libs` -L${LOCALBASE}/lib
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile
index ec0018aaec4e..518cd90c2728 100644
--- a/emulators/mednafen/Makefile
+++ b/emulators/mednafen/Makefile
@@ -26,7 +26,6 @@ USE_XORG= x11
USE_GL= glut
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
WRKSRC= ${WRKDIR}/${PORTNAME}
SUB_FILES= pkg-message
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
index 3924ab403b40..93b867eb4e6f 100644
--- a/emulators/pearpc/Makefile
+++ b/emulators/pearpc/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= novel@FreeBSD.org
COMMENT= PowerPC emulator
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PKGMESSAGE= ${WRKDIR}/pkg-message
USE_XORG= x11
diff --git a/emulators/snes9x/Makefile b/emulators/snes9x/Makefile
index d1c00728ddc4..5f9a1a23167c 100644
--- a/emulators/snes9x/Makefile
+++ b/emulators/snes9x/Makefile
@@ -26,7 +26,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-extensions
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS= INCLUDES="-I${WRKSRC}/unzip -I${WRKSRC} -I${LOCALBASE}/include \
${PTHREAD_CFLAGS}" LDLIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
OPTIMISE="${CXXFLAGS}"
diff --git a/emulators/yabause/Makefile b/emulators/yabause/Makefile
index 198c54237822..0a3728bade20 100644
--- a/emulators/yabause/Makefile
+++ b/emulators/yabause/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= yes
USE_AUTOTOOLS= automake:19 aclocal:19 autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
MAN1= yabause.1
diff --git a/emulators/zsnes/Makefile b/emulators/zsnes/Makefile
index a617f5956fc0..e069f9b9d2f8 100644
--- a/emulators/zsnes/Makefile
+++ b/emulators/zsnes/Makefile
@@ -36,7 +36,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-cpucheck
CONFIGURE_ENV= CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= zsnes.1
PLIST_FILES= bin/zsnes
diff --git a/finance/aqbanking/Makefile b/finance/aqbanking/Makefile
index 9adc309623bc..428c8c50b6a6 100644
--- a/finance/aqbanking/Makefile
+++ b/finance/aqbanking/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -L${LOCALBASE}/lib \
${QTCPPFLAGS} ${PTHREAD_CFLAGS}"
CONFIGURE_ENV+= LIBS="${QTCFGLIBS} ${PTHREAD_LIBS}"
CONFIGURE_ENV+= QTDIR="${QT_PREFIX}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
diff --git a/finance/aqmoney/Makefile b/finance/aqmoney/Makefile
index 8c022e01c3df..b813ad426fef 100644
--- a/finance/aqmoney/Makefile
+++ b/finance/aqmoney/Makefile
@@ -16,7 +16,6 @@ COMMENT= Manage your credit institute accounts using openhbci
LIB_DEPENDS= openhbci.14:${PORTSDIR}/finance/openhbci
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= aqmoney.1
PLIST_FILES= bin/aqmoney
diff --git a/finance/khacc/Makefile b/finance/khacc/Makefile
index bc9baacbb5e5..6b7eb87d1c8a 100644
--- a/finance/khacc/Makefile
+++ b/finance/khacc/Makefile
@@ -21,7 +21,6 @@ USE_KDELIBS_VER=3
USE_PERL5_BUILD=yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-qhacc-config=${LOCALBASE}/bin
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile
index 01ec4efe0c2f..c8fe09e3643a 100644
--- a/finance/ledger/Makefile
+++ b/finance/ledger/Makefile
@@ -24,7 +24,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/w3c-libwww
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET?= --build=${ARCH}-portbld-freebsd${OSREL}
NO_INSTALL_MANPAGES= yes
INFO= ledger
diff --git a/finance/openhbci/Makefile b/finance/openhbci/Makefile
index 8d13754e7f02..23bf529d2cc1 100644
--- a/finance/openhbci/Makefile
+++ b/finance/openhbci/Makefile
@@ -17,7 +17,6 @@ COMMENT= HBCI is a bank-independent homebanking standard
USE_AUTOTOOLS= libtool:15
WRKSRC= ${WRKDIR}/${PORTNAME}-0.9.17
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile
index ff58d3803c03..c3d83a5d74b7 100644
--- a/finance/qhacc/Makefile
+++ b/finance/qhacc/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-qt-moc=${QT_PREFIX}/bin \
--with-qt-libs=${QT_PREFIX}/lib
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
diff --git a/finance/quantlib/Makefile b/finance/quantlib/Makefile
index 9fcc0175b3d9..aad1258faf00 100644
--- a/finance/quantlib/Makefile
+++ b/finance/quantlib/Makefile
@@ -22,7 +22,6 @@ WRKSRC= ${WRKDIR}/QuantLib-${PORTVERSION}
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/french/med/Makefile b/french/med/Makefile
index 05dbddf0606e..a72a73844553 100644
--- a/french/med/Makefile
+++ b/french/med/Makefile
@@ -23,7 +23,6 @@ SHORT_TK_VER= ${TK_VER:S/.//}
USE_FORTRAN= yes
FFLAGS+= -O2
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} \
FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
diff --git a/french/verbiste/Makefile b/french/verbiste/Makefile
index 2eb026111c11..5a9576a5d0ea 100644
--- a/french/verbiste/Makefile
+++ b/french/verbiste/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.if defined(WITH_GNOMEGUI)
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index 694c79215c9c..6cd905dd252f 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -48,7 +48,6 @@ PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
USE_PERL5_BUILD= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= CARES "Asynchronous DNS resolution via c-ares" off \
CURL_DEBUG "Enable curl diagnostic output" off \
diff --git a/ftp/curlpp/Makefile b/ftp/curlpp/Makefile
index 795ba5e6a21f..201cdf76a0f1 100644
--- a/ftp/curlpp/Makefile
+++ b/ftp/curlpp/Makefile
@@ -17,7 +17,6 @@ COMMENT= A C++ wrapper for libcurl
LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-ewarning
diff --git a/ftp/frox/Makefile b/ftp/frox/Makefile
index 5cafc6e09b01..7c62f7b1e089 100644
--- a/ftp/frox/Makefile
+++ b/ftp/frox/Makefile
@@ -20,7 +20,6 @@ COMMENT= Transparent FTP proxy with caching support
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_RC_SUBR= frox.sh
SUB_FILES= pkg-message
diff --git a/ftp/ftp-tls/Makefile b/ftp/ftp-tls/Makefile
index 591996e77021..c6fa9d536ecb 100644
--- a/ftp/ftp-tls/Makefile
+++ b/ftp/ftp-tls/Makefile
@@ -21,7 +21,6 @@ USE_OPENSSL= yes
MAN1= ftp-tls.1
CONFIGURE_ARGS= --with-openssl-dir=${OPENSSLBASE}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/ftp ${PREFIX}/bin/ftp-tls
diff --git a/ftp/ftpd-tls/Makefile b/ftp/ftpd-tls/Makefile
index 068597e9eacf..2765aa55c839 100644
--- a/ftp/ftpd-tls/Makefile
+++ b/ftp/ftpd-tls/Makefile
@@ -22,7 +22,6 @@ USE_RC_SUBR= ftpd-tls.sh
MAN8= ftpd-tls.8
CONFIGURE_ARGS= --with-openssl-dir=${OPENSSLBASE}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
diff --git a/ftp/muddleftpd/Makefile b/ftp/muddleftpd/Makefile
index fb4663e52b3c..9ef7b0d1b552 100644
--- a/ftp/muddleftpd/Makefile
+++ b/ftp/muddleftpd/Makefile
@@ -22,7 +22,6 @@ COMMENT= A new ftp server that can perform a variety of ftp tasks
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-authsmb
MAN1= ftpwho.1 muddleftpd.1 mudpasswd.1
diff --git a/ftp/ocaml-ocurl/Makefile b/ftp/ocaml-ocurl/Makefile
index 333962f5c9dc..72d3b79d8416 100644
--- a/ftp/ocaml-ocurl/Makefile
+++ b/ftp/ocaml-ocurl/Makefile
@@ -23,7 +23,6 @@ WRKSRC= ${WRKDIR}/ocurl
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+="--with-findlib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PKGDEINSTALL= ${PKGINSTALL}
FINDLIB_PKGNAME=${PORTNAME:S/o//}
diff --git a/ftp/oftpd/Makefile b/ftp/oftpd/Makefile
index 1cca1f7121c7..e116defd78ad 100644
--- a/ftp/oftpd/Makefile
+++ b/ftp/oftpd/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= beech@FreeBSD.org
COMMENT= A threaded, anonymous only FTP server designed for security
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN8= oftpd.8
PORTDOCS= README AUTHORS ChangeLog NEWS TODO BUGS
diff --git a/ftp/pftpd/Makefile b/ftp/pftpd/Makefile
index caf45aa0fc8d..f8da7ea135c4 100644
--- a/ftp/pftpd/Makefile
+++ b/ftp/pftpd/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= beech@FreeBSD.org
COMMENT= Multithreaded anonymous FTP daemon
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= pftpd.1 rpad.1
PLIST_FILES= sbin/pftpd
diff --git a/ftp/prozilla/Makefile b/ftp/prozilla/Makefile
index 0e8fd80206a3..21646c62350e 100644
--- a/ftp/prozilla/Makefile
+++ b/ftp/prozilla/Makefile
@@ -19,7 +19,6 @@ USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= ${CFLAGS} -I${LOCALBASE}/include
diff --git a/ftp/puf/Makefile b/ftp/puf/Makefile
index 928c02ed2846..34a8d7925301 100644
--- a/ftp/puf/Makefile
+++ b/ftp/puf/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= jharris@widomaker.com
COMMENT= A parallel HTTP downloader similar to wget
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= puf.1
PLIST_FILES= bin/puf
diff --git a/ftp/quftp/Makefile b/ftp/quftp/Makefile
index 72aa1ddc9147..a516385ab4e6 100644
--- a/ftp/quftp/Makefile
+++ b/ftp/quftp/Makefile
@@ -21,7 +21,6 @@ GNU_CONFIGURE= yes
CFLAGS+= ${PTHREAD_CFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= quftp.1
PLIST_FILES= bin/quftp
diff --git a/ftp/rexx-curl/Makefile b/ftp/rexx-curl/Makefile
index 6edfde882aa1..1271f6efadab 100644
--- a/ftp/rexx-curl/Makefile
+++ b/ftp/rexx-curl/Makefile
@@ -24,7 +24,6 @@ RUN_DEPENDS= rexx:${PORTSDIR}/lang/rexx-regina
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LDFLAGS="${PTHREAD_LIBS}"
CONFIGURE_ARGS= --with-rexx=regina
USE_LDCONFIG= yes
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index 369e23dfa258..07ca24970ea2 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -19,7 +19,6 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
diff --git a/ftp/wput/Makefile b/ftp/wput/Makefile
index 34d8d355b4b7..70be22166c28 100644
--- a/ftp/wput/Makefile
+++ b/ftp/wput/Makefile
@@ -24,7 +24,6 @@ PORTEXAMPLES= USAGE.examples USAGE.resumehandling USAGE.urlhandling \
USE_GETTEXT= yes
USE_AUTOTOOLS= autoconf:262
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LIBS="${LDFLAGS}"
OPTIONS= TLS "Enable TLS support" on \
diff --git a/ftp/wzdftpd/Makefile b/ftp/wzdftpd/Makefile
index bc8b9321639c..07bdbb92afca 100644
--- a/ftp/wzdftpd/Makefile
+++ b/ftp/wzdftpd/Makefile
@@ -24,7 +24,6 @@ USE_GNOME= pkgconfig ltverhack
CONFIGURE_ARGS+= --without-pam --disable-pgsql --disable-bonjour
CONFIGURE_ENV= CPPFLAGS="${CPPLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PKGMESSAGE= ${WRKDIR}/pkg-message
OPTIONS= UTF8 "Enable UTF8 support" off \
diff --git a/ftp/yafc/Makefile b/ftp/yafc/Makefile
index e58bb9ab35cb..98c7f58a72db 100644
--- a/ftp/yafc/Makefile
+++ b/ftp/yafc/Makefile
@@ -16,7 +16,6 @@ COMMENT= Yet another ftp client. Similar to ftp(1)
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-socks4=no --with-socks5=no --with-krb4=no \
--with-krb5=no --with-gssapi=no
diff --git a/games/8kingdoms/Makefile b/games/8kingdoms/Makefile
index e0649f34075d..b81d6777e4d1 100644
--- a/games/8kingdoms/Makefile
+++ b/games/8kingdoms/Makefile
@@ -27,7 +27,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ARGS+= --datadir=${DATADIR}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
PLIST= ${WRKDIR}/pkg-plist
diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile
index 437ecc3dd0d8..bc0f909c93dd 100644
--- a/games/abuse_sdl/Makefile
+++ b/games/abuse_sdl/Makefile
@@ -21,7 +21,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN6= abuse-sdl.6
diff --git a/games/adgali/Makefile b/games/adgali/Makefile
index 7831e21b6d5a..356887dd8bee 100644
--- a/games/adgali/Makefile
+++ b/games/adgali/Makefile
@@ -27,7 +27,6 @@ USE_SDL= sdl
USE_XORG= xpm
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
CONFIGURE_ARGS= --enable-compile-optim=no
diff --git a/games/adonthell/Makefile b/games/adonthell/Makefile
index fb51a96bfc54..6847078f2659 100644
--- a/games/adonthell/Makefile
+++ b/games/adonthell/Makefile
@@ -27,7 +27,6 @@ USE_GETTEXT= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --disable-py-debug
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib \
PYPACKAGE=${PYTHON_CMD}
diff --git a/games/afternoonstalker/Makefile b/games/afternoonstalker/Makefile
index 0bbc988d35cd..b7b19ab7b2d2 100644
--- a/games/afternoonstalker/Makefile
+++ b/games/afternoonstalker/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= gengameng.4:${PORTSDIR}/devel/gengameng \
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= afternoonstalker.6
diff --git a/games/allacrost/Makefile b/games/allacrost/Makefile
index c533eda21534..a98c55c01740 100644
--- a/games/allacrost/Makefile
+++ b/games/allacrost/Makefile
@@ -29,7 +29,6 @@ USE_SDL= sdl ttf net
USE_GL= yes
USE_GCC= 4.2+
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --datadir=${DATADIR}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -L${LUA_LIBDIR}" \
CPPFLAGS="-I${LOCALBASE}/include -I${LUA_INCDIR}"
diff --git a/games/amy/Makefile b/games/amy/Makefile
index c858c3c66477..4c0a1aea400a 100644
--- a/games/amy/Makefile
+++ b/games/amy/Makefile
@@ -22,7 +22,6 @@ NOT_FOR_ARCHS= sparc64 alpha
MAN6= Amy.6
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/games/apricots/Makefile b/games/apricots/Makefile
index 399f61c54f07..20e1b9457e49 100644
--- a/games/apricots/Makefile
+++ b/games/apricots/Makefile
@@ -19,7 +19,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include"
diff --git a/games/aqbubble/Makefile b/games/aqbubble/Makefile
index 42a782ba16c7..e315a3a32e7b 100644
--- a/games/aqbubble/Makefile
+++ b/games/aqbubble/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
AQBUBBLEDIRS= ima sonidos
diff --git a/games/armagetron/Makefile b/games/armagetron/Makefile
index ec8fc97876ff..0ee7fdb7aa85 100644
--- a/games/armagetron/Makefile
+++ b/games/armagetron/Makefile
@@ -21,7 +21,6 @@ USE_SDL= sdl image
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CXXFLAGS="${CFLAGS} -I${LOCALBASE}/include `${SDL_CONFIG} --cflags`"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-etc
BUILD_DEPENDS+= bash:${PORTSDIR}/shells/bash
diff --git a/games/atr3d/Makefile b/games/atr3d/Makefile
index dbbf65b42f40..f4da14418e87 100644
--- a/games/atr3d/Makefile
+++ b/games/atr3d/Makefile
@@ -27,7 +27,6 @@ USE_GL= glut glu
USE_XORG= xmu xi x11
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sound
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/biloba/Makefile b/games/biloba/Makefile
index 920db00ebe7b..e6596cd222cf 100644
--- a/games/biloba/Makefile
+++ b/games/biloba/Makefile
@@ -17,7 +17,6 @@ COMMENT= A strategy board game for 2 to 4 players
USE_SDL= image mixer sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \
diff --git a/games/blobby/Makefile b/games/blobby/Makefile
index 280ddb704ee5..ca8747e1f75f 100644
--- a/games/blobby/Makefile
+++ b/games/blobby/Makefile
@@ -21,7 +21,6 @@ USE_XORG= x11 xext xxf86vm xdamage xfixes xau xdmcp xrandr xrender
USE_SDL= sdl
USE_GL= glu
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
WRKSRC= ${WRKDIR}/blobby-alpha-6
diff --git a/games/bloodfrontier/Makefile b/games/bloodfrontier/Makefile
index d671f6a49d8d..54467a24c0ce 100644
--- a/games/bloodfrontier/Makefile
+++ b/games/bloodfrontier/Makefile
@@ -18,7 +18,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
CONFIGURE_ENV= ACLOCAL=true AUTOCONF=true AUTOMAKE=true
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_WRKSRC= ${WRKSRC}/src/enet
BUILD_WRKSRC= ${WRKSRC}/src
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/briquolo/Makefile b/games/briquolo/Makefile
index bfbd04945cb0..2697ac23ac7f 100644
--- a/games/briquolo/Makefile
+++ b/games/briquolo/Makefile
@@ -24,7 +24,6 @@ USE_GMAKE= yes
USE_GNOME= desktopfileutils
USE_XORG= x11
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION="${PORTVERSION}"
diff --git a/games/brutalchess/Makefile b/games/brutalchess/Makefile
index 633d97065a74..f48ab6f9cc5c 100644
--- a/games/brutalchess/Makefile
+++ b/games/brutalchess/Makefile
@@ -21,8 +21,6 @@ COMMENT= Nice looking OpenGL chess game
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_XORG= x11
-CONFIGURE_TARGET= --target=${ARCH}-portbld-freebsd${OSREL}
-
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
diff --git a/games/bumprace/Makefile b/games/bumprace/Makefile
index 2d0c40e79cb9..2e6fb58250fc 100644
--- a/games/bumprace/Makefile
+++ b/games/bumprace/Makefile
@@ -21,7 +21,6 @@ USE_SDL= sdl mixer image
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= FAQ README
diff --git a/games/ceferino/Makefile b/games/ceferino/Makefile
index 8d4b50a86e31..b655fd5bf0c2 100644
--- a/games/ceferino/Makefile
+++ b/games/ceferino/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CEFEDIRS= ima music levels sounds
diff --git a/games/chanta/Makefile b/games/chanta/Makefile
index a8103c1eec45..e0b3e39d59cb 100644
--- a/games/chanta/Makefile
+++ b/games/chanta/Makefile
@@ -19,7 +19,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CHANTADIRS= data ima
diff --git a/games/concentration/Makefile b/games/concentration/Makefile
index 6f1a5684a929..8cbea04fde3a 100644
--- a/games/concentration/Makefile
+++ b/games/concentration/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image ttf
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/construo/Makefile b/games/construo/Makefile
index 1683be3f8e70..02bb2fc4ac97 100644
--- a/games/construo/Makefile
+++ b/games/construo/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_XORG= sm ice x11 xext xxf86vm
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --bindir=${PREFIX}/bin --datadir=${DATADIR}
diff --git a/games/cosmosmash/Makefile b/games/cosmosmash/Makefile
index b065766ced5a..fd77bdf143ac 100644
--- a/games/cosmosmash/Makefile
+++ b/games/cosmosmash/Makefile
@@ -26,7 +26,6 @@ USE_GNOME= desktopfileutils
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags`" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS} `${SDL_CONFIG} --libs`"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN6= cosmosmash.6
diff --git a/games/criticalmass/Makefile b/games/criticalmass/Makefile
index 7ff651e01765..5a936f387a1f 100644
--- a/games/criticalmass/Makefile
+++ b/games/criticalmass/Makefile
@@ -23,7 +23,6 @@ USE_SDL= image mixer sdl
USE_GL= gl
USE_XORG= x11
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-optimize
MAN6= critter.6
diff --git a/games/d2x/Makefile b/games/d2x/Makefile
index df9f5aaa74d6..678054ab5d16 100644
--- a/games/d2x/Makefile
+++ b/games/d2x/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Unix port of Descent 2 Game
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_SDL= sdl image
USE_GMAKE= yes
diff --git a/games/deng/Makefile b/games/deng/Makefile
index b67004d5295e..18db53481a81 100644
--- a/games/deng/Makefile
+++ b/games/deng/Makefile
@@ -26,7 +26,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
`${SDL_CONFIG} --cflags`"
CONFIGURE_SCRIPT= ../configure
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_WRKSRC= ${BUILD_WRKSRC}
BUILD_WRKSRC= ${WRKDIR}/${DISTNAME}/Build
INSTALL_WRKSRC= ${BUILD_WRKSRC}
diff --git a/games/etracer/Makefile b/games/etracer/Makefile
index 8651d4cfcc05..d9e2fdbba2f4 100644
--- a/games/etracer/Makefile
+++ b/games/etracer/Makefile
@@ -22,7 +22,6 @@ USE_SDL= mixer sdl
USE_GL= gl glu glut
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.5 \
--with-tcl-inc=${PREFIX}/include/tcl8.5 \
--with-gl-libs="${LOCALBASE}/lib" \
diff --git a/games/exult/Makefile b/games/exult/Makefile
index 4f559b511a9d..5084d2f473e4 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
USE_SDL= sdl mixer
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/games/fillets-ng/Makefile b/games/fillets-ng/Makefile
index 0a54d650245a..f778d3bb2ae0 100644
--- a/games/fillets-ng/Makefile
+++ b/games/fillets-ng/Makefile
@@ -25,7 +25,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LUA_INCDIR}" LDFLAGS="-L${LUA_LIBDIR}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --datadir="${DATADIR}" --with-lua="${LOCALBASE}"
OPTIONS= FRIBIDI "Enable fribidi support" on
diff --git a/games/flightgear/Makefile b/games/flightgear/Makefile
index a02adbf30b2b..2b142a807f07 100644
--- a/games/flightgear/Makefile
+++ b/games/flightgear/Makefile
@@ -36,7 +36,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --datadir=${LOCALBASE}/share # location of fgfs-base
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= est-epsilon.1 js_demo.1 pstest.1 fgjs.1 gl-info.1 fgfs.1
diff --git a/games/flyhard/Makefile b/games/flyhard/Makefile
index 9da975cb1241..d56c71dd86cf 100644
--- a/games/flyhard/Makefile
+++ b/games/flyhard/Makefile
@@ -21,7 +21,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
diff --git a/games/freesci/Makefile b/games/freesci/Makefile
index 48e567fc6e88..1579e718e741 100644
--- a/games/freesci/Makefile
+++ b/games/freesci/Makefile
@@ -21,7 +21,6 @@ GNU_CONFIGURE= yes
WANT_SDL= yes
INSTALLS_ICONS= yes
-CONFIGURE_TARGET=
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
MAN6= freesci-tools.6 freesci.6
diff --git a/games/freesweep/Makefile b/games/freesweep/Makefile
index 00f73085472f..95900ce515ca 100644
--- a/games/freesweep/Makefile
+++ b/games/freesweep/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-prefsdir=${DATADIR} \
--with-scoresdir=${DATADIR}\
--disable-debug-log
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/games/gemrb/Makefile b/games/gemrb/Makefile
index 9c9deb486ede..10482b2b74e0 100644
--- a/games/gemrb/Makefile
+++ b/games/gemrb/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-openal \
--libdir=${LOCALBASE}/lib \
--includedir=${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GZIP= yes
USE_GMAKE= yes
diff --git a/games/glaxium/Makefile b/games/glaxium/Makefile
index 926bcc06ca6a..6f38e82e2732 100644
--- a/games/glaxium/Makefile
+++ b/games/glaxium/Makefile
@@ -21,7 +21,6 @@ USE_GNOME= gnometarget
USE_SDL= sdl mixer
USE_GL= glut
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
ALL_TARGET= ${PORTNAME}
diff --git a/games/glest/Makefile b/games/glest/Makefile
index 8d39f75ed9d3..739aa99d523e 100644
--- a/games/glest/Makefile
+++ b/games/glest/Makefile
@@ -29,7 +29,6 @@ USE_DOS2UNIX= yes
USE_SDL= yes
USE_GL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
SUB_FILES= glest-wrapper pkg-message
diff --git a/games/gltron/Makefile b/games/gltron/Makefile
index a7ba9397a336..07af1002bc64 100644
--- a/games/gltron/Makefile
+++ b/games/gltron/Makefile
@@ -21,7 +21,6 @@ USE_GL= gl
USE_SDL= sdl sound
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --disable-warn
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 59e8281483b1..4e96a77c624e 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -37,7 +37,6 @@ EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
post-patch:
diff --git a/games/gturing/Makefile b/games/gturing/Makefile
index 633fcb06853f..e8f9ccc4e233 100644
--- a/games/gturing/Makefile
+++ b/games/gturing/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
INSTALLS_OMF= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
DOCS= AUTHORS COPYING NEWS ChangeLog TODO README INSTALL
diff --git a/games/hangman/Makefile b/games/hangman/Makefile
index a71630fcf77d..ba99be657d5b 100644
--- a/games/hangman/Makefile
+++ b/games/hangman/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image ttf
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/heroes/Makefile b/games/heroes/Makefile
index 94e9174e3a37..6baf54fe03db 100644
--- a/games/heroes/Makefile
+++ b/games/heroes/Makefile
@@ -35,7 +35,6 @@ USE_GMAKE= yes
USE_ICONV= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS= --with-sdl_mixer=${LOCALBASE} --without-gii --without-ggi
diff --git a/games/ifm/Makefile b/games/ifm/Makefile
index d99a9ea8f0b1..a2b25d0ce5d6 100644
--- a/games/ifm/Makefile
+++ b/games/ifm/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= WISH=${LOCALBASE}/bin/wish8.4
post-patch:
diff --git a/games/ivan/Makefile b/games/ivan/Makefile
index 6fd9d20c3363..a0458e25e00e 100644
--- a/games/ivan/Makefile
+++ b/games/ivan/Makefile
@@ -18,7 +18,6 @@ USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/games
STATEDIR= /var/games/ivan
diff --git a/games/jfk/Makefile b/games/jfk/Makefile
index 301836a63887..69f9b3c6f58a 100644
--- a/games/jfk/Makefile
+++ b/games/jfk/Makefile
@@ -14,7 +14,6 @@ MASTER_SITES= http://relax.ath.cx/jfk/
MAINTAINER= ports@FreeBSD.org
COMMENT= A multiplayer 2D shoot'em up game
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_SDL= image sdl
diff --git a/games/kobodeluxe/Makefile b/games/kobodeluxe/Makefile
index a5722ec60f3e..2ed67d52bf62 100644
--- a/games/kobodeluxe/Makefile
+++ b/games/kobodeluxe/Makefile
@@ -19,7 +19,6 @@ COMMENT= An SDL port of the scrolling game XKobo
USE_BZIP2= yes
USE_SDL= image sdl
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sharedstatedir=${SCOREDIR} --enable-oss
MAN6= kobodl.6
diff --git a/games/kpicframer/Makefile b/games/kpicframer/Makefile
index 3d9eecf05c03..c4db95fbb046 100644
--- a/games/kpicframer/Makefile
+++ b/games/kpicframer/Makefile
@@ -20,8 +20,6 @@ USE_BZIP2= yes
USE_KDELIBS_VER= 3
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
pre-build:
${TOUCH} ${WRKSRC}/config.h.in
diff --git a/games/kpictorial/Makefile b/games/kpictorial/Makefile
index d7a353d60a43..15f6db283978 100644
--- a/games/kpictorial/Makefile
+++ b/games/kpictorial/Makefile
@@ -16,8 +16,6 @@ COMMENT= Little logical game for KDE
USE_KDELIBS_VER= 3
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
post-patch:
diff --git a/games/lbreakout2/Makefile b/games/lbreakout2/Makefile
index ee2b0b21071b..9b440ac697d7 100644
--- a/games/lbreakout2/Makefile
+++ b/games/lbreakout2/Makefile
@@ -24,7 +24,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-sdl-net \
--localstatedir=/var/games \
--disable-nls
-CONFIGURE_TARGET=
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index dc2e6b225f33..302ef777d220 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -26,7 +26,6 @@ USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/games/lincity/Makefile b/games/lincity/Makefile
index ca16027dbe03..bbd192b278aa 100644
--- a/games/lincity/Makefile
+++ b/games/lincity/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= png:${PORTSDIR}/graphics/png
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/games/lordsawar/Makefile b/games/lordsawar/Makefile
index 368b8df3d1d2..59bf4c6152ca 100644
--- a/games/lordsawar/Makefile
+++ b/games/lordsawar/Makefile
@@ -36,6 +36,5 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.post.mk>
diff --git a/games/ltris/Makefile b/games/ltris/Makefile
index 88db11d48901..d778bc4a1b99 100644
--- a/games/ltris/Makefile
+++ b/games/ltris/Makefile
@@ -18,7 +18,6 @@ COMMENT= An another tetris clone but a good one with bunch of cool features
USE_SDL= mixer sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/games/maelstrom/Makefile b/games/maelstrom/Makefile
index 43201cb6cb2c..549d3f3c48f4 100644
--- a/games/maelstrom/Makefile
+++ b/games/maelstrom/Makefile
@@ -18,7 +18,6 @@ COMMENT= Asteroids-style game for X Window System
USE_SDL= sdl net
USE_XORG= xpm
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install_gamedocs
diff --git a/games/nazghul/Makefile b/games/nazghul/Makefile
index 7b678bd13701..cdb2bdeb94b1 100644
--- a/games/nazghul/Makefile
+++ b/games/nazghul/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
USE_SDL= sdl image
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LDFLAGS+= -lpng
MAKE_ENV= LDFLAGS="${LDFLAGS}"
diff --git a/games/nimuh/Makefile b/games/nimuh/Makefile
index e87d50ec0825..0103d78453d7 100644
--- a/games/nimuh/Makefile
+++ b/games/nimuh/Makefile
@@ -21,7 +21,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer
USE_GL= gl
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/games/opencity/Makefile b/games/opencity/Makefile
index 03fef5f3146a..7f948e4b6ec5 100644
--- a/games/opencity/Makefile
+++ b/games/opencity/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image net
USE_GL= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-0.0.5stable
diff --git a/games/openmortal/Makefile b/games/openmortal/Makefile
index 67ec1fa075bb..74491f8c525b 100644
--- a/games/openmortal/Makefile
+++ b/games/openmortal/Makefile
@@ -21,7 +21,6 @@ USE_PERL5= yes
USE_SDL= mixer image sdl net
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/games/pinball/Makefile b/games/pinball/Makefile
index 327cb1384fad..1faef8d84977 100644
--- a/games/pinball/Makefile
+++ b/games/pinball/Makefile
@@ -28,7 +28,6 @@ USE_GL= gl
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --without-debug
.if defined(WITH_ALLEGRO)
CONFIGURE_ARGS+= --with-allegro
@@ -43,10 +42,6 @@ DOCS= README
.include <bsd.port.pre.mk>
post-install:
- @${MV} ${PREFIX}/bin/${MACHINE_ARCH}-unknown-freebsd${OSREL}-pinball \
- ${PREFIX}/bin/pinball
- @${MV} ${PREFIX}/bin/${MACHINE_ARCH}-unknown-freebsd${OSREL}-pinball-config \
- ${PREFIX}/bin/pinball-config
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${DOCS}
diff --git a/games/planeshift/Makefile b/games/planeshift/Makefile
index fdbdd2372677..f4da77b2f651 100644
--- a/games/planeshift/Makefile
+++ b/games/planeshift/Makefile
@@ -29,7 +29,6 @@ CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib
CRYSTAL= ${LOCALBASE}
CEL= ${LOCALBASE}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-cpu-specific-optimizations=no
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CRYSTAL="${CRYSTAL}" CEL="${CEL}"
SUB_FILES= pkg-message planeshift pssetup updater psserver
diff --git a/games/pongix/Makefile b/games/pongix/Makefile
index f10c53c8c753..af53cd53e872 100644
--- a/games/pongix/Makefile
+++ b/games/pongix/Makefile
@@ -19,7 +19,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
do-install:
diff --git a/games/powermanga/Makefile b/games/powermanga/Makefile
index f3dbf96a9d9c..004e0ab42b81 100644
--- a/games/powermanga/Makefile
+++ b/games/powermanga/Makefile
@@ -19,7 +19,6 @@ COMMENT= An arcade 2D shoot-em-up
USE_XORG= xext xxf86dga
USE_SDL= sdl mixer
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= AUTHORS CHANGES
diff --git a/games/ppracer/Makefile b/games/ppracer/Makefile
index 0f6a23e14a89..85c7fdfde0c5 100644
--- a/games/ppracer/Makefile
+++ b/games/ppracer/Makefile
@@ -23,7 +23,6 @@ USE_SDL= mixer sdl
USE_GL= gl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*\.(c|cpp|h)
diff --git a/games/primateplunge/Makefile b/games/primateplunge/Makefile
index 8b9da2998c02..cae0a0f62d5c 100644
--- a/games/primateplunge/Makefile
+++ b/games/primateplunge/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
GNU_CONFIGURE= yes
USE_SDL= sdl mixer
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PRIMATEDIR= sounds graphics
do-install:
diff --git a/games/q3base/Makefile b/games/q3base/Makefile
index 6975ac3ae44e..418c5a963541 100644
--- a/games/q3base/Makefile
+++ b/games/q3base/Makefile
@@ -21,7 +21,6 @@ USE_BZIP2= yes
USE_SDL= sdl net
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
OPTIONS= X11 "Build OpenGL client" on
diff --git a/games/qgo/Makefile b/games/qgo/Makefile
index eaf27b836e6d..0fadd552896b 100644
--- a/games/qgo/Makefile
+++ b/games/qgo/Makefile
@@ -22,7 +22,6 @@ USE_XORG= x11 ice xext
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e \
diff --git a/games/qonk/Makefile b/games/qonk/Makefile
index 4c3926941edb..e6af2d696764 100644
--- a/games/qonk/Makefile
+++ b/games/qonk/Makefile
@@ -18,7 +18,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl gfx ttf image
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile
index 009834b00212..cbc1f3036571 100644
--- a/games/quake2forge/Makefile
+++ b/games/quake2forge/Makefile
@@ -20,7 +20,6 @@ USE_BZIP2= yes
CONFIGURE_ARGS= --program-transform-name='s/^quake2$$/${PORTNAME}/' \
--disable-warn
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= AO "Build libao sound module" off \
CTF "Build the CTF (Capture The Flag) modification" off \
diff --git a/games/quakeforge/Makefile b/games/quakeforge/Makefile
index e53b89f4d3ae..1d9342b300c4 100644
--- a/games/quakeforge/Makefile
+++ b/games/quakeforge/Makefile
@@ -28,7 +28,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WANT_SDL= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--with-global-cfg=${PREFIX}/etc/quakeforge.conf \
--with-sharepath=${DATADIR} \
--disable-optimize
diff --git a/games/redeclipse/Makefile b/games/redeclipse/Makefile
index d671f6a49d8d..54467a24c0ce 100644
--- a/games/redeclipse/Makefile
+++ b/games/redeclipse/Makefile
@@ -18,7 +18,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
CONFIGURE_ENV= ACLOCAL=true AUTOCONF=true AUTOMAKE=true
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_WRKSRC= ${WRKSRC}/src/enet
BUILD_WRKSRC= ${WRKSRC}/src
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/sauerbraten/Makefile b/games/sauerbraten/Makefile
index d671f6a49d8d..54467a24c0ce 100644
--- a/games/sauerbraten/Makefile
+++ b/games/sauerbraten/Makefile
@@ -18,7 +18,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
CONFIGURE_ENV= ACLOCAL=true AUTOCONF=true AUTOMAKE=true
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_WRKSRC= ${WRKSRC}/src/enet
BUILD_WRKSRC= ${WRKSRC}/src
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/games/scourge/Makefile b/games/scourge/Makefile
index 94330c63fc66..dc88bddc1909 100644
--- a/games/scourge/Makefile
+++ b/games/scourge/Makefile
@@ -25,7 +25,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-data-dir=${DATADIR}
diff --git a/games/scramble/Makefile b/games/scramble/Makefile
index fa1dd5783788..fec3510bbd89 100644
--- a/games/scramble/Makefile
+++ b/games/scramble/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image ttf
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/secretmaryochronicles/Makefile b/games/secretmaryochronicles/Makefile
index 74cf6ab48506..74e1c510e9d2 100644
--- a/games/secretmaryochronicles/Makefile
+++ b/games/secretmaryochronicles/Makefile
@@ -25,7 +25,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer ttf
USE_GL= gl glu
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
diff --git a/games/supertux/Makefile b/games/supertux/Makefile
index 52b6fe79f04d..57fa748bc5dd 100644
--- a/games/supertux/Makefile
+++ b/games/supertux/Makefile
@@ -20,7 +20,6 @@ USE_SDL= image mixer
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-debug
post-patch:
diff --git a/games/tecnoballz/Makefile b/games/tecnoballz/Makefile
index f8cd3c6903e8..58bf9bde9592 100644
--- a/games/tecnoballz/Makefile
+++ b/games/tecnoballz/Makefile
@@ -25,7 +25,6 @@ USE_AUTOTOOLS= automake:19 aclocal:19
USE_SDL= sdl mixer image
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN6= tecnoballz.6
diff --git a/games/tmw/Makefile b/games/tmw/Makefile
index 9ac2440b5bc1..b7d09d2cbc85 100644
--- a/games/tmw/Makefile
+++ b/games/tmw/Makefile
@@ -27,7 +27,6 @@ USE_SDL= sdl image mixer net
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `${SDL_CONFIG} --cflags` ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN6= tmw.6
OPTIONS= MUSIC "Install additional music" On
diff --git a/games/tnl/Makefile b/games/tnl/Makefile
index d43c49efcb76..92bb1db761b7 100644
--- a/games/tnl/Makefile
+++ b/games/tnl/Makefile
@@ -33,7 +33,6 @@ USE_GMAKE= yes
USE_SDL= sdl
USE_GCC= 4.2+
USE_GL= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-io-cflags="-I${LOCALBASE}/include/io" \
--with-io-libs="-L${LOCALBASE}/lib -liovmall"
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index 236c261591ad..9952b6ef403f 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -27,7 +27,6 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
REINPLACE_ARGS= -i ""
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= default
INSTALL_TARGET= install datainstall
diff --git a/games/torrent/Makefile b/games/torrent/Makefile
index 26a8156db704..32d7569cae71 100644
--- a/games/torrent/Makefile
+++ b/games/torrent/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl mixer image ttf
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="`${SDL_CONFIG} --libs`" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
SDL_CONFIG="${SDL_CONFIG}"
diff --git a/games/trackballs/Makefile b/games/trackballs/Makefile
index 095a29226682..2509b298ce0f 100644
--- a/games/trackballs/Makefile
+++ b/games/trackballs/Makefile
@@ -24,7 +24,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= desktopfileutils
INSTALLS_ICONS= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS= mkinstalldirs="${MKDIR}"
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile
index 53c0109061c5..4e400493b3ac 100644
--- a/games/ufoai/Makefile
+++ b/games/ufoai/Makefile
@@ -33,7 +33,6 @@ CONFIGURE_ARGS+= --enable-release=yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DATADIR= share/${PORTNAME}
SUB_FILES= pkg-message
diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile
index e59af4591525..4992d79eb4fd 100644
--- a/games/vegastrike/Makefile
+++ b/games/vegastrike/Makefile
@@ -28,7 +28,6 @@ USE_PYTHON= yes
USE_SDL= sdl
USE_GL= gl glu glut
USE_GNOME= gtk20
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
CPPFLAGS="-I${LOCALBASE}/include"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/games/volleyball/Makefile b/games/volleyball/Makefile
index 79577632802e..a296422804ce 100644
--- a/games/volleyball/Makefile
+++ b/games/volleyball/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --mandir="${MANPREFIX}/man" --disable-nls # strangeness in nls support
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README
MAN6= volleyball.6
diff --git a/games/warmux/Makefile b/games/warmux/Makefile
index 9baecd6268ab..60abd04476ae 100644
--- a/games/warmux/Makefile
+++ b/games/warmux/Makefile
@@ -20,7 +20,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer ttf gfx net
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MANCOMPRESSED= no
MAN6= wormux.6
diff --git a/games/wmpuzzle/Makefile b/games/wmpuzzle/Makefile
index ff93d2361d14..f4dc600df6f7 100644
--- a/games/wmpuzzle/Makefile
+++ b/games/wmpuzzle/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_XORG= xpm
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN6= wmpuzzle.6
diff --git a/games/wormux-devel/Makefile b/games/wormux-devel/Makefile
index 9bd59ddbb255..5d5dfce999de 100644
--- a/games/wormux-devel/Makefile
+++ b/games/wormux-devel/Makefile
@@ -22,8 +22,6 @@ GNU_CONFIGURE= yes
USE_SDL= sdl image mixer ttf gfx net
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
WRKSRC= ${WRKDIR}/${PORTNAME}
MANCOMPRESSED= no
diff --git a/games/wormux/Makefile b/games/wormux/Makefile
index 9baecd6268ab..60abd04476ae 100644
--- a/games/wormux/Makefile
+++ b/games/wormux/Makefile
@@ -20,7 +20,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl image mixer ttf gfx net
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MANCOMPRESSED= no
MAN6= wormux.6
diff --git a/games/xlogical/Makefile b/games/xlogical/Makefile
index 15e84ff0b1df..c4f9cc4a1373 100644
--- a/games/xlogical/Makefile
+++ b/games/xlogical/Makefile
@@ -21,8 +21,6 @@ USE_GMAKE= yes
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
post-extract:
${CHMOD} 755 ${WRKSRC}/missing
diff --git a/games/xmahjongg/Makefile b/games/xmahjongg/Makefile
index 98f79e9b78a7..4e13eaaf79de 100644
--- a/games/xmahjongg/Makefile
+++ b/games/xmahjongg/Makefile
@@ -16,7 +16,6 @@ COMMENT= The Chinese game of Mahjongg for X11
USE_XORG= x11
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN6= xmahjongg.6
diff --git a/games/xmoto/Makefile b/games/xmoto/Makefile
index 11aafa12a8d2..05d143da21cc 100644
--- a/games/xmoto/Makefile
+++ b/games/xmoto/Makefile
@@ -29,7 +29,6 @@ USE_SQLITE= yes
USE_SDL= sdl mixer ttf
USE_DOS2UNIX= src/*.cpp src/*.h
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include -I${LUA_INCDIR}
LDFLAGS= -L${LOCALBASE}/lib -L${LUA_LIBDIR}
diff --git a/german/ksteak/Makefile b/german/ksteak/Makefile
index 2681597e5294..6e67f0a72b9b 100644
--- a/german/ksteak/Makefile
+++ b/german/ksteak/Makefile
@@ -22,8 +22,6 @@ USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
EXTRA_PATCHES= ${PORTSDIR}/x11/kde3/files/extrapatch-old_configure
diff --git a/graphics/Coin/Makefile b/graphics/Coin/Makefile
index 96c7626d42fa..8d9d0be7b5f3 100644
--- a/graphics/Coin/Makefile
+++ b/graphics/Coin/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
USE_GL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-pthread=yes --enable-threadsafe \
--enable-3ds-import --enable-sound \
--enable-javascript-api
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index 19520891e7df..a412936242e3 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -45,7 +45,6 @@ MAN5= quantize.5
WINDOWS_FONT_DIR=${LOCALBASE}/lib/X11/fonts/webfonts
.endif
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-perl --enable-shared --enable-static \
--without-threads
USE_LDCONFIG= yes
diff --git a/graphics/Hermes/Makefile b/graphics/Hermes/Makefile
index 1514ada1d6b7..6ad9cccc43e0 100644
--- a/graphics/Hermes/Makefile
+++ b/graphics/Hermes/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_LDCONFIG= yes
diff --git a/graphics/bugle/Makefile b/graphics/bugle/Makefile
index 03d1b9580141..10bfc0c97cdb 100644
--- a/graphics/bugle/Makefile
+++ b/graphics/bugle/Makefile
@@ -24,7 +24,6 @@ USE_PERL5= yes
USE_AUTOTOOLS= libltdl:15
USE_LDCONFIG= ${PREFIX}/lib ${PREFIX}/lib/${PORTNAME}
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=--enable-ltdl-install=no
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
diff --git a/graphics/cal3d-devel/Makefile b/graphics/cal3d-devel/Makefile
index b84ec301c9d5..c50a143284c9 100644
--- a/graphics/cal3d-devel/Makefile
+++ b/graphics/cal3d-devel/Makefile
@@ -24,7 +24,6 @@ USE_GNOME= pkgconfig
USE_LDCONFIG= yes
USE_AUTOTOOLS= automake:19 autoheader:262 libtool:15
AUTOMAKE_ARGS= --add-missing
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cal3d_converter.1
diff --git a/graphics/cal3d/Makefile b/graphics/cal3d/Makefile
index b5b293a7abc9..8aab087d4d02 100644
--- a/graphics/cal3d/Makefile
+++ b/graphics/cal3d/Makefile
@@ -21,7 +21,6 @@ USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:19 autoheader:262 libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cal3d_converter.1
diff --git a/graphics/crystalentitylayer-devel/Makefile b/graphics/crystalentitylayer-devel/Makefile
index d5f295cb6878..1824c9958e2f 100644
--- a/graphics/crystalentitylayer-devel/Makefile
+++ b/graphics/crystalentitylayer-devel/Makefile
@@ -26,7 +26,6 @@ GNU_CONFIGURE= yes
LDFLAGS= -L${LOCALBASE}/lib
CPPFLAGS= -I${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-cs-prefix=${LOCALBASE}
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
DOCSDIR= share/doc/cel-0.99
diff --git a/graphics/crystalentitylayer/Makefile b/graphics/crystalentitylayer/Makefile
index fff72934249b..0af6c20e4266 100644
--- a/graphics/crystalentitylayer/Makefile
+++ b/graphics/crystalentitylayer/Makefile
@@ -27,7 +27,6 @@ GNU_CONFIGURE= yes
LDFLAGS= -L${LOCALBASE}/lib
CPPFLAGS= -I${LOCALBASE}/include
CONFIGURE_ARGS+= --with-cs-prefix=${LOCALBASE}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
DOCSDIR= share/doc/cel-${PORTVERSION}
DATADIR= share/cel
diff --git a/graphics/crystalspace-devel/Makefile b/graphics/crystalspace-devel/Makefile
index 43d2fa3ebaee..184dc21a1350 100644
--- a/graphics/crystalspace-devel/Makefile
+++ b/graphics/crystalspace-devel/Makefile
@@ -36,7 +36,6 @@ USE_GL= yes
WANT_PERL= yes
LDFLAGS= -L${LOCALBASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CPPFLAGS= -I${LOCALBASE}/include -I${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV= CPPFLAGS="${CPPFLAGS} "LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+= --disable-cpu-specific-optimizations \
--disable-make-emulation \
diff --git a/graphics/crystalspace/Makefile b/graphics/crystalspace/Makefile
index 83289d904552..8066a550606f 100644
--- a/graphics/crystalspace/Makefile
+++ b/graphics/crystalspace/Makefile
@@ -35,8 +35,6 @@ USE_GL= yes
WANT_PERL= yes
LDFLAGS+= -L/usr/lib -lc
LIBS= -lc
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" LIBS="${LIBS}"
MAKE_ENV+= LDFLAGS="${LDFLAGS}" LIBS="${LIBS}"
CONFIGURE_ARGS+= --enable-cpu-specific-optimizations=no \
--disable-ptmalloc \
diff --git a/graphics/demeter/Makefile b/graphics/demeter/Makefile
index 7b683ec20403..19f8410d97b4 100644
--- a/graphics/demeter/Makefile
+++ b/graphics/demeter/Makefile
@@ -23,7 +23,6 @@ USE_GL= gl glu
WANT_GNOME= yes
WANT_SDL= yes
USE_AUTOTOOLS= automake:15 autoconf:262 libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS=" -L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/graphics/divxcalc/Makefile b/graphics/divxcalc/Makefile
index 73d654e7c0e0..77564382c69e 100644
--- a/graphics/divxcalc/Makefile
+++ b/graphics/divxcalc/Makefile
@@ -21,7 +21,6 @@ USE_QT_VER= 3
USE_GMAKE= yes
USE_AUTOTOOLS= automake:15:env autoconf:262:env
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/graphics/enblend/Makefile b/graphics/enblend/Makefile
index aceada71a906..295e4edfb7c1 100644
--- a/graphics/enblend/Makefile
+++ b/graphics/enblend/Makefile
@@ -34,7 +34,6 @@ USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= enblend.1 enfuse.1
PLIST_FILES= bin/enblend bin/enfuse
diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile
index 1acce4003ec8..bb23c6a2759d 100644
--- a/graphics/feh/Makefile
+++ b/graphics/feh/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= giblib.1:${PORTSDIR}/graphics/giblib
USE_XORG= x11 xt xinerama
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= feh.1
diff --git a/graphics/flphoto/Makefile b/graphics/flphoto/Makefile
index 8da2fc37539b..0d9a1dbdd29e 100644
--- a/graphics/flphoto/Makefile
+++ b/graphics/flphoto/Makefile
@@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= flphoto.1
MAN5= album.5
diff --git a/graphics/freeglut/Makefile b/graphics/freeglut/Makefile
index b8825a884780..0e2bf66d4e69 100644
--- a/graphics/freeglut/Makefile
+++ b/graphics/freeglut/Makefile
@@ -21,7 +21,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_XORG= ice
USE_GL= glu
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-warnings
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-lusbhid"
diff --git a/graphics/gdk-pixbuf/Makefile b/graphics/gdk-pixbuf/Makefile
index a88193cdf453..a394428423ae 100644
--- a/graphics/gdk-pixbuf/Makefile
+++ b/graphics/gdk-pixbuf/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
BUILD_CANVAS="${BUILD_CANVAS}"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
BUILD_CANVAS?= no
diff --git a/graphics/geos/Makefile b/graphics/geos/Makefile
index ed16fbb78b5f..550ea1eb842a 100644
--- a/graphics/geos/Makefile
+++ b/graphics/geos/Makefile
@@ -20,8 +20,6 @@ USE_BZIP2= YES
USE_LDCONFIG= YES
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} -e '/-release/d' ${WRKSRC}/source/Makefile.in
diff --git a/graphics/giflib/Makefile b/graphics/giflib/Makefile
index b01fc7fefcfc..4671cefd6ef8 100644
--- a/graphics/giflib/Makefile
+++ b/graphics/giflib/Makefile
@@ -19,7 +19,6 @@ COMMENT= Tools and library routines for working with GIF images
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.if defined(WITHOUT_X11)
diff --git a/graphics/gifsicle/Makefile b/graphics/gifsicle/Makefile
index 3ab86bc18ad8..6f51d553d2e2 100644
--- a/graphics/gifsicle/Makefile
+++ b/graphics/gifsicle/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= araujo@FreeBSD.org
COMMENT= Manipulates GIF images and animations
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gifdiff.1 gifsicle.1
diff --git a/graphics/gltt/Makefile b/graphics/gltt/Makefile
index 7bbd5619fcd9..5e4d2d8da76e 100644
--- a/graphics/gltt/Makefile
+++ b/graphics/gltt/Makefile
@@ -19,7 +19,6 @@ USE_GL= gl glut
USE_FREETYPE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-ttf-includes=${LOCALBASE}/include/freetype1 \
diff --git a/graphics/gnash-devel/Makefile b/graphics/gnash-devel/Makefile
index 380a3ba4757c..da4ba1bfe09d 100644
--- a/graphics/gnash-devel/Makefile
+++ b/graphics/gnash-devel/Makefile
@@ -34,7 +34,6 @@ USE_GNOME= pkgconfig libxml2
USE_XORG= x11 xau xdmcp xext xi xinerama ice sm
USE_AUTOTOOLS= libltdl:15 automake:19:env autoheader:262:env autoconf:262:env aclocal:19:env libtool:15:env
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
diff --git a/graphics/gnash/Makefile b/graphics/gnash/Makefile
index ed7bd620dfff..267e53b2c003 100644
--- a/graphics/gnash/Makefile
+++ b/graphics/gnash/Makefile
@@ -32,7 +32,6 @@ USE_GNOME= pkgconfig libxml2
USE_XORG= x11 xau xdmcp xext xi xinerama ice sm
USE_AUTOTOOLS= libltdl:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
diff --git a/graphics/gozer/Makefile b/graphics/gozer/Makefile
index 3038ead2bef4..f92092e1eb30 100644
--- a/graphics/gozer/Makefile
+++ b/graphics/gozer/Makefile
@@ -17,7 +17,6 @@ COMMENT= Commandline text rendering utility - creates images from text
LIB_DEPENDS= giblib.1:${PORTSDIR}/graphics/giblib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-porbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-giblib-prefix=${LOCALBASE}
MAN1= gozer.1
diff --git a/graphics/guilib/Makefile b/graphics/guilib/Makefile
index d6545a2d7fce..d9adf8ca1716 100644
--- a/graphics/guilib/Makefile
+++ b/graphics/guilib/Makefile
@@ -18,7 +18,6 @@ COMMENT= A very simple GUI framework for use with SDL
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_AUTOTOOLS= aclocal:19:env
diff --git a/graphics/jpegpixi/Makefile b/graphics/jpegpixi/Makefile
index 8e7fe9ec8baf..953063473322 100644
--- a/graphics/jpegpixi/Makefile
+++ b/graphics/jpegpixi/Makefile
@@ -17,7 +17,6 @@ COMMENT= Useful to correct images from digtal camera with CCD defects
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/graphics/kdc2tiff/Makefile b/graphics/kdc2tiff/Makefile
index 3ae4c998174d..9c9e15d7e08d 100644
--- a/graphics/kdc2tiff/Makefile
+++ b/graphics/kdc2tiff/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/graphics/libgltext/Makefile b/graphics/libgltext/Makefile
index a1dd3ad7c148..88cdee566950 100644
--- a/graphics/libgltext/Makefile
+++ b/graphics/libgltext/Makefile
@@ -23,7 +23,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}"
OPTIONS= EXAMPLES "Compile examples, need libglut" off
diff --git a/graphics/libpano12/Makefile b/graphics/libpano12/Makefile
index 4add8508a256..60132553738a 100644
--- a/graphics/libpano12/Makefile
+++ b/graphics/libpano12/Makefile
@@ -27,7 +27,6 @@ USE_GNOME= gtk20 glib20 pango atk
USE_AUTOTOOLS= autoconf:262:env autoheader:262:env aclocal:19:env \
automake:19:env libtool:15:env
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/gtk-2.0 \
-I${LOCALBASE}/include/glib-2.0 \
-I${LOCALBASE}/include/pango-1.0 \
diff --git a/graphics/libpano13/Makefile b/graphics/libpano13/Makefile
index 3481be8dd696..5405ed2190cf 100644
--- a/graphics/libpano13/Makefile
+++ b/graphics/libpano13/Makefile
@@ -24,7 +24,6 @@ USE_GNOME= gtk20 glib20 pango atk
USE_AUTOTOOLS= autoconf:262:env autoheader:262:env aclocal:110:env \
automake:110:env libtool:15:env
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/gtk-2.0 \
-I${LOCALBASE}/include/glib-2.0 \
-I${LOCALBASE}/include/pango-1.0 \
diff --git a/graphics/libungif/Makefile b/graphics/libungif/Makefile
index b01fc7fefcfc..4671cefd6ef8 100644
--- a/graphics/libungif/Makefile
+++ b/graphics/libungif/Makefile
@@ -19,7 +19,6 @@ COMMENT= Tools and library routines for working with GIF images
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.if defined(WITHOUT_X11)
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
index 4fa26e73b37e..86831cb426cf 100644
--- a/graphics/libvisual/Makefile
+++ b/graphics/libvisual/Makefile
@@ -22,7 +22,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/graphics/libwpcg/Makefile b/graphics/libwpcg/Makefile
index 409dfdeb968b..41d3aa0ef42e 100644
--- a/graphics/libwpcg/Makefile
+++ b/graphics/libwpcg/Makefile
@@ -19,7 +19,6 @@ COMMENT= A basic 2D/3D computer graphics library which uses OpenGL
USE_GCC= 3.4
USE_GL= glut
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lGL -lGLU -lglut"
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index e4c0e94041a0..b0d353c00349 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -28,7 +28,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-v4l --without-quicktime --without-carbon \
--without-1394libs \
--without-swig # I don't know anything about swig ...
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
png:${PORTSDIR}/graphics/png \
tiff:${PORTSDIR}/graphics/tiff \
diff --git a/graphics/opendx/Makefile b/graphics/opendx/Makefile
index d9cc9ed96fd0..baf53efd4af5 100644
--- a/graphics/opendx/Makefile
+++ b/graphics/opendx/Makefile
@@ -25,7 +25,6 @@ USE_BISON= build
USE_GL= yes
USE_MOTIF= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= ${PTHREAD_CFLAGS}
CONFIGURE_ENV= ARCH="${OPSYS:L}" \
CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
diff --git a/graphics/panoglview/Makefile b/graphics/panoglview/Makefile
index d443abe462f4..419a940b7b34 100644
--- a/graphics/panoglview/Makefile
+++ b/graphics/panoglview/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ii@any.com.ru
COMMENT= Panorama viewer using OpenGL
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="${PTHREAD_CFLAGS} -I${LOCALBASE}/include -ftemplate-depth-64" \
LDFLAGS="${PTHREAD_LIBS} -L${LOCALBASE}/lib -lwx_gtk2_gl-${WX_VERSION}" \
diff --git a/graphics/panomatic/Makefile b/graphics/panomatic/Makefile
index 5f479d09ca1a..7853bbdc4118 100644
--- a/graphics/panomatic/Makefile
+++ b/graphics/panomatic/Makefile
@@ -16,7 +16,6 @@ COMMENT= A tool that automates the creation of control points
BUILD_DEPENDS= bjam:${PORTSDIR}/devel/boost
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
USE_GMAKE= yes
diff --git a/graphics/pfscalibration/Makefile b/graphics/pfscalibration/Makefile
index 0070f29865d9..6e370fc179a8 100644
--- a/graphics/pfscalibration/Makefile
+++ b/graphics/pfscalibration/Makefile
@@ -18,7 +18,6 @@ PFS_CPPFLAGS= -I${LOCALBASE}/include
PFS_LDFLAGS= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PFS_CPPFLAGS}" \
LDFLAGS="${PFS_LDFLAGS}"
USE_GMAKE= yes
diff --git a/graphics/pfstmo/Makefile b/graphics/pfstmo/Makefile
index 251a2be1c652..670668401d76 100644
--- a/graphics/pfstmo/Makefile
+++ b/graphics/pfstmo/Makefile
@@ -20,7 +20,6 @@ PFS_CPPFLAGS= -I${LOCALBASE}/include
PFS_LDFLAGS= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${PFS_CPPFLAGS}" \
LDFLAGS="${PFS_LDFLAGS}"
USE_GMAKE= yes
diff --git a/graphics/pfstools/Makefile b/graphics/pfstools/Makefile
index f6aa74004419..df615b3dd7ab 100644
--- a/graphics/pfstools/Makefile
+++ b/graphics/pfstools/Makefile
@@ -22,7 +22,7 @@ PFS_BUILD= ${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB+= PFS_BASE=${PREFIX}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${PFS_BUILD}
+CONFIGURE_TARGET= ${PFS_BUILD}
CONFIGURE_ARGS= --disable-jpeghdr --disable-matlab \
--with-bash=${LOCALBASE}/bin/bash
CONFIGURE_ENV= CPPFLAGS="${PFS_CPPFLAGS}" \
diff --git a/graphics/pixie/Makefile b/graphics/pixie/Makefile
index 7fa75c67fbe0..9c9b52958758 100644
--- a/graphics/pixie/Makefile
+++ b/graphics/pixie/Makefile
@@ -27,7 +27,6 @@ PORTDOCS=*
USE_GL= yes
ACLOCAL_ARGS= --acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
USE_AUTOTOOLS= autoconf:262 aclocal:19 automake:19 libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="-O0 -fPIC -pipe -I${LOCALBASE}/include" \
CXXFLAGS="-O0 -pipe -fPIC -I${LOCALBASE}/include \
-I${LOCALBASE}/include/OpenEXR" \
diff --git a/graphics/potrace/Makefile b/graphics/potrace/Makefile
index d6a7e4955cc2..abda905605d8 100644
--- a/graphics/potrace/Makefile
+++ b/graphics/potrace/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= smyru@heron.pl
COMMENT= Transforms bitmaps into vector graphics
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(NO_INSTALL_MANPAGES)
MAN1= potrace.1 mkbitmap.1
diff --git a/graphics/povray/Makefile b/graphics/povray/Makefile
index 433d30b7af08..cab67e085c44 100644
--- a/graphics/povray/Makefile
+++ b/graphics/povray/Makefile
@@ -54,7 +54,6 @@ CFLAGS= -O3 -tpp7 -axN -Vaxlib
CXXFLAGS= -O3 -tpp7 -axN -Vaxlib
.endif
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes="${LOCALBASE}/include" --includedir=${LOCALBASE} \
CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib" \
diff --git a/graphics/povray36/Makefile b/graphics/povray36/Makefile
index 433d30b7af08..cab67e085c44 100644
--- a/graphics/povray36/Makefile
+++ b/graphics/povray36/Makefile
@@ -54,7 +54,6 @@ CFLAGS= -O3 -tpp7 -axN -Vaxlib
CXXFLAGS= -O3 -tpp7 -axN -Vaxlib
.endif
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes="${LOCALBASE}/include" --includedir=${LOCALBASE} \
CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib" \
diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile
index 433d30b7af08..cab67e085c44 100644
--- a/graphics/povray37/Makefile
+++ b/graphics/povray37/Makefile
@@ -54,7 +54,6 @@ CFLAGS= -O3 -tpp7 -axN -Vaxlib
CXXFLAGS= -O3 -tpp7 -axN -Vaxlib
.endif
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --x-includes="${LOCALBASE}/include" --includedir=${LOCALBASE} \
CXXFLAGS="${CXXFLAGS} -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -L${LOCALBASE}/lib" \
diff --git a/graphics/qglviewer/Makefile b/graphics/qglviewer/Makefile
index ba3f55ae09df..ff3f17eb8318 100644
--- a/graphics/qglviewer/Makefile
+++ b/graphics/qglviewer/Makefile
@@ -19,7 +19,6 @@ USE_AUTOTOOLS= libtool:15
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
diff --git a/graphics/quesa/Makefile b/graphics/quesa/Makefile
index e168751270af..1d5a41583bac 100644
--- a/graphics/quesa/Makefile
+++ b/graphics/quesa/Makefile
@@ -19,7 +19,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= High level 3D graphics library compatible with Apple's QuickDraw(TM)
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GL= glu
USE_XORG= x11 ice
.ifdef (WITH_EXAMPLES)
diff --git a/graphics/recoverjpeg/Makefile b/graphics/recoverjpeg/Makefile
index 52a4511d999e..b39e1224baf9 100644
--- a/graphics/recoverjpeg/Makefile
+++ b/graphics/recoverjpeg/Makefile
@@ -20,8 +20,6 @@ MANCOMPRESSED= no
# recoverjpeg scripts require many dependencies
OPTIONS= SCRIPTS "Install sort-pictures script" off
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
PLIST_FILES= bin/recoverjpeg
MAN1= recoverjpeg.1
diff --git a/graphics/sam2p/Makefile b/graphics/sam2p/Makefile
index b2e6b9119c60..06599a7a21fd 100644
--- a/graphics/sam2p/Makefile
+++ b/graphics/sam2p/Makefile
@@ -29,7 +29,6 @@ PLIST_FILES= bin/sam2p
USE_PERL5_BUILD= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= ${PORTNAME}
do-install:
diff --git a/graphics/scrot/Makefile b/graphics/scrot/Makefile
index 5de8df6dc472..92c3d78a4e4a 100644
--- a/graphics/scrot/Makefile
+++ b/graphics/scrot/Makefile
@@ -18,7 +18,6 @@ COMMENT= A screen capture utility that utilizes Imlib2
LIB_DEPENDS= giblib.1:${PORTSDIR}/graphics/giblib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(NOPORTDOCS)
MAKE_ENV= NO_DOC=yes
diff --git a/graphics/sdl_gfx/Makefile b/graphics/sdl_gfx/Makefile
index a7e8d5dd7ce6..6ca2027bf4c3 100644
--- a/graphics/sdl_gfx/Makefile
+++ b/graphics/sdl_gfx/Makefile
@@ -21,7 +21,6 @@ USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --includedir=${PREFIX}/include
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/graphics/sdl_image/Makefile b/graphics/sdl_image/Makefile
index 1642c4435808..0613121c3118 100644
--- a/graphics/sdl_image/Makefile
+++ b/graphics/sdl_image/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm"
CONFIGURE_ARGS= --enable-tif --enable-xcf
diff --git a/graphics/sdl_ttf/Makefile b/graphics/sdl_ttf/Makefile
index c167ef48bdae..2f2e4b3411af 100644
--- a/graphics/sdl_ttf/Makefile
+++ b/graphics/sdl_ttf/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
USE_SDL= sdl
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/graphics/simage/Makefile b/graphics/simage/Makefile
index 09852141c813..3ac1b500c0f3 100644
--- a/graphics/simage/Makefile
+++ b/graphics/simage/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
png.5:${PORTSDIR}/graphics/png
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-mpeg2enc
diff --git a/graphics/tif22pnm/Makefile b/graphics/tif22pnm/Makefile
index 0011dfe37f1c..cbe01fd95fdf 100644
--- a/graphics/tif22pnm/Makefile
+++ b/graphics/tif22pnm/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libtiff-ldir=${LOCALBASE}/lib \
--with-libtiff-idir=${LOCALBASE}/include
diff --git a/graphics/tiff/Makefile b/graphics/tiff/Makefile
index 92b85559ad6a..8a009ee25875 100644
--- a/graphics/tiff/Makefile
+++ b/graphics/tiff/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-jpeg-include-dir=${LOCALBASE}/include \
--with-jpeg-lib-dir=${LOCALBASE}/lib
diff --git a/graphics/tulip/Makefile b/graphics/tulip/Makefile
index 73ea89f0a845..1803d8580086 100644
--- a/graphics/tulip/Makefile
+++ b/graphics/tulip/Makefile
@@ -32,8 +32,6 @@ USE_GNOME= libxml2
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile
index 49ee87f17f0b..4a57ec623c79 100644
--- a/graphics/vigra/Makefile
+++ b/graphics/vigra/Makefile
@@ -20,7 +20,6 @@ COMMENT= VIGRA stands for "Vision with Generic Algorithms"
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --docdir=${DOCSDIR}
USE_GMAKE= yes
diff --git a/graphics/vp/Makefile b/graphics/vp/Makefile
index b3a65307cd91..5a0eae56fe09 100644
--- a/graphics/vp/Makefile
+++ b/graphics/vp/Makefile
@@ -16,7 +16,6 @@ COMMENT= An image viewer for X
USE_SDL= image
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= vp.1
diff --git a/graphics/xaralx/Makefile b/graphics/xaralx/Makefile
index dd143d80235e..066f289a9a5d 100644
--- a/graphics/xaralx/Makefile
+++ b/graphics/xaralx/Makefile
@@ -27,7 +27,6 @@ LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
USE_AUTOTOOLS= autoconf:262:env aclocal:19:env automake:19:env libtool:15:env
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --program-suffix=${PKGNAMESUFFIX}
USE_GMAKE= yes
diff --git a/graphics/xmms-iris/Makefile b/graphics/xmms-iris/Makefile
index 1015a46f5ccc..5da477907e65 100644
--- a/graphics/xmms-iris/Makefile
+++ b/graphics/xmms-iris/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS= xmms-config:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= lib/xmms/Visualization/libiris.so
USE_GNOME= gtk12
USE_GMAKE= yes
diff --git a/graphics/xpdf/Makefile b/graphics/xpdf/Makefile
index b11d62203f4b..5577512c8ae1 100644
--- a/graphics/xpdf/Makefile
+++ b/graphics/xpdf/Makefile
@@ -27,7 +27,6 @@ RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n021003l.pfb:${PORTSDIR}/print
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-opi \
diff --git a/graphics/zimg/Makefile b/graphics/zimg/Makefile
index 4e3866b644e2..9111aac0561a 100644
--- a/graphics/zimg/Makefile
+++ b/graphics/zimg/Makefile
@@ -18,7 +18,6 @@ COMMENT= Image-generator that uses ASCII input files to create PNGs/EDFs
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-dynaload-cc="${CC}" \
--with-dynaload-cflags="${CFLAGS} -shared" \
--with-gd-includes="${LOCALBASE}/include" \
diff --git a/hebrew/hspell/Makefile b/hebrew/hspell/Makefile
index eccfdf0b8c05..6224d7b19870 100644
--- a/hebrew/hspell/Makefile
+++ b/hebrew/hspell/Makefile
@@ -16,7 +16,6 @@ COMMENT= Hebrew spellchecker and morphology engine
USE_PERL5_BUILD= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
MAN1= hspell.1
MAN3= hspell.3
diff --git a/irc/bitchx/Makefile b/irc/bitchx/Makefile
index 15020f1584d4..3b762a38b65f 100644
--- a/irc/bitchx/Makefile
+++ b/irc/bitchx/Makefile
@@ -20,12 +20,10 @@ USE_PERL5= yes
GNU_CONFIGURE= yes
WANT_GNOME= yes
USE_GMAKE= yes
-CONFIGURE_TARGET=
CONFIGURE_ARGS+=--exec-prefix="${PREFIX}/share" \
--bindir="${PREFIX}/bin" \
--datadir="${PREFIX}/share" \
- --libdir="${PREFIX}/share" \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+ --libdir="${PREFIX}/share"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS}"
diff --git a/irc/bopm/Makefile b/irc/bopm/Makefile
index f171320bff54..3e03e426006e 100644
--- a/irc/bopm/Makefile
+++ b/irc/bopm/Makefile
@@ -18,7 +18,6 @@ LOGDIR= /var/log/${PORTNAME}
USE_AUTOTOOLS= libtool:15
LIBTOOLFILES= configure src/libopm/configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc --localstatedir=${LOGDIR}
USE_LDCONFIG= yes
diff --git a/irc/hybserv/Makefile b/irc/hybserv/Makefile
index e5b462a8f8e7..c2da60312b81 100644
--- a/irc/hybserv/Makefile
+++ b/irc/hybserv/Makefile
@@ -19,8 +19,6 @@ GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/hybserv
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.if defined(WITH_DAEMONTOOLS)
CONFIGURE_ARGS+= --with-daemontools
RUN_DEPENDS+= supervise:${PORTSDIR}/sysutils/daemontools
diff --git a/irc/kvirc-devel/Makefile b/irc/kvirc-devel/Makefile
index 4fbaf9ead404..98940c4b6ff6 100644
--- a/irc/kvirc-devel/Makefile
+++ b/irc/kvirc-devel/Makefile
@@ -22,7 +22,6 @@ INSTALLS_ICONS= yes
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_GMAKE= yes
-CONFIGURE_TARGET=
CONFIGURE_ENV= QTDIR="${LOCALBASE}"
PLIST_SUB= VER=${PORTVERSION}
CONFLICTS= kvirc-3.2.0*
diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile
index 56ecd6dc5021..a0725e058fcd 100644
--- a/irc/kvirc/Makefile
+++ b/irc/kvirc/Makefile
@@ -24,7 +24,6 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
USE_GETTEXT= yes
INSTALLS_ICONS= yes
-CONFIGURE_TARGET=
PLIST_SUB= VER=${PORTVERSION}
MAN1= kvirc.1
diff --git a/irc/miau/Makefile b/irc/miau/Makefile
index 7c18adbdbd19..de0a6cb90f37 100644
--- a/irc/miau/Makefile
+++ b/irc/miau/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS= --enable-dccbounce \
--enable-empty-awaymsg \
--enable-dumpstatus \
--disable-dependency-tracking
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS}" \
LIBS="${LIBS}"
diff --git a/irc/nefarious/Makefile b/irc/nefarious/Makefile
index e4927db55bd9..4ac7bf3d20c6 100644
--- a/irc/nefarious/Makefile
+++ b/irc/nefarious/Makefile
@@ -16,7 +16,6 @@ COMMENT= IRC server used by evilnet based off of Undernet\'s ircu
USE_BZIP2= yes
HAS_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB+= INSTALL_PREFIX=${INSTALL_PREFIX:S/${PREFIX}\///}
MAN8= ircd.8
diff --git a/irc/ngircd/Makefile b/irc/ngircd/Makefile
index cde1f7e1bbba..a064576dda08 100644
--- a/irc/ngircd/Makefile
+++ b/irc/ngircd/Makefile
@@ -16,7 +16,6 @@ COMMENT= Free open source daemon for Internet Relay Chat (IRC)
USE_RC_SUBR= ngircd
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/irc/quirc/Makefile b/irc/quirc/Makefile
index 17b7e009bf4f..1d6589733d8c 100644
--- a/irc/quirc/Makefile
+++ b/irc/quirc/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
USE_XORG= xt
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-wish=${LOCALBASE}/bin/wish8.4 \
--with-tcl-include-dir=${LOCALBASE}/include/tcl8.4 \
--with-tk-include-dir=${LOCALBASE}/include/tk8.4 \
diff --git a/irc/undernet-ircu/Makefile b/irc/undernet-ircu/Makefile
index d1f769ea15d9..1e3072a86c7f 100644
--- a/irc/undernet-ircu/Makefile
+++ b/irc/undernet-ircu/Makefile
@@ -18,7 +18,6 @@ CONFLICTS= ircd-hybrid-7.[0-9]*
GNU_CONFIGURE= yes
USE_RC_SUBR= undernet.sh
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-dpath=${PREFIX}/etc/ --with-symlink=no
PLIST_FILES= bin/ircd bin/umkpasswd bin/convert-conf etc/ircd.conf.example
diff --git a/irc/weechat-devel/Makefile b/irc/weechat-devel/Makefile
index b81c2f29ef30..95d1770176c3 100644
--- a/irc/weechat-devel/Makefile
+++ b/irc/weechat-devel/Makefile
@@ -20,7 +20,6 @@ USE_ICONV= yes
USE_AUTOTOOLS= autoconf:262
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-lua
MAN1= weechat-curses.1
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile
index b81c2f29ef30..95d1770176c3 100644
--- a/irc/weechat/Makefile
+++ b/irc/weechat/Makefile
@@ -20,7 +20,6 @@ USE_ICONV= yes
USE_AUTOTOOLS= autoconf:262
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-lua
MAN1= weechat-curses.1
diff --git a/irc/xaric/Makefile b/irc/xaric/Makefile
index 911fb23c2598..a970ada72e10 100644
--- a/irc/xaric/Makefile
+++ b/irc/xaric/Makefile
@@ -15,7 +15,6 @@ COMMENT= IRC Client similer to BitchX or ircII
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= xaric.1
diff --git a/japanese/eb/Makefile b/japanese/eb/Makefile
index 2c26cd07c71b..3f0a4b0c9495 100644
--- a/japanese/eb/Makefile
+++ b/japanese/eb/Makefile
@@ -59,7 +59,6 @@ USE_GETTEXT= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-nls \
--with-gettext-includes=${LOCALBASE}/include \
--with-gettext-libraries=${LOCALBASE}/lib \
diff --git a/japanese/eblook/Makefile b/japanese/eblook/Makefile
index f7a9f44d24f0..668d36a5c676 100644
--- a/japanese/eblook/Makefile
+++ b/japanese/eblook/Makefile
@@ -18,7 +18,6 @@ COMMENT= Interactive EB interface command for seraching words in electoric dicti
LIB_DEPENDS= eb.12:${PORTSDIR}/japanese/eb
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-eb-includes=${PREFIX}/include \
--with-eb-libraries=${PREFIX}/lib
diff --git a/japanese/ebnetd/Makefile b/japanese/ebnetd/Makefile
index c0b8846ff585..b3f8daa6117a 100644
--- a/japanese/ebnetd/Makefile
+++ b/japanese/ebnetd/Makefile
@@ -17,7 +17,6 @@ COMMENT= Servers for accessing CD-ROM books via TCP/IP
LIB_DEPENDS= eb.12:${PORTSDIR}/japanese/eb
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${RUNDIR} --with-logdir=${LOGDIR}
# Local variables
diff --git a/japanese/ebview/Makefile b/japanese/ebview/Makefile
index a78439f30a13..171ef714dd9f 100644
--- a/japanese/ebview/Makefile
+++ b/japanese/ebview/Makefile
@@ -22,7 +22,6 @@ CONFLICTS= ja-ebview-gtk2-*
USE_GNOME= imlib
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/japanese/freepwing/Makefile b/japanese/freepwing/Makefile
index cfc8790fc20a..45b9e59c0e50 100644
--- a/japanese/freepwing/Makefile
+++ b/japanese/freepwing/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-pkgdocdir=${DOCSDIR}
.include <bsd.port.mk>
diff --git a/lang/asn1c/Makefile b/lang/asn1c/Makefile
index 7fa41d0369a5..b36b88b51cc6 100644
--- a/lang/asn1c/Makefile
+++ b/lang/asn1c/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= vlm@lionet.info
COMMENT= Modern ASN.1 to C compiler
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5= yes
SUB_FILES= pkg-message
diff --git a/lang/cim/Makefile b/lang/cim/Makefile
index d579e0088b8c..0fe61948449b 100644
--- a/lang/cim/Makefile
+++ b/lang/cim/Makefile
@@ -17,7 +17,6 @@ COMMENT= Compiler for the SIMULA programming language
USE_AUTOTOOLS= libtool:15
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= cim.1
diff --git a/lang/elk/Makefile b/lang/elk/Makefile
index a9bd3519fbdb..adf738407aac 100644
--- a/lang/elk/Makefile
+++ b/lang/elk/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
USE_BZIP2= yes
USE_MOTIF= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index 8df3c28ea4c3..e714f5295322 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -82,7 +82,6 @@ ERLANG_DOCS= otp_doc_html_R12B-3.tar.gz
.endif
ERLANG_PLIST= ${WRKDIR}/pkg-plist
-CONFIGURE_TARGET= # Empty
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index 8df3c28ea4c3..e714f5295322 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -82,7 +82,6 @@ ERLANG_DOCS= otp_doc_html_R12B-3.tar.gz
.endif
ERLANG_PLIST= ${WRKDIR}/pkg-plist
-CONFIGURE_TARGET= # Empty
CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib
NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
diff --git a/lang/ferite/Makefile b/lang/ferite/Makefile
index b056dc6fb4a7..5570d9b1798c 100644
--- a/lang/ferite/Makefile
+++ b/lang/ferite/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/lang/g95/Makefile b/lang/g95/Makefile
index a895d706b5a9..713f8c7bc774 100644
--- a/lang/g95/Makefile
+++ b/lang/g95/Makefile
@@ -55,7 +55,7 @@ pre-configure:
post-build:
cd ${WRKSRC}/libf95.a-${G95VERSION} && \
- ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} &&\
+ ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_TARGET} &&\
${MAKE_ENV} ${GMAKE}
post-install:
diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile
index 525f1cb2c327..73cb6a3e79b2 100644
--- a/lang/gambas/Makefile
+++ b/lang/gambas/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS= --with-conv-includes=${LOCALBASE}/include \
--with-moc=${LOCALBASE}/bin
CONFIGURE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LIBS2FIX= libqt-mt libkdecore libkdeui libDCOP libkio
SRC2FIX1= configure src/comp/gbi.c src/exec/gbx_library.c
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index e7086a087d3c..920c9d4981cb 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -23,7 +23,6 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nowchar
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index 57f63c5f9c97..7d6fc3a1e22d 100644
--- a/lang/gcc28/Makefile
+++ b/lang/gcc28/Makefile
@@ -29,7 +29,6 @@ DEPRECATED= This port is no longer in use by anything in the ports collection.
BROKEN= Does not compile on alpha
.endif
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= OSVERSION=${OSVERSION}
PLIST_SUB= GNUHOST=${CONFIGURE_TARGET}
.if ${OSVERSION} < 600011
diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile
index 24f0a0bc5f4d..0503f0afbd24 100644
--- a/lang/gcc295/Makefile
+++ b/lang/gcc295/Makefile
@@ -46,7 +46,6 @@ LIBSTDCPP_REV= 2100
PLIST_SUB+= EGCS_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld \
--with-gxx-include-dir=${TARGLIB}/include/g++
#CONFIGURE_ARGS+= --program-suffix=-295
diff --git a/lang/gnustep-base/Makefile b/lang/gnustep-base/Makefile
index b992f1edac8f..0bedb15e8249 100644
--- a/lang/gnustep-base/Makefile
+++ b/lang/gnustep-base/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
USE_AUTOTOOLS= autoconf:262
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-procfs
-CONFIGURE_TARGET=
USE_GNUSTEP= yes
USE_GNUSTEP_PREFIX= yes
USE_GNUSTEP_CONFIGURE= yes
diff --git a/lang/gnustep-guile/Makefile b/lang/gnustep-guile/Makefile
index e713c1200a3f..55a2f4c0f6ad 100644
--- a/lang/gnustep-guile/Makefile
+++ b/lang/gnustep-guile/Makefile
@@ -28,7 +28,6 @@ USE_GNUSTEP_INSTALL= yes
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
PLIST_SUB+= GUILE_VER="${GUILE_VER}"
diff --git a/lang/gprolog/Makefile b/lang/gprolog/Makefile
index 1713ca742bae..8552105dcea7 100644
--- a/lang/gprolog/Makefile
+++ b/lang/gprolog/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-c-flags="${CFLAGS}" \
--with-doc-dir="${DOCSDIR}" \
--with-examples-dir="${EXAMPLESDIR}"
diff --git a/lang/libutils/Makefile b/lang/libutils/Makefile
index 10d20f6fe33d..4be689915e11 100644
--- a/lang/libutils/Makefile
+++ b/lang/libutils/Makefile
@@ -18,7 +18,6 @@ COMMENT= Support lib for Tensile/NSL
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS= CFLAGS="${CFLAGS}"
USE_LDCONFIG= yes
diff --git a/lang/onyx/Makefile b/lang/onyx/Makefile
index d4c877458834..0e3058c0d393 100644
--- a/lang/onyx/Makefile
+++ b/lang/onyx/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= edit.6:${PORTSDIR}/devel/libedit \
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libedit-prefix=${LOCALBASE} \
--with-pcre-prefix=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/lang/oo2c/Makefile b/lang/oo2c/Makefile
index c50598adfd74..1d7d82b1444b 100644
--- a/lang/oo2c/Makefile
+++ b/lang/oo2c/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= gc.1:${PORTSDIR}/devel/boehm-gc
DOCSDIR= lib/${PORTNAME}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/lang/pcc/Makefile b/lang/pcc/Makefile
index d6bd6168cba6..566500b9ff15 100644
--- a/lang/pcc/Makefile
+++ b/lang/pcc/Makefile
@@ -25,7 +25,6 @@ ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}/${PORTNAME}-${DATESPEC}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= YACC=${YACC}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
PLIST_FILES= bin/pcc libexec/ccom libexec/cpp \
diff --git a/lang/python23/Makefile b/lang/python23/Makefile
index 6a6c06f94f83..b01cee877452 100644
--- a/lang/python23/Makefile
+++ b/lang/python23/Makefile
@@ -18,7 +18,6 @@ COMMENT?= An interpreted object-oriented programming language
DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-fpectl
CONFIGURE_ENV= OPT="${CFLAGS}"
MAKE_ENV= VPATH="${WRKSRC}"
diff --git a/lang/python24/Makefile b/lang/python24/Makefile
index 38023bd04ddc..3e719978b300 100644
--- a/lang/python24/Makefile
+++ b/lang/python24/Makefile
@@ -19,7 +19,6 @@ COMMENT?= An interpreted object-oriented programming language
DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= OPT="${CFLAGS}"
MAKE_ENV= VPATH="${WRKSRC}"
USE_LDCONFIG= yes
diff --git a/lang/python25/Makefile b/lang/python25/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python25/Makefile
+++ b/lang/python25/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python26/Makefile b/lang/python26/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python26/Makefile
+++ b/lang/python26/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python30/Makefile b/lang/python30/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python30/Makefile
+++ b/lang/python30/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python31/Makefile b/lang/python31/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python31/Makefile
+++ b/lang/python31/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/python32/Makefile b/lang/python32/Makefile
index 087ddd147bfc..6224b163004d 100644
--- a/lang/python32/Makefile
+++ b/lang/python32/Makefile
@@ -19,7 +19,6 @@ DIST_SUBDIR= python
WRKSRC= ${PYTHON_WRKSRC}/portbld.static
PATCH_WRKSRC= ${PYTHON_WRKSRC}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_SCRIPT= ../configure # must be relative
CONFIGURE_ENV= OPT="${CFLAGS}" SVNVERSION="echo freebsd"
MAKE_ENV= VPATH="${PYTHON_WRKSRC}"
diff --git a/lang/see-devel/Makefile b/lang/see-devel/Makefile
index 765b611585e1..7247acd98b28 100644
--- a/lang/see-devel/Makefile
+++ b/lang/see-devel/Makefile
@@ -30,7 +30,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/lang/see/Makefile b/lang/see/Makefile
index 180708490018..369941d7f1ba 100644
--- a/lang/see/Makefile
+++ b/lang/see/Makefile
@@ -31,7 +31,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/lang/yabasic/Makefile b/lang/yabasic/Makefile
index 48f48cfbd109..cb4c2347a88a 100644
--- a/lang/yabasic/Makefile
+++ b/lang/yabasic/Makefile
@@ -17,7 +17,6 @@ COMMENT= Yet another Basic for Unix and Windows
USE_XORG= x11 ice sm xt
USE_BISON= build
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= yabasic.1
PORTDOCS= yabasic.htm
diff --git a/mail/anubis/Makefile b/mail/anubis/Makefile
index fdfc000ec385..a1d63555cf9e 100644
--- a/mail/anubis/Makefile
+++ b/mail/anubis/Makefile
@@ -28,7 +28,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Outgoing SMTP mail processor
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" LDFLAGS="${LDFLAGS}" \
CFLAGS="${CFLAGS}" CPPFLAGS="${CFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/mail/bincimap/Makefile b/mail/bincimap/Makefile
index 4215875fdbf7..d11b5c86a57e 100644
--- a/mail/bincimap/Makefile
+++ b/mail/bincimap/Makefile
@@ -24,7 +24,6 @@ COMMENT= Light-weight IMAP server for Maildir
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sysconfdir=${CONFDIR}
CONFDIR= ${PREFIX}/etc/${PORTNAME}
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile
index 8964a0790546..b6e4e498171b 100644
--- a/mail/bogofilter/Makefile
+++ b/mail/bogofilter/Makefile
@@ -45,7 +45,6 @@ CONFIGURE_ARGS+= --with-included-gsl
.endif
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" LIBS="${BF_LIBS}" \
PERL="${PERL}" CPPFLAGS="${BF_CPPFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALL_TARGET= install-strip prefix=${PREFIX} mandir=${MANPREFIX}/man
MAN1= bogofilter.1 bogoutil.1 bogoupgrade.1 bogolexer.1 bogotune.1 \
diff --git a/mail/chk4mail/Makefile b/mail/chk4mail/Makefile
index 966cafcfaefd..75e00e6d2313 100644
--- a/mail/chk4mail/Makefile
+++ b/mail/chk4mail/Makefile
@@ -19,6 +19,5 @@ PLIST_FILES= bin/chk4mail bin/chkimap
MAN1= chk4mail.1 chkimap.1
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/mail/cone/Makefile b/mail/cone/Makefile
index 179954c1586e..88d70c243883 100644
--- a/mail/cone/Makefile
+++ b/mail/cone/Makefile
@@ -37,7 +37,6 @@ CONFIGURE_ARGS= -C --without-db --with-certdb=${PREFIX}/share/cone/rootcerts --p
CONFIGURE_ENV= REHASH="${PERL} ${SCRIPTDIR}/c_rehash" LDFLAGS=-L${LOCALBASE}/lib \
CPPFLAGS="${CPPFLAGS}"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= cone.1 leaf.1 mailtool.1
INSTALL_TARGET= install-strip
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 0c16bb353edc..f5da9a1d36ef 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -57,7 +57,6 @@ USE_OPENSSL= yes
PLIST_SUB= CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \
LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \
--datadir=${DATADIR} \
--libexecdir=${LIBEXECDIR} \
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index 72908ad27da5..ade22363a6b2 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -78,7 +78,6 @@ CONFIGURE_ENV= REHASH=${SCRIPTDIR}/c_rehash \
LDFLAGS='${LDFLAGS}'
MAKE_ENV:= ${CONFIGURE_ENV}
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-root-check --with-db=db \
--enable-syslog=1 --enable-use-flock \
--program-transform-name=s,^,, \
diff --git a/mail/crashecho/Makefile b/mail/crashecho/Makefile
index da76df4b2b9c..593ad5fca8b7 100644
--- a/mail/crashecho/Makefile
+++ b/mail/crashecho/Makefile
@@ -26,7 +26,6 @@ EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= | ${CPIO} -i
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= crashecho.1 \
crashexport.1 \
diff --git a/mail/dovecot-devel/Makefile b/mail/dovecot-devel/Makefile
index 42bb7e96fed5..ffbb5d591ecc 100644
--- a/mail/dovecot-devel/Makefile
+++ b/mail/dovecot-devel/Makefile
@@ -22,7 +22,6 @@ DEPRECATED= Please use mail/dovecot instead
CONFLICTS?= ${PORTNAME}-1.[02-9].*
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-shadow --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/mail/dovecot-managesieve/Makefile b/mail/dovecot-managesieve/Makefile
index 4fd62411d546..fc3731b5a79c 100644
--- a/mail/dovecot-managesieve/Makefile
+++ b/mail/dovecot-managesieve/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= dovecot>=1.1.*:${PORTSDIR}/mail/dovecot \
DOVECOTVERSION= 1.1
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} \
--with-dovecot=`${MAKE} -C ${PORTSDIR}/mail/dovecot -V WRKSRC` \
--with-dovecot-sieve=`${MAKE} -C ${PORTSDIR}/mail/dovecot-sieve -V WRKSRC`
diff --git a/mail/dovecot-sieve/Makefile b/mail/dovecot-sieve/Makefile
index e4be69ca51d4..b37f994747c8 100644
--- a/mail/dovecot-sieve/Makefile
+++ b/mail/dovecot-sieve/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/mail/dovecot:build
USE_LDCONFIG= ${PREFIX}/lib/dovecot/lda
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --with-dovecot=`make -C ${PORTSDIR}/mail/dovecot -V WRKSRC`
.include <bsd.port.mk>
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile
index 5a92a6a7049f..789e10a76e74 100644
--- a/mail/dovecot/Makefile
+++ b/mail/dovecot/Makefile
@@ -19,7 +19,6 @@ USE_ICONV= yes
USE_RC_SUBR= dovecot.sh
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --without-shadow --localstatedir=/var
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/mail/dspam-devel/Makefile b/mail/dspam-devel/Makefile
index 0f95c9404861..fe765dba1dd7 100644
--- a/mail/dspam-devel/Makefile
+++ b/mail/dspam-devel/Makefile
@@ -104,7 +104,6 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.ifdef(GDBS)
CFLAGS+= -g -DDEBUG
diff --git a/mail/dspam/Makefile b/mail/dspam/Makefile
index 76efea6d6f8a..edc1bfcfd0ca 100644
--- a/mail/dspam/Makefile
+++ b/mail/dspam/Makefile
@@ -97,7 +97,6 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.ifdef(GDBS)
CFLAGS+= -g -DDEBUG
diff --git a/mail/esmtp/Makefile b/mail/esmtp/Makefile
index 37dd8ad3bb23..4365f2971d92 100644
--- a/mail/esmtp/Makefile
+++ b/mail/esmtp/Makefile
@@ -21,7 +21,6 @@ USE_BZIP2= yes
USE_OPENSSL= yes
USE_BISON= build
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= esmtp.1
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index fdef7a01afe5..b1b4f735e5bd 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -38,7 +38,6 @@ WITH_AUDIO= # none
PLIST_SUB+= X11=""
USE_GNOME= gnomehack gtk12
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I../compface -I${LOCALBASE}/include" \
LDFLAGS="-L../compface -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-imap --enable-pop \
diff --git a/mail/fetchmail/Makefile b/mail/fetchmail/Makefile
index fd920ae61ba3..8904e3e00b94 100644
--- a/mail/fetchmail/Makefile
+++ b/mail/fetchmail/Makefile
@@ -34,7 +34,6 @@ USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_OPENSSL= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-opie --enable-RPA --enable-SDPS \
--with-hesiod=no --enable-fallback=no
# bsd.openssl.mk will add the LDFLAGS to CONFIGURE_ENV:
diff --git a/mail/filtermail/Makefile b/mail/filtermail/Makefile
index 82d27b992c5d..e6f2d55ab5b4 100644
--- a/mail/filtermail/Makefile
+++ b/mail/filtermail/Makefile
@@ -31,7 +31,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BISON= build
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= filtermail.1
diff --git a/mail/gensig/Makefile b/mail/gensig/Makefile
index 803c275e28e1..313b87c56fcc 100644
--- a/mail/gensig/Makefile
+++ b/mail/gensig/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= arensb+freebsd-ports@ooblick.com
COMMENT= A random .signature generator
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= gensig.1 cattag.1
diff --git a/mail/gmime/Makefile b/mail/gmime/Makefile
index d43790375a0d..cecad35f3d2c 100644
--- a/mail/gmime/Makefile
+++ b/mail/gmime/Makefile
@@ -23,7 +23,6 @@ GNU_CONFIGURE= yes
CFLAGS+= -L${LOCALBASE}/lib # req'd to find iconv
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAKE_ARGS= confexecdir=${PREFIX}/etc
USE_LDCONFIG= yes
diff --git a/mail/gnarwl/Makefile b/mail/gnarwl/Makefile
index 68bf7c7e17b5..4ca15e829db2 100644
--- a/mail/gnarwl/Makefile
+++ b/mail/gnarwl/Makefile
@@ -23,7 +23,6 @@ USE_ICONV= yes
USE_OPENLDAP= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --with-docdir=${DOCSDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN8= damnit.8 gnarwl.8
MANCOMPRESSED= yes
diff --git a/mail/ifile/Makefile b/mail/ifile/Makefile
index 9cc023f6a473..9b47a7385d99 100644
--- a/mail/ifile/Makefile
+++ b/mail/ifile/Makefile
@@ -15,7 +15,6 @@ COMMENT= An application of machine learning to e-mail filtering
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ifile.1
PLIST_FILES= bin/ifile
diff --git a/mail/isoqlog/Makefile b/mail/isoqlog/Makefile
index 853884ae6f58..136e02bc4751 100644
--- a/mail/isoqlog/Makefile
+++ b/mail/isoqlog/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ofsen@enderunix.org
COMMENT= A qmail, postfix, sendmail, exim MTA log analysis program
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
post-install:
diff --git a/mail/isync/Makefile b/mail/isync/Makefile
index 2d55736c16e9..8924b19205b0 100644
--- a/mail/isync/Makefile
+++ b/mail/isync/Makefile
@@ -18,7 +18,6 @@ GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_BDB= 42+
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= isync.1 mbsync.1 mdconvert.1
diff --git a/mail/jamlib/Makefile b/mail/jamlib/Makefile
index b49f1363a5d1..0ed7446cbc60 100644
--- a/mail/jamlib/Makefile
+++ b/mail/jamlib/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A JAM subroutine library
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
NO_INSTALL_MANPAGES= yes
USE_LDCONFIG= yes
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 12afb7fb7055..48a2c0b14f04 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -26,7 +26,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# require-all-recipients (implied by enable-all) is required for Balsa
CONFIGURE_ARGS= --enable-all --disable-isoc
diff --git a/mail/librfc822/Makefile b/mail/librfc822/Makefile
index ee744b676801..14779fde9a02 100644
--- a/mail/librfc822/Makefile
+++ b/mail/librfc822/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ismail@EnderUNIX.org
COMMENT= A complete parser for RFC822 addresses
GNU_CONFIGURE= YES
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= user-manual.html
PLIST_FILES= include/rfc822.hpp lib/librfc822.a
diff --git a/mail/libsieve/Makefile b/mail/libsieve/Makefile
index 395bc838bd2e..bbbfbc766f3f 100644
--- a/mail/libsieve/Makefile
+++ b/mail/libsieve/Makefile
@@ -16,7 +16,6 @@ COMMENT= A library for parsing, sorting and filtering mail
GNU_CONFIGURE= yes
CONFIGURE_WRKSRC=${WRKSRC}/src
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--prefix=${PREFIX}
USE_GMAKE= yes
BUILD_WRKSRC= ${WRKSRC}/src
diff --git a/mail/libspf-alt/Makefile b/mail/libspf-alt/Makefile
index 4b7d634200d7..f2df98d8a3a4 100644
--- a/mail/libspf-alt/Makefile
+++ b/mail/libspf-alt/Makefile
@@ -27,7 +27,6 @@ CPPFLAGS+= ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --program-transform-name=s,^spf,spf_alt,
diff --git a/mail/libspf2-10/Makefile b/mail/libspf2-10/Makefile
index 77dd6c78bc79..e15bce57a8c8 100644
--- a/mail/libspf2-10/Makefile
+++ b/mail/libspf2-10/Makefile
@@ -22,6 +22,5 @@ LATEST_LINK= ${PORTNAME}-${PORTVERSION:S/.//:R}
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/mail/libspf2/Makefile b/mail/libspf2/Makefile
index 91f24d2c2697..b11645de9f04 100644
--- a/mail/libspf2/Makefile
+++ b/mail/libspf2/Makefile
@@ -21,8 +21,6 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
${WRKSRC}/configure
diff --git a/mail/libsrs2/Makefile b/mail/libsrs2/Makefile
index d33e6398f35d..f06953b37259 100644
--- a/mail/libsrs2/Makefile
+++ b/mail/libsrs2/Makefile
@@ -19,6 +19,4 @@ USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/mail/lmtp2nntp/Makefile b/mail/lmtp2nntp/Makefile
index a525c2e35251..e3b3a0e25fcd 100644
--- a/mail/lmtp2nntp/Makefile
+++ b/mail/lmtp2nntp/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= str.9:${PORTSDIR}/devel/str \
var.11:${PORTSDIR}/devel/ossp-var
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ex=${LOCALBASE} --with-str=${LOCALBASE} \
--with-sa=${LOCALBASE} --with-var=${LOCALBASE}
diff --git a/mail/lmtpd/Makefile b/mail/lmtpd/Makefile
index 77e716bc1e05..7772b835879c 100644
--- a/mail/lmtpd/Makefile
+++ b/mail/lmtpd/Makefile
@@ -86,7 +86,6 @@ CONFIGURE_ARGS+= --without-db3 --without-db4
GNU_CONFIGURE= YES
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS+= --without-perl
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN8= lmtpd.8
DOCS= NEWS README TODO
diff --git a/mail/maildrop/Makefile b/mail/maildrop/Makefile
index effe0e1f0443..847f14064ef3 100644
--- a/mail/maildrop/Makefile
+++ b/mail/maildrop/Makefile
@@ -33,7 +33,6 @@ CONFIGURE_ARGS= --enable-syslog=1 \
--enable-use-flock=1 \
--with-etcdir="${PREFIX}/etc" \
--enable-maildirquota
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/mail/masqmail/Makefile b/mail/masqmail/Makefile
index 01d1e7d0135c..2f4e6d73a881 100644
--- a/mail/masqmail/Makefile
+++ b/mail/masqmail/Makefile
@@ -24,7 +24,6 @@ GNU_CONFIGURE= yes
CFLAGS+= -Wno-trigraphs
CONFIGURE_ARGS+= --with-user=mailnull --with-group=mail \
--with-confdir=${PREFIX}/etc/masqmail --with-logdir=/var/log/masqmail
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.if !defined (NOPORTDOCS)
diff --git a/mail/meta1/Makefile b/mail/meta1/Makefile
index bb3582eb0fbe..a001c47c646b 100644
--- a/mail/meta1/Makefile
+++ b/mail/meta1/Makefile
@@ -29,7 +29,6 @@ MANUAL_PACKAGE_BUILD= needs hostname
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
CONFIGURE_ARGS+= --disable-dependency-tracking
MAKE_ENV+= META1CONFDIR="${META1CONFDIR}"
MAN8= createmap.8 mailq.8 mcp.8 milter-spamd.8 milter-regex.8 qmgr.8 \
diff --git a/mail/milter-greylist-devel/Makefile b/mail/milter-greylist-devel/Makefile
index 23e56fb20834..4dd8582b5529 100644
--- a/mail/milter-greylist-devel/Makefile
+++ b/mail/milter-greylist-devel/Makefile
@@ -22,7 +22,6 @@ CFLAGS+= ${PTHREAD_CFLAGS}
LIBS+= ${PTHREAD_LIBS}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-user=smmsp
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LIBS}"
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index fc138368e41d..93ffbd4af62d 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -56,7 +56,6 @@ CFLAGS+= ${PTHREAD_CFLAGS}
LIBS+= ${PTHREAD_LIBS}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-user=mailnull --with-libmilter=${MILTERBASE} \
--enable-dnsrbl --with-thread-safe-resolver
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LIBS="${LIBS} "
diff --git a/mail/msmtp/Makefile b/mail/msmtp/Makefile
index 3ebf2b663d4e..00897a603587 100644
--- a/mail/msmtp/Makefile
+++ b/mail/msmtp/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= msmtp.1
INFO= msmtp
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile
index 8f09a2966c1b..6ba71a187921 100644
--- a/mail/mutt/Makefile
+++ b/mail/mutt/Makefile
@@ -82,7 +82,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:19 autoconf:262
-CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL}
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-pop --enable-imap --disable-fcntl \
diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile
index 8f09a2966c1b..6ba71a187921 100644
--- a/mail/mutt14/Makefile
+++ b/mail/mutt14/Makefile
@@ -82,7 +82,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/i$//}
USE_OPENSSL= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:19 autoconf:262
-CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL}
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-pop --enable-imap --disable-fcntl \
diff --git a/mail/nbsmtp/Makefile b/mail/nbsmtp/Makefile
index 3a32c56161cf..1ca573db1d5c 100644
--- a/mail/nbsmtp/Makefile
+++ b/mail/nbsmtp/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Simple program for outgoing SMTP delivery
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= IPV6 "Support for IPv6 connections" off \
DEBUG "Enable debug information (for developers)" off \
diff --git a/mail/nmzmail/Makefile b/mail/nmzmail/Makefile
index d1d2275fbda1..f9a43d7f3c43 100644
--- a/mail/nmzmail/Makefile
+++ b/mail/nmzmail/Makefile
@@ -18,7 +18,6 @@ COMMENT= Fast mail searching for mutt
RUN_DEPENDS= namazu:${PORTSDIR}/databases/namazu2
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
PLIST_FILES= bin/nmzmail
diff --git a/mail/pfqueue/Makefile b/mail/pfqueue/Makefile
index 9878f7a959af..8991f80309c7 100644
--- a/mail/pfqueue/Makefile
+++ b/mail/pfqueue/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= pfqueue.1
MAN5= pfqueue.conf.5
diff --git a/mail/proxsmtp/Makefile b/mail/proxsmtp/Makefile
index 2442dd5596b4..880f43568ee2 100644
--- a/mail/proxsmtp/Makefile
+++ b/mail/proxsmtp/Makefile
@@ -15,7 +15,6 @@ COMMENT= A flexible SMTP filter which can act also as transparent proxy
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
USE_RC_SUBR= proxsmtpd.sh
diff --git a/mail/qmail-auditor/Makefile b/mail/qmail-auditor/Makefile
index 790a61b00cb5..a050107dcaef 100644
--- a/mail/qmail-auditor/Makefile
+++ b/mail/qmail-auditor/Makefile
@@ -18,7 +18,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME:R}
USE_QMAIL_RUN= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
SUB_LIST= QMAIL_PREFIX=${QMAIL_PREFIX}
diff --git a/mail/qmailadmin/Makefile b/mail/qmailadmin/Makefile
index 45ed24f178fe..ececc3e865e3 100644
--- a/mail/qmailadmin/Makefile
+++ b/mail/qmailadmin/Makefile
@@ -94,7 +94,6 @@ CONFIGURE_ARGS+= \
--enable-vpopmaildir=${VPOPMAIL_DIR} \
--enable-autoresponder-path=${LOCALBASE}/bin \
--enable-ezmlmdir=${LOCALBASE}/bin
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_IPAUTH)
CONFIGURE_ARGS+= --disable-ipauth
diff --git a/mail/qsf/Makefile b/mail/qsf/Makefile
index e94cc04eadfa..4f17c589a380 100644
--- a/mail/qsf/Makefile
+++ b/mail/qsf/Makefile
@@ -19,7 +19,6 @@ OPTIONS= GDBM "GDBM support" off \
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= qsf.1
diff --git a/mail/qsheff/Makefile b/mail/qsheff/Makefile
index 461678559137..5d66dc7a0579 100644
--- a/mail/qsheff/Makefile
+++ b/mail/qsheff/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= YES
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_QMAIL= yes
diff --git a/mail/rabl_client/Makefile b/mail/rabl_client/Makefile
index 1fbfd0f90f3d..6a6426928e44 100644
--- a/mail/rabl_client/Makefile
+++ b/mail/rabl_client/Makefile
@@ -17,7 +17,6 @@ COMMENT= Reactive Autonomous Blackhole List client
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --prefix=${PREFIX} \
--localstatedir=${VAR_DIR}
diff --git a/mail/rabl_server/Makefile b/mail/rabl_server/Makefile
index 84f08e362ece..dc3dbc0c0193 100644
--- a/mail/rabl_server/Makefile
+++ b/mail/rabl_server/Makefile
@@ -19,7 +19,6 @@ COMMENT= Reactive Autonomous Blackhole List server
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= CHANGE README RELEASE.NOTES
diff --git a/mail/renattach/Makefile b/mail/renattach/Makefile
index 52c7fd86404f..fdcef1e1764e 100644
--- a/mail/renattach/Makefile
+++ b/mail/renattach/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= pgollucci@FreeBSD.org
COMMENT= Rename or remove certain attachments or kill entire messages
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= renattach.1
PORTDOCS= INSTALL
diff --git a/mail/spamguard/Makefile b/mail/spamguard/Makefile
index 40f5977b3b63..a16424358b5d 100644
--- a/mail/spamguard/Makefile
+++ b/mail/spamguard/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= ofsen@enderunix.org
COMMENT= MTA spam prevention program for qmail/postfix/sendmail
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/mail/spamprobe/Makefile b/mail/spamprobe/Makefile
index 1794501d70e6..c0d4dc2bed54 100644
--- a/mail/spamprobe/Makefile
+++ b/mail/spamprobe/Makefile
@@ -23,7 +23,6 @@ MAINTAINER= stefan@FreeBSD.org
COMMENT= Spam detector using Bayesian analysis of word counts
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-default-8bit
diff --git a/mail/sqwebmail/Makefile b/mail/sqwebmail/Makefile
index fc3a458618b7..233d8d81313a 100644
--- a/mail/sqwebmail/Makefile
+++ b/mail/sqwebmail/Makefile
@@ -57,7 +57,6 @@ CACHEOWNER?= bin
#
# End of user variables
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
USE_GCC= 3.4
USE_PERL5= YES
HAS_CONFIGURE= YES
diff --git a/mail/tpop3d/Makefile b/mail/tpop3d/Makefile
index 74b4e632a82f..4ba35042e9ff 100644
--- a/mail/tpop3d/Makefile
+++ b/mail/tpop3d/Makefile
@@ -20,7 +20,6 @@ CONFIGURE_ARGS= --enable-auth-other \
--enable-tcp-wrappers \
--enable-tls \
--with-mailspool-directory=/var/mail
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= MYSQL "Use MySQL authentication" off \
PGSQL "Use PgSQL authentication" off \
diff --git a/mail/vpopmail/Makefile b/mail/vpopmail/Makefile
index 4c8e34e4e704..4ebcc576fbe3 100644
--- a/mail/vpopmail/Makefile
+++ b/mail/vpopmail/Makefile
@@ -35,7 +35,6 @@ CONFIGURE_ARGS= --enable-qmaildir=${QMAIL_PREFIX} \
--enable-tcprules-prog=${LOCALBASE}/bin/tcprules \
--enable-tcpserver-file=${PREFIX}/vpopmail/etc/tcp.smtp \
--enable-non-root-build
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
#
# User-configurable variables
diff --git a/mail/vqadmin/Makefile b/mail/vqadmin/Makefile
index f405aceb8821..493d3f535cbc 100644
--- a/mail/vqadmin/Makefile
+++ b/mail/vqadmin/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
RUN_DEPENDS= ${LOCALBASE}/vpopmail/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
GNU_CONFIGURE= YES
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WANT_QMAIL= yes
CGIBINDIR?= www/cgi-bin-dist
diff --git a/mail/whoson/Makefile b/mail/whoson/Makefile
index 5eaa84331d95..b034790d0294 100644
--- a/mail/whoson/Makefile
+++ b/mail/whoson/Makefile
@@ -16,7 +16,6 @@ COMMENT= `WHO iS ONline' protocol implementation
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-config=${PREFIX}/etc/whoson.conf
USE_LDCONFIG= yes
diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile
index 02ad9ae4cda7..c59409620041 100644
--- a/mail/wmbiff/Makefile
+++ b/mail/wmbiff/Makefile
@@ -18,7 +18,6 @@ OPTIONS= GNUTLS "Support for SSL" off
USE_XORG= xpm
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= wmbiff.1
MAN5= wmbiffrc.5
diff --git a/math/R/Makefile b/math/R/Makefile
index 36d24f99058f..ae083f276144 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -50,7 +50,6 @@ USE_FORTRAN= yes
INSTALL_TARGET= install install-libR
ALL_TARGET= all
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_ICONV= yes
USE_PERL5= yes
USE_GETTEXT= yes
diff --git a/math/asymptote/Makefile b/math/asymptote/Makefile
index d2b204a97b45..d7abe052910a 100644
--- a/math/asymptote/Makefile
+++ b/math/asymptote/Makefile
@@ -41,7 +41,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-gc=system --with-latex=${LOCALBASE}/share/texmf-local/tex/latex
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include $${CPPFLAGS}" LFLAGS="-L${LOCALBASE}/lib $${LFLAGS}" CFLAGS="-I${LOCALBASE}/include $${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib $${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV+= ${CONFIGURE_ENV}
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
diff --git a/math/fann/Makefile b/math/fann/Makefile
index 132e59f2e6c7..414ca9e77e7b 100644
--- a/math/fann/Makefile
+++ b/math/fann/Makefile
@@ -19,6 +19,5 @@ WRKSRC= ${WRKDIR}/fann-2.1.0
USE_ZIP= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/math/fftw/Makefile b/math/fftw/Makefile
index 3856ca8c5419..f48f8bc6a96f 100644
--- a/math/fftw/Makefile
+++ b/math/fftw/Makefile
@@ -26,7 +26,6 @@ USE_AUTOTOOLS= libtool:15
USE_FORTRAN= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" FC="${FC}" F77="${F77}"
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
diff --git a/math/freefem++/Makefile b/math/freefem++/Makefile
index 01c33f1f6e32..1caeb97972d2 100644
--- a/math/freefem++/Makefile
+++ b/math/freefem++/Makefile
@@ -34,7 +34,6 @@ USE_BISON= build
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-download \
--without-cadna \
--with-blas="${BLAS}" \
diff --git a/math/freemat/Makefile b/math/freemat/Makefile
index 7878d566f18c..1237b08975b3 100644
--- a/math/freemat/Makefile
+++ b/math/freemat/Makefile
@@ -34,7 +34,6 @@ USE_QT_VER= 4
USE_GMAKE= yes
QT_COMPONENTS= gui network opengl moc_build rcc_build uic_build xml svg
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-blas="${BLAS}" --without-llvm
CPPFLAGS= ${CXXFLAGS} -I${LOCALBASE}/include ${AMDINC}
CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
diff --git a/math/gsl/Makefile b/math/gsl/Makefile
index 2d72a0129e27..638cbd3dab6f 100644
--- a/math/gsl/Makefile
+++ b/math/gsl/Makefile
@@ -22,7 +22,6 @@ COMMENT= The GNU Scientific Library - mathematical libs
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= MAKEINFO='makeinfo --no-split'
MAN1= gsl-config.1 gsl-randist.1 gsl-histogram.1
diff --git a/math/guppi/Makefile b/math/guppi/Makefile
index e86842aca101..08611bdab1dc 100644
--- a/math/guppi/Makefile
+++ b/math/guppi/Makefile
@@ -29,7 +29,6 @@ CONFIGURE_ARGS= --enable-gnumeric --enable-explicit-python-linking
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/libglade-1.0" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
GNUMERIC_IDLDIR="${WRKDIR}/gnumeric"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= VERSION="${PORTVERSION}"
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
diff --git a/math/kaskade/Makefile b/math/kaskade/Makefile
index 3f1deb77700e..7d4aea153fac 100644
--- a/math/kaskade/Makefile
+++ b/math/kaskade/Makefile
@@ -22,8 +22,6 @@ GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../..
USE_XORG= x11
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
DIST_SUBDIR= kaskade
WRKSRC= ${WRKDIR}/3.2.1
diff --git a/math/libRmath/Makefile b/math/libRmath/Makefile
index a24c7ae2957f..c0cb3f3691f5 100644
--- a/math/libRmath/Makefile
+++ b/math/libRmath/Makefile
@@ -36,7 +36,6 @@ COMMENT= The standalone math library from R
USE_FORTRAN= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--without-x
CONFIGURE_ENV+= F77="${F77}"
diff --git a/math/ltl/Makefile b/math/ltl/Makefile
index 8c218ac7191a..330f1e2fce9e 100644
--- a/math/ltl/Makefile
+++ b/math/ltl/Makefile
@@ -17,7 +17,6 @@ COMMENT= A C++ class SSE library for scientific computing
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen --prefix=${PREFIX} --includedir=${PREFIX}/include/LTL
MAKE_ENV= prefix=${PREFIX} exec_prefix=${PREFIX}
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
diff --git a/math/orpie/Makefile b/math/orpie/Makefile
index 599bff348895..fb14b9abf820 100644
--- a/math/orpie/Makefile
+++ b/math/orpie/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= gsl.12:${PORTSDIR}/math/gsl
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index f50519a09f09..e1f3ce9f4d92 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -24,7 +24,6 @@ USE_FORTRAN= yes
USE_AUTOTOOLS= libltdl:15
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
M4="${LOCALBASE}/bin/gm4" \
diff --git a/math/qhull/Makefile b/math/qhull/Makefile
index a4662c83ef5e..46a45edd7fc7 100644
--- a/math/qhull/Makefile
+++ b/math/qhull/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if !defined(NOPORTDOCS)
MAN1= qhull.1 rbox.1
diff --git a/math/qhull5/Makefile b/math/qhull5/Makefile
index a4662c83ef5e..46a45edd7fc7 100644
--- a/math/qhull5/Makefile
+++ b/math/qhull5/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if !defined(NOPORTDOCS)
MAN1= qhull.1 rbox.1
diff --git a/math/tablix/Makefile b/math/tablix/Makefile
index 84394af37483..71b70fa8ff70 100644
--- a/math/tablix/Makefile
+++ b/math/tablix/Makefile
@@ -25,8 +25,6 @@ USE_GNOME= libxml2
GNU_CONFIGURE= yes
USE_GETTEXT= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LIBS=-L${PREFIX}/lib \
LDFLAGS=-L${PREFIX}/lib \
PVM_ROOT=${PVM_ROOT} PVM_LIB=${PREFIX}/lib
diff --git a/math/tvmet/Makefile b/math/tvmet/Makefile
index 0955a95f36c8..2701b59324c3 100644
--- a/math/tvmet/Makefile
+++ b/math/tvmet/Makefile
@@ -17,7 +17,6 @@ COMMENT= Tiny Vector and Matrix template library
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
MAN1= tvmet-config.1
diff --git a/math/yacas/Makefile b/math/yacas/Makefile
index fe6263c8c94b..76b10dfa51a5 100644
--- a/math/yacas/Makefile
+++ b/math/yacas/Makefile
@@ -21,7 +21,6 @@ USE_AUTOTOOLS= libtool:15
USE_PERL5_BUILD= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/misc/amanda-server/Makefile b/misc/amanda-server/Makefile
index 780c278ef83d..1d1bc274cfb7 100644
--- a/misc/amanda-server/Makefile
+++ b/misc/amanda-server/Makefile
@@ -38,8 +38,6 @@ OPTIONS= GNUTAR "use GNU tar" on \
.include <bsd.port.pre.mk>
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
diff --git a/misc/amanda25-server/Makefile b/misc/amanda25-server/Makefile
index 780c278ef83d..1d1bc274cfb7 100644
--- a/misc/amanda25-server/Makefile
+++ b/misc/amanda25-server/Makefile
@@ -38,8 +38,6 @@ OPTIONS= GNUTAR "use GNU tar" on \
.include <bsd.port.pre.mk>
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile
index 780c278ef83d..1d1bc274cfb7 100644
--- a/misc/amanda26-server/Makefile
+++ b/misc/amanda26-server/Makefile
@@ -38,8 +38,6 @@ OPTIONS= GNUTAR "use GNU tar" on \
.include <bsd.port.pre.mk>
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
diff --git a/misc/amanda32-server/Makefile b/misc/amanda32-server/Makefile
index 780c278ef83d..1d1bc274cfb7 100644
--- a/misc/amanda32-server/Makefile
+++ b/misc/amanda32-server/Makefile
@@ -38,8 +38,6 @@ OPTIONS= GNUTAR "use GNU tar" on \
.include <bsd.port.pre.mk>
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
AMANDA_USER?= operator
AMANDA_GROUP?= operator
AMANDA_GNUTAR_LISTDIR?= ${PREFIX}/var/amanda/gnutar-lists
diff --git a/misc/bibletime-kde3/Makefile b/misc/bibletime-kde3/Makefile
index bcb963195bf2..7d786e563608 100644
--- a/misc/bibletime-kde3/Makefile
+++ b/misc/bibletime-kde3/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_ICONS= yes
.include <bsd.port.pre.mk>
diff --git a/misc/bibletime/Makefile b/misc/bibletime/Makefile
index bcb963195bf2..7d786e563608 100644
--- a/misc/bibletime/Makefile
+++ b/misc/bibletime/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_ICONS= yes
.include <bsd.port.pre.mk>
diff --git a/misc/clpbar/Makefile b/misc/clpbar/Makefile
index 09f8fe1d5189..0bd41fe8da2e 100644
--- a/misc/clpbar/Makefile
+++ b/misc/clpbar/Makefile
@@ -18,7 +18,6 @@ COMMENT= Command Line Progress Bar
WRKSRC= ${WRKDIR}/bar-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= CFLAGS+="${CFLAGS}"
MAN1= bar.1
diff --git a/misc/dejagnu/Makefile b/misc/dejagnu/Makefile
index ac0a4809f020..f01609262cf6 100644
--- a/misc/dejagnu/Makefile
+++ b/misc/dejagnu/Makefile
@@ -19,7 +19,6 @@ RUN_DEPENDS= expect:${PORTSDIR}/lang/expect
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= runtest.1
diff --git a/misc/diction/Makefile b/misc/diction/Makefile
index 52c6a752bcee..b25c847ae761 100644
--- a/misc/diction/Makefile
+++ b/misc/diction/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= mva@sysfault.org
COMMENT= GNU diction and style
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/diction bin/style share/diction/C share/diction/de \
share/diction/en share/diction/en_GB share/diction/nl
diff --git a/misc/hello/Makefile b/misc/hello/Makefile
index fd2016a9d620..026279af5f95 100644
--- a/misc/hello/Makefile
+++ b/misc/hello/Makefile
@@ -17,7 +17,6 @@ COMMENT= A utility for saying hello to the world and reading email
USE_PERL5_BUILD= YES
GNU_CONFIGURE= YES
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= hello.1
INFO= hello
diff --git a/misc/iselect/Makefile b/misc/iselect/Makefile
index 3fc05fad1ba8..32250557777a 100644
--- a/misc/iselect/Makefile
+++ b/misc/iselect/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Interactive Selection Tool
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= iselect.1
diff --git a/misc/kcd-devel/Makefile b/misc/kcd-devel/Makefile
index 830763abc45e..6aaca57efb9b 100644
--- a/misc/kcd-devel/Makefile
+++ b/misc/kcd-devel/Makefile
@@ -19,8 +19,7 @@ COMMENT= Change directory in full-screen visual mode
USE_GETTEXT= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --sysconfdir=${PREFIX}/etc
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
diff --git a/misc/kcd/Makefile b/misc/kcd/Makefile
index ca7a43a563ff..f6668d0b0d01 100644
--- a/misc/kcd/Makefile
+++ b/misc/kcd/Makefile
@@ -18,8 +18,7 @@ COMMENT= Change directory in full-screen visual mode
USE_GETTEXT= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --sysconfdir=${PREFIX}/etc
+CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
diff --git a/misc/latex-mk/Makefile b/misc/latex-mk/Makefile
index 9e02fc59d823..9b67bc332eb9 100644
--- a/misc/latex-mk/Makefile
+++ b/misc/latex-mk/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= latex-mk
diff --git a/misc/lifelines/Makefile b/misc/lifelines/Makefile
index 8ded9c9e8596..7075b8d33c02 100644
--- a/misc/lifelines/Makefile
+++ b/misc/lifelines/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= matt@gsicomp.on.ca
COMMENT= An advanced genealogical system
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_ICONV= yes
USE_BZIP2= yes
USE_BISON= build
diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index d465525cc2f4..754ef56171e5 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -19,7 +19,6 @@ CONFLICTS= e2fsprogs-libuuid-[0-9]*
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-shared --enable-static --with-cxx
MAN1= uuid-config.1 uuid.1
diff --git a/misc/patchutils/Makefile b/misc/patchutils/Makefile
index ce8959a1bf81..00265bbde96b 100644
--- a/misc/patchutils/Makefile
+++ b/misc/patchutils/Makefile
@@ -17,7 +17,6 @@ COMMENT= A small collection of programs that operate on patch files
USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= combinediff.1 dehtmldiff.1 editdiff.1 espdiff.1 filterdiff.1 \
fixcvsdiff.1 flipdiff.1 grepdiff.1 interdiff.1 lsdiff.1 recountdiff.1 \
diff --git a/misc/skyutils/Makefile b/misc/skyutils/Makefile
index 2caeb2edcf54..04e885e7e3c9 100644
--- a/misc/skyutils/Makefile
+++ b/misc/skyutils/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A library required by smssend (same author)
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= autoconf:262 libtool:15
USE_LDCONFIG= yes
diff --git a/misc/smssend/Makefile b/misc/smssend/Makefile
index e7e51cda1811..07521ca4d142 100644
--- a/misc/smssend/Makefile
+++ b/misc/smssend/Makefile
@@ -22,7 +22,6 @@ MAN1= smssend.1 smssend.scripting.1 email2smssend.1
MANLANG= "" fr
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-install:
${STRIP_CMD} ${PREFIX}/bin/smssend
diff --git a/misc/sword/Makefile b/misc/sword/Makefile
index 91f077ff9495..c33a9b33fa79 100644
--- a/misc/sword/Makefile
+++ b/misc/sword/Makefile
@@ -20,7 +20,6 @@ USE_GNOME= pkgconfig
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:110 autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --without-conf --without-clucene --with-zlib --without-icu
USE_LDCONFIG= yes
SUB_FILES= pkg-message
diff --git a/misc/sword15/Makefile b/misc/sword15/Makefile
index 91f077ff9495..c33a9b33fa79 100644
--- a/misc/sword15/Makefile
+++ b/misc/sword15/Makefile
@@ -20,7 +20,6 @@ USE_GNOME= pkgconfig
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake:110 autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --without-conf --without-clucene --with-zlib --without-icu
USE_LDCONFIG= yes
SUB_FILES= pkg-message
diff --git a/misc/talkfilters/Makefile b/misc/talkfilters/Makefile
index 583795682323..8e3222176b9b 100644
--- a/misc/talkfilters/Makefile
+++ b/misc/talkfilters/Makefile
@@ -18,7 +18,6 @@ CONFLICTS= jive* chef* filters-*
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= talkfilters.1 wrap.1
MLINKS= talkfilters.1 austro.1 \
diff --git a/misc/uf-view/Makefile b/misc/uf-view/Makefile
index dc679da344ea..09889e621cb8 100644
--- a/misc/uf-view/Makefile
+++ b/misc/uf-view/Makefile
@@ -19,7 +19,6 @@ USE_GNOME= gnomeprefix gnomehack gnomehier gnomevfs2 gnomedesktop
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
diff --git a/misc/wmwork/Makefile b/misc/wmwork/Makefile
index 5af4134f3e39..21332839dc7e 100644
--- a/misc/wmwork/Makefile
+++ b/misc/wmwork/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
USE_XORG= xpm
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= wmwork.1
diff --git a/misc/xbiso/Makefile b/misc/xbiso/Makefile
index 1bf225a8589e..9a1f6d420259 100644
--- a/misc/xbiso/Makefile
+++ b/misc/xbiso/Makefile
@@ -18,7 +18,6 @@ COMMENT= XBox xdvdfs iso extraction utility
LIB_DEPENDS= ftp.3:${PORTSDIR}/ftp/ftplib
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/misc/xdelta/Makefile b/misc/xdelta/Makefile
index 4f6ad62fdd3f..934c30bb8bb3 100644
--- a/misc/xdelta/Makefile
+++ b/misc/xdelta/Makefile
@@ -17,7 +17,6 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= glib12
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= xdelta.1
diff --git a/misc/xfce4-artwork/Makefile b/misc/xfce4-artwork/Makefile
index d8c7eb4d5418..079bf9b319a1 100644
--- a/misc/xfce4-artwork/Makefile
+++ b/misc/xfce4-artwork/Makefile
@@ -18,6 +18,5 @@ COMMENT= Additional artwork for the XFce4 desktop environment
RUN_DEPENDS= xfdesktop:${PORTSDIR}/x11-wm/xfce4-desktop
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/multimedia/avifile/Makefile b/multimedia/avifile/Makefile
index 752dc0f6fa21..7a4a418fc318 100644
--- a/multimedia/avifile/Makefile
+++ b/multimedia/avifile/Makefile
@@ -33,7 +33,6 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-gnu-ld --enable-iconv \
--disable-v4l \
--disable-divx4
-CONFIGURE_TARGET=
PLIST_SUB= LIB_VERSION="${LIB_VERSION}" VERSION="${VERSION}"
diff --git a/multimedia/camserv/Makefile b/multimedia/camserv/Makefile
index 12f7c872d341..774591f0b8dd 100644
--- a/multimedia/camserv/Makefile
+++ b/multimedia/camserv/Makefile
@@ -25,7 +25,6 @@ ONLY_FOR_ARCHS= i386 alpha
USE_AUTOTOOLS= autoconf:262 libtool:15 libltdl:15
USE_EFL= imlib2
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/gtk12 \
-I${LOCALBASE}/include/gdk-pixbuf-1.0 \
diff --git a/multimedia/emovix/Makefile b/multimedia/emovix/Makefile
index e0e9948dc3cb..2be265249fed 100644
--- a/multimedia/emovix/Makefile
+++ b/multimedia/emovix/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= h.eichmann@gmx.de
COMMENT= A mini linux distro to create bootable video CDs
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_PERL5= yes
USE_PERL5_BUILD=yes
diff --git a/multimedia/kaffeine/Makefile b/multimedia/kaffeine/Makefile
index 89137b32e822..75a891b00b22 100644
--- a/multimedia/kaffeine/Makefile
+++ b/multimedia/kaffeine/Makefile
@@ -24,7 +24,6 @@ USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CXXFLAGS="${CFLAGS} -I${WRKSRC}" CFLAGS="${CFLAGS} -I${WRKSRC}"
-CONFIGURE_TARGET=
DVB_HEADERS= ca.h dmx.h frontend.h net.h audio.h video.h
.ifdef (WITH_GSTREAMER)
diff --git a/multimedia/libdvbpsi/Makefile b/multimedia/libdvbpsi/Makefile
index 06dfe9e59cdc..0fc50cb7630e 100644
--- a/multimedia/libdvbpsi/Makefile
+++ b/multimedia/libdvbpsi/Makefile
@@ -20,7 +20,6 @@ USE_DOS2UNIX= yes
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if defined(WITH_DEBUG)
CONFIGURE_ARGS= --enable-debug
.else
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile
index a80216372b37..09b3c7d3eae6 100644
--- a/multimedia/libdvdread/Makefile
+++ b/multimedia/libdvdread/Makefile
@@ -22,8 +22,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
DOC_FILES= AUTHORS COPYING NEWS README TODO
# allow build with more warnings enabled
diff --git a/multimedia/libfame/Makefile b/multimedia/libfame/Makefile
index 3507d4396006..eed530d3d778 100644
--- a/multimedia/libfame/Makefile
+++ b/multimedia/libfame/Makefile
@@ -20,8 +20,6 @@ USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN3= fame_close.3 fame_encode_frame.3 fame_get_object.3 fame_init.3 \
fame_open.3 fame_register.3 fame_unregister.3 fame_encode_slice.3 \
fame_start_frame.3 fame_end_frame.3
diff --git a/multimedia/motion/Makefile b/multimedia/motion/Makefile
index 5da612f07c0d..484950e7763e 100644
--- a/multimedia/motion/Makefile
+++ b/multimedia/motion/Makefile
@@ -22,8 +22,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
ONLY_FOR_ARCHS= i386 amd64
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN1= motion.1
USE_AUTOTOOLS= autoconf:262
diff --git a/multimedia/nmm/Makefile b/multimedia/nmm/Makefile
index a8a244629b87..60055a2227ff 100644
--- a/multimedia/nmm/Makefile
+++ b/multimedia/nmm/Makefile
@@ -47,7 +47,6 @@ USE_AUTOTOOLS= libltdl libtool:15 \
autoconf:262:env autoheader:262:env \
automake:19:env aclocal:19:env
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --program-prefix=nmm- \
--enable-final \
--disable-examples-helloworld --disable-examples-avmux \
diff --git a/multimedia/sublib/Makefile b/multimedia/sublib/Makefile
index 5219b8df777e..806b964338fc 100644
--- a/multimedia/sublib/Makefile
+++ b/multimedia/sublib/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
USE_ZIP= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GNOME= gnomehack
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
diff --git a/multimedia/toxine/Makefile b/multimedia/toxine/Makefile
index f89f84671050..d7ab0a8c8ae3 100644
--- a/multimedia/toxine/Makefile
+++ b/multimedia/toxine/Makefile
@@ -18,7 +18,6 @@ COMMENT= Text user interface using the xine library
LIB_DEPENDS= xine.1:${PORTSDIR}/multimedia/libxine
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
OPTIONS= AALIB "Enable aalib support" on \
diff --git a/net-im/ari-yahoo/Makefile b/net-im/ari-yahoo/Makefile
index 05f177637eb2..c66ca24bfd59 100644
--- a/net-im/ari-yahoo/Makefile
+++ b/net-im/ari-yahoo/Makefile
@@ -18,7 +18,6 @@ COMMENT= A console Yahoo! messenger client
PLIST_FILES= bin/ari-yahoo
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
pre-configure:
@(cd ${WRKSRC}/libyahoo && ${SETENV} ${AUTOCONF_ENV} ${AUTOCONF} \
diff --git a/net-im/cli-msn/Makefile b/net-im/cli-msn/Makefile
index d61af5d06c6c..c38036c6ffcb 100644
--- a/net-im/cli-msn/Makefile
+++ b/net-im/cli-msn/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
SUB_FILES= pkg-message
diff --git a/net-im/climm/Makefile b/net-im/climm/Makefile
index c0f5001a2b0d..440952f84bca 100644
--- a/net-im/climm/Makefile
+++ b/net-im/climm/Makefile
@@ -19,7 +19,6 @@ COMMENT= CLI-based Multi-Messenger
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/net-im/ickle/Makefile b/net-im/ickle/Makefile
index b87dc5121445..eafaf26630d6 100644
--- a/net-im/ickle/Makefile
+++ b/net-im/ickle/Makefile
@@ -23,7 +23,6 @@ USE_GNOME= gtk12
WANT_GNOME= yes
USE_ICONV= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \
--with-gtkmm-prefix=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`"
diff --git a/net-im/iserverd/Makefile b/net-im/iserverd/Makefile
index 7d75d884af35..bf7d8dbc758f 100644
--- a/net-im/iserverd/Makefile
+++ b/net-im/iserverd/Makefile
@@ -14,7 +14,6 @@ MASTER_SITES= http://iserverd.khstu.ru/download/
MAINTAINER= danfocus@gmail.com
COMMENT= Groupware ICQ server clone
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_PGSQL= YES
GNU_CONFIGURE= YES
USE_RC_SUBR= iserverd
diff --git a/net-im/kf/Makefile b/net-im/kf/Makefile
index e379b1ecdd67..4ce86ef07e17 100644
--- a/net-im/kf/Makefile
+++ b/net-im/kf/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= loudmouth-1.0:${PORTSDIR}/net-im/loudmouth
USE_XORG= x11 xscrnsaver
USE_GNOME= libglade2
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
diff --git a/net-im/kpopup/Makefile b/net-im/kpopup/Makefile
index 32f876ede882..8d148c2b5be0 100644
--- a/net-im/kpopup/Makefile
+++ b/net-im/kpopup/Makefile
@@ -24,7 +24,6 @@ SUB_FILES= pkg-message
USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
KPOPUP_DIR= /var/tmp/kpopup
diff --git a/net-im/naim/Makefile b/net-im/naim/Makefile
index 123490da9f31..bd47a9c76e83 100644
--- a/net-im/naim/Makefile
+++ b/net-im/naim/Makefile
@@ -16,8 +16,6 @@ COMMENT= Console ncurses-based AIM, ICQ, IRC, and Lily client
GNU_CONFIGURE= yes
USE_BZIP2= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN1= naim.1
MLINKS= naim.1 nirc.1 naim.1 nicq.1 naim.1 nlily.1
PORTDOCS= FAQ README commands.txt keyboard.txt
diff --git a/net-im/pork/Makefile b/net-im/pork/Makefile
index aaf53882104b..e3aa246ae691 100644
--- a/net-im/pork/Makefile
+++ b/net-im/pork/Makefile
@@ -18,6 +18,5 @@ USE_PERL5= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/net-im/sim-im-devel/Makefile b/net-im/sim-im-devel/Makefile
index 6a540c0c1d6a..c2325249798c 100644
--- a/net-im/sim-im-devel/Makefile
+++ b/net-im/sim-im-devel/Makefile
@@ -30,8 +30,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
OPTIONS= KDE "Enable KDE support" off \
DEBUG "Enable debug" on
diff --git a/net-im/sim-im/Makefile b/net-im/sim-im/Makefile
index da8dd726bcc9..8c8948da84a8 100644
--- a/net-im/sim-im/Makefile
+++ b/net-im/sim-im/Makefile
@@ -35,8 +35,6 @@ USE_GETTEXT= yes
INSTALLS_ICONS= yes
USE_XORG= x11 xext ice
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.if !defined(WITH_KDE)
CONFIGURE_ARGS+=--disable-kde --enable-mt
LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell
diff --git a/net-im/trix/Makefile b/net-im/trix/Makefile
index 586306dd6fb5..e8e10f5717cc 100644
--- a/net-im/trix/Makefile
+++ b/net-im/trix/Makefile
@@ -21,7 +21,6 @@ USE_XLIB= yes
GNU_CONFIGURE= yes
USE_BZIP2= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS += --with-qt-dir=${QT_PREFIX} \
--with-extra-includes=${LOCALBASE}/include \
--with-extra-libs=${LOCALBASE}/lib
diff --git a/net-mgmt/ap-utils/Makefile b/net-mgmt/ap-utils/Makefile
index cb57866552f4..35c580404a92 100644
--- a/net-mgmt/ap-utils/Makefile
+++ b/net-mgmt/ap-utils/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= david@catwhisker.org
COMMENT= A set of utilities to configure and monitor wireless access points
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
USE_ICONV= yes
CONFIGURE_ENV= LDFLAGS="-lintl -L${LOCALBASE}/lib" \
diff --git a/net-mgmt/arpscan/Makefile b/net-mgmt/arpscan/Makefile
index 7fc72bd401a8..53efb7ab17de 100644
--- a/net-mgmt/arpscan/Makefile
+++ b/net-mgmt/arpscan/Makefile
@@ -17,8 +17,7 @@ COMMENT= Simple arp scanner
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --with-libdnet=${LOCALBASE}
+CONFIGURE_ARGS=--with-libdnet=${LOCALBASE}
PLIST_FILES= bin/arpscan
diff --git a/net-mgmt/arpwatch/Makefile b/net-mgmt/arpwatch/Makefile
index 277fe18eddac..b6d517513563 100644
--- a/net-mgmt/arpwatch/Makefile
+++ b/net-mgmt/arpwatch/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= Monitor arp & rarp requests
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --quiet --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --quiet
MAKE_ENV+= BINOWN="${BINOWN}" BINGRP="${BINGRP}"
INSTALL_TARGET= install install-man
MAN8= arpwatch.8 arpsnmp.8
diff --git a/net-mgmt/chillispot/Makefile b/net-mgmt/chillispot/Makefile
index 45558aafbb23..fc5a78f512c2 100644
--- a/net-mgmt/chillispot/Makefile
+++ b/net-mgmt/chillispot/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= venture37@geeklan.co.uk
COMMENT= Wireless LAN Access Point Controller
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=-build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=-sysconfdir=${PREFIX}/etc
USE_RC_SUBR= chillispot.sh
SUB_FILES= pkg-message
diff --git a/net-mgmt/darkstat/Makefile b/net-mgmt/darkstat/Makefile
index ec1b53f0073e..b9dfd720be1a 100644
--- a/net-mgmt/darkstat/Makefile
+++ b/net-mgmt/darkstat/Makefile
@@ -17,7 +17,6 @@ USE_RC_SUBR= darkstat
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= darkstat.1
DOCS= AUTHORS INSTALL README THANKS
diff --git a/net-mgmt/disco/Makefile b/net-mgmt/disco/Makefile
index f4d06e420a6e..fc37851983b7 100644
--- a/net-mgmt/disco/Makefile
+++ b/net-mgmt/disco/Makefile
@@ -18,7 +18,6 @@ COMMENT= IP discovery and fingerprinting utility
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/net-mgmt/echolot/Makefile b/net-mgmt/echolot/Makefile
index e388d4664223..57fc0571289e 100644
--- a/net-mgmt/echolot/Makefile
+++ b/net-mgmt/echolot/Makefile
@@ -19,7 +19,6 @@ COMMENT= A packet sniffer that grabs ARP packets on any ethernet devices
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= echolot.1
diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index 16b4236d3224..79f663adca21 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -46,7 +46,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
LIBS="${LDFLAGS}"
CONFIGURE_ARGS+= --enable-plugins
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.if ${OSVERSION} < 502111
BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
diff --git a/net-mgmt/fprobe/Makefile b/net-mgmt/fprobe/Makefile
index 166a900d2952..d004bd0e63e1 100644
--- a/net-mgmt/fprobe/Makefile
+++ b/net-mgmt/fprobe/Makefile
@@ -15,7 +15,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool that collects network traffic data
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
PLIST_FILES= sbin/fprobe
PORTDOCS= ChangeLog README
diff --git a/net-mgmt/iftop/Makefile b/net-mgmt/iftop/Makefile
index 0c83a2535160..554160226dd4 100644
--- a/net-mgmt/iftop/Makefile
+++ b/net-mgmt/iftop/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= vd@FreeBSD.org
COMMENT= Display bandwidth usage on an interface by host
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-resolver=netdb_1thread
MAN8= iftop.8
diff --git a/net-mgmt/nefu/Makefile b/net-mgmt/nefu/Makefile
index b18cff682ba2..0301b42edd23 100644
--- a/net-mgmt/nefu/Makefile
+++ b/net-mgmt/nefu/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= farrokhi@FreeBSD.org
COMMENT= A network monitoring daemon
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib" \
YACC=${YACC} \
diff --git a/net-mgmt/netxms/Makefile b/net-mgmt/netxms/Makefile
index d5ec3d706a9d..7206f3de73fe 100644
--- a/net-mgmt/netxms/Makefile
+++ b/net-mgmt/netxms/Makefile
@@ -15,7 +15,6 @@ COMMENT= NetXMS - network monitoring system
NO_PACKAGE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_ICONV= yes
diff --git a/net-mgmt/nfdump-devel/Makefile b/net-mgmt/nfdump-devel/Makefile
index 629ac748458d..9514904db29a 100644
--- a/net-mgmt/nfdump-devel/Makefile
+++ b/net-mgmt/nfdump-devel/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} --enable-nfprofile --with-rrdpath=${LOCALBASE}
+CONFIGURE_ARGS= --enable-nfprofile --with-rrdpath=${LOCALBASE}
#flow-tools support
OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
@@ -31,7 +31,7 @@ OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
#for compatibility
#
.ifndef(WITHOUT_NFDUMP14_SUPPORT)
-CONFIGURE_ARGS= --enable-compat14
+CONFIGURE_ARGS+= --enable-compat14
.endif
PLIST_FILES= bin/nfcapd bin/nfdump bin/nfreplay bin/nfexpire bin/nfprofile
diff --git a/net-mgmt/nfdump/Makefile b/net-mgmt/nfdump/Makefile
index a727cfcc80b4..4de2a2a93a39 100644
--- a/net-mgmt/nfdump/Makefile
+++ b/net-mgmt/nfdump/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= Command-line tools to collect and process NetFlow data
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
#flow-tools support
OPTIONS= FT2NFDUMP "With Flow-tools to nfdump converter" off \
diff --git a/net-mgmt/openvmps/Makefile b/net-mgmt/openvmps/Makefile
index eafd30ee0fdd..c0d1db725a20 100644
--- a/net-mgmt/openvmps/Makefile
+++ b/net-mgmt/openvmps/Makefile
@@ -21,7 +21,6 @@ USE_RC_SUBR= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=--bindir=${PREFIX}/sbin
MAN1= vmpsd.1
diff --git a/net-mgmt/packit/Makefile b/net-mgmt/packit/Makefile
index 23886e6f339d..341a94477b2a 100644
--- a/net-mgmt/packit/Makefile
+++ b/net-mgmt/packit/Makefile
@@ -18,7 +18,6 @@ COMMENT= Network auditing tool
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="`${LIBNET_CONFIG} --defines` `${LIBNET_CONFIG} --cflags`"
MAN8= packit.8
diff --git a/net-mgmt/sysmon/Makefile b/net-mgmt/sysmon/Makefile
index 12b19f436673..a534898f04d1 100644
--- a/net-mgmt/sysmon/Makefile
+++ b/net-mgmt/sysmon/Makefile
@@ -20,7 +20,6 @@ DOCS= Changes.html binaries.html config.html docs.html index.html \
MAN8= sysmon.man.8 sysmon.conf.man.8
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/sysmon ${PREFIX}/bin
diff --git a/net-mgmt/tcptrack/Makefile b/net-mgmt/tcptrack/Makefile
index e73d87163964..c93fdfffad61 100644
--- a/net-mgmt/tcptrack/Makefile
+++ b/net-mgmt/tcptrack/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= squat@squat.no
COMMENT= Packet sniffer which displays TCP information like top(1)
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/tcptrack
MAN1= tcptrack.1
diff --git a/net-p2p/amule-devel/Makefile b/net-p2p/amule-devel/Makefile
index 5f5646c5e5bc..714bba907d01 100644
--- a/net-p2p/amule-devel/Makefile
+++ b/net-p2p/amule-devel/Makefile
@@ -27,7 +27,6 @@ USE_GMAKE= yes
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-debug \
--without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
diff --git a/net-p2p/amule/Makefile b/net-p2p/amule/Makefile
index 5f5646c5e5bc..714bba907d01 100644
--- a/net-p2p/amule/Makefile
+++ b/net-p2p/amule/Makefile
@@ -27,7 +27,6 @@ USE_GMAKE= yes
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-debug \
--without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
diff --git a/net-p2p/amule2/Makefile b/net-p2p/amule2/Makefile
index 5f5646c5e5bc..714bba907d01 100644
--- a/net-p2p/amule2/Makefile
+++ b/net-p2p/amule2/Makefile
@@ -27,7 +27,6 @@ USE_GMAKE= yes
USE_WX= 2.8
WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-debug \
--without-included-gettext \
--with-libintl-prefix=${LOCALBASE} \
diff --git a/net-p2p/ctorrent/Makefile b/net-p2p/ctorrent/Makefile
index 4ea44a0041cc..1dff1823351f 100644
--- a/net-p2p/ctorrent/Makefile
+++ b/net-p2p/ctorrent/Makefile
@@ -18,7 +18,6 @@ GNU_CONFIGURE= yes
#WRKSRC= ${WRKDIR}/${PORTNAME}-dnh${PATCHLEVEL}
PLIST_FILES= bin/ctorrent
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README-DNH.TXT UserGuide
diff --git a/net-p2p/dclib/Makefile b/net-p2p/dclib/Makefile
index 348fa4036275..baa2b1c89813 100644
--- a/net-p2p/dclib/Makefile
+++ b/net-p2p/dclib/Makefile
@@ -27,7 +27,6 @@ USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_OPENSSL= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
post-extract:
${CHMOD} 0755 ${WRKSRC}/admin/install-sh
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 3cb056590c33..cb497979e9e4 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -27,7 +27,6 @@ USE_GNOME= pkgconfig gnomehack
USE_OPENSSL= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
EXTRA_PATCHES?= ${.CURDIR}/files/stable-*
diff --git a/net-p2p/mooseekd/Makefile b/net-p2p/mooseekd/Makefile
index ad7be0466ba6..f25bd29e87a0 100644
--- a/net-p2p/mooseekd/Makefile
+++ b/net-p2p/mooseekd/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= xml\\+\\+-2.6.2:${PORTSDIR}/textproc/libxml++26
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
USE_FAM= yes
diff --git a/net-p2p/mutella/Makefile b/net-p2p/mutella/Makefile
index a38ae1a1043c..442514429f29 100644
--- a/net-p2p/mutella/Makefile
+++ b/net-p2p/mutella/Makefile
@@ -18,7 +18,6 @@ COMMENT= A command line Gnutella client
MAN1= mutella.1
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile
index 4b3b0b42a1e6..8a53b1901bc3 100644
--- a/net-p2p/opendchub/Makefile
+++ b/net-p2p/opendchub/Makefile
@@ -17,7 +17,6 @@ COMMENT= Unofficial Unix version of the Direct Connect Hub software
USE_PERL5= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include"
post-install:
diff --git a/net-p2p/qbittorrent-22/Makefile b/net-p2p/qbittorrent-22/Makefile
index a979aa06a3b8..ee55a6e22446 100644
--- a/net-p2p/qbittorrent-22/Makefile
+++ b/net-p2p/qbittorrent-22/Makefile
@@ -23,7 +23,6 @@ QT_COMPONENTS= qmake_build uic_build moc_build rcc_build gui network xml
QT_NONSTANDARD= yes
INSTALLS_ICONS= yes
HAS_CONFIGURE= yes
-CONFIGURE_TARGET= #
CONFIGURE_ARGS= --with-libtorrent-inc="${LOCALBASE}/include" \
--with-libtorrent-lib="${LOCALBASE}/lib"
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}"
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile
index a979aa06a3b8..ee55a6e22446 100644
--- a/net-p2p/qbittorrent/Makefile
+++ b/net-p2p/qbittorrent/Makefile
@@ -23,7 +23,6 @@ QT_COMPONENTS= qmake_build uic_build moc_build rcc_build gui network xml
QT_NONSTANDARD= yes
INSTALLS_ICONS= yes
HAS_CONFIGURE= yes
-CONFIGURE_TARGET= #
CONFIGURE_ARGS= --with-libtorrent-inc="${LOCALBASE}/include" \
--with-libtorrent-lib="${LOCALBASE}/lib"
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}"
diff --git a/net-p2p/rtorrent/Makefile b/net-p2p/rtorrent/Makefile
index 2264e2ba8811..b18868c93924 100644
--- a/net-p2p/rtorrent/Makefile
+++ b/net-p2p/rtorrent/Makefile
@@ -26,7 +26,6 @@ MAN1= rtorrent.1
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
diff --git a/net-p2p/valknut/Makefile b/net-p2p/valknut/Makefile
index 4fe0feac5b95..157114884fce 100644
--- a/net-p2p/valknut/Makefile
+++ b/net-p2p/valknut/Makefile
@@ -38,8 +38,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
RCC="${LOCALBASE}/bin/rcc" LRELEASE="${LOCALBASE}/bin/lrelease-qt4"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/net/6tunnel/Makefile b/net/6tunnel/Makefile
index 49fd296b9cc2..862dd37d7d91 100644
--- a/net/6tunnel/Makefile
+++ b/net/6tunnel/Makefile
@@ -18,7 +18,6 @@ COMMENT= TCP proxy for applications that don't speak IPv6
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}rc2
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= autoconf:262
ALL_TARGET= default
diff --git a/net/beacon/Makefile b/net/beacon/Makefile
index 000f2a74ddbf..e90028ff48b7 100644
--- a/net/beacon/Makefile
+++ b/net/beacon/Makefile
@@ -22,7 +22,6 @@ WWW_DIR?= ${PREFIX}/www/
PLIST_SUB+= VERSION=${PORTVERSION}
USE_PERL5= yes
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.ifdef(WITHOUT_IPV6)
CONFIGURE_ARGS=
diff --git a/net/binkd/Makefile b/net/binkd/Makefile
index 00a4475af8f7..cd6d3b6e2254 100644
--- a/net/binkd/Makefile
+++ b/net/binkd/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_ZIP= yes
USE_RC_SUBR= binkd.sh
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN8= binkd.8
diff --git a/net/bsdproxy/Makefile b/net/bsdproxy/Makefile
index 95bb1cdea252..d4b469f412c6 100644
--- a/net/bsdproxy/Makefile
+++ b/net/bsdproxy/Makefile
@@ -15,7 +15,6 @@ COMMENT= A TCP proxy, demonstrating use of the kevent(2)/kqueue(2) API
GNU_CONFIGURE= yes
USE_GNOME= glib12
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= ChangeLog README
diff --git a/net/c3270/Makefile b/net/c3270/Makefile
index 2fd404eb93ca..db9a3b023218 100644
--- a/net/c3270/Makefile
+++ b/net/c3270/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/([0-9]\.[0-9])(\..*)/\1/}
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_OPENSSL= yes
diff --git a/net/coda6_server/Makefile b/net/coda6_server/Makefile
index 319c7528df20..e6a47f7418d9 100644
--- a/net/coda6_server/Makefile
+++ b/net/coda6_server/Makefile
@@ -25,7 +25,6 @@ LIB_DEPENDS= lwp.2:${PORTSDIR}/devel/lwp \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-${CODA_SUITE}
diff --git a/net/dante/Makefile b/net/dante/Makefile
index 7823d5040152..375ec32b9f5d 100644
--- a/net/dante/Makefile
+++ b/net/dante/Makefile
@@ -18,7 +18,6 @@ COMMENT= A circuit-level firewall/proxy
CONFLICTS= socks5-[0-9]*
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-socks-conf=${PREFIX}/etc/socks.conf \
--with-sockd-conf=${PREFIX}/etc/sockd.conf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
diff --git a/net/diradmin/Makefile b/net/diradmin/Makefile
index 297d0f2e1e4f..30ad9ff5ea80 100644
--- a/net/diradmin/Makefile
+++ b/net/diradmin/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= lewiz@compsoc.man.ac.uk
COMMENT= A smart LDAP directory management tool
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_GNOME= gnomelibs
USE_OPENLDAP= yes
diff --git a/net/etrace/Makefile b/net/etrace/Makefile
index 59e1c07c30d1..d05953f37162 100644
--- a/net/etrace/Makefile
+++ b/net/etrace/Makefile
@@ -21,7 +21,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
WRKSRC= ${WRKDIR}/etrace
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libdnet=${PREFIX}
MAN8= etrace.8
diff --git a/net/fspclient/Makefile b/net/fspclient/Makefile
index 5af96bc97dd0..1de610361bb9 100644
--- a/net/fspclient/Makefile
+++ b/net/fspclient/Makefile
@@ -16,7 +16,6 @@ COMMENT= A ftp-like client for the FSP service
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= fsp.1
PLIST_FILES= bin/fsp
diff --git a/net/gatekeeper/Makefile b/net/gatekeeper/Makefile
index 35669951e73a..1d3a3de22a5e 100644
--- a/net/gatekeeper/Makefile
+++ b/net/gatekeeper/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS= h323_r.1:${PORTSDIR}/net/openh323
USE_RC_SUBR= gnugk.sh
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --disable-firebird
USE_GMAKE= yes
diff --git a/net/gnu-radius/Makefile b/net/gnu-radius/Makefile
index de106d62f646..0ef0516177a2 100644
--- a/net/gnu-radius/Makefile
+++ b/net/gnu-radius/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libltdl:15 libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_SUB= PORTVERSION=${PORTVERSION}
SUB_FILES= radiusd.sh
diff --git a/net/gutenfetch/Makefile b/net/gutenfetch/Makefile
index 1829e26a13fd..0d72f1d5f8b1 100644
--- a/net/gutenfetch/Makefile
+++ b/net/gutenfetch/Makefile
@@ -17,7 +17,6 @@ COMMENT= Fetch listings and books from Project Gutenberg
LIB_DEPENDS= gutenfetch:${PORTSDIR}/devel/libgutenfetch
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_GMAKE= yes
diff --git a/net/hidentd/Makefile b/net/hidentd/Makefile
index 8e7fdabeb406..751bfd4a24c1 100644
--- a/net/hidentd/Makefile
+++ b/net/hidentd/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Simple and secure ident (RFC1413) server
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN8= hidentd.8
diff --git a/net/honeyd/Makefile b/net/honeyd/Makefile
index 9ca8ce519862..5ff1760a1cf6 100644
--- a/net/honeyd/Makefile
+++ b/net/honeyd/Makefile
@@ -21,7 +21,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libdnet=${LOCALBASE} \
--with-libevent=${LOCALBASE}
diff --git a/net/icpld/Makefile b/net/icpld/Makefile
index e91eeaab978b..0328dfc9d772 100644
--- a/net/icpld/Makefile
+++ b/net/icpld/Makefile
@@ -16,7 +16,6 @@ COMMENT= Internet connection performance logging daemon
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ${PORTNAME}.1
diff --git a/net/ipsumdump/Makefile b/net/ipsumdump/Makefile
index 67315e87ea4e..1e0112d54bd2 100644
--- a/net/ipsumdump/Makefile
+++ b/net/ipsumdump/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= miwi@FreeBSD.org
COMMENT= Produce ASCII summary of network traffic or tcpdump(1) file
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5_BUILD=yes
USE_GMAKE= yes
diff --git a/net/iscsi-target/Makefile b/net/iscsi-target/Makefile
index 8eedaa448195..e4aef107620d 100644
--- a/net/iscsi-target/Makefile
+++ b/net/iscsi-target/Makefile
@@ -20,7 +20,6 @@ COMMENT= Implementation of userland ISCSI target (from NetBSD)
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN5= targets.5
MAN8= iscsi-target.8
diff --git a/net/lam/Makefile b/net/lam/Makefile
index c336d675c9ad..b9756cb09b5e 100644
--- a/net/lam/Makefile
+++ b/net/lam/Makefile
@@ -18,7 +18,6 @@ USE_BZIP2= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-rsh=ssh --without-fc
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= hboot.1 \
diff --git a/net/latd/Makefile b/net/latd/Makefile
index f79f9699dfa0..517f3fabf7a0 100644
--- a/net/latd/Makefile
+++ b/net/latd/Makefile
@@ -17,7 +17,6 @@ COMMENT= The linux-decnet project LAT protocol suite
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= -Wno-deprecated
MAN1= llogin.1
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index bf7a226fbfd4..3361265ac44d 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -15,7 +15,6 @@ MAINTAINER?= onatan@gmail.com
COMMENT= A simple interface to low level networking routines
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
.if !defined(LIBDNET_SLAVE)
diff --git a/net/libnet-devel/Makefile b/net/libnet-devel/Makefile
index 512811396767..fa16513d63a1 100644
--- a/net/libnet-devel/Makefile
+++ b/net/libnet-devel/Makefile
@@ -19,7 +19,6 @@ COMMENT= A C library for creating IP packets (development version)
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${SHORT_VER}
diff --git a/net/libnet/Makefile b/net/libnet/Makefile
index d58dcad33d41..b25e34893af7 100644
--- a/net/libnet/Makefile
+++ b/net/libnet/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= shipley@dis.org
COMMENT= A C library for creating IP packets
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
diff --git a/net/libnetdude/Makefile b/net/libnetdude/Makefile
index 540c0767f79f..f0868a5c004a 100644
--- a/net/libnetdude/Makefile
+++ b/net/libnetdude/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= pcapnav.0:${PORTSDIR}/net/libpcapnav
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GNOME= glib12
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
USE_LDCONFIG= yes
diff --git a/net/libnids/Makefile b/net/libnids/Makefile
index 420ed72bb630..840df65124da 100644
--- a/net/libnids/Makefile
+++ b/net/libnids/Makefile
@@ -21,7 +21,6 @@ OPTIONS= LIBNET "Include code requiring libnet" ON \
WANT_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/net/libnss-mysql/Makefile b/net/libnss-mysql/Makefile
index ac8baa8087a2..82c3d78533f5 100644
--- a/net/libnss-mysql/Makefile
+++ b/net/libnss-mysql/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= vd@FreeBSD.org
COMMENT= NSS module using a MySQL database for backend
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/net/librsync/Makefile b/net/librsync/Makefile
index bfdcbe8cd6e4..30264856eb13 100644
--- a/net/librsync/Makefile
+++ b/net/librsync/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-shared --disable-trace
diff --git a/net/libtrace/Makefile b/net/libtrace/Makefile
index 9f8c49968313..e2dac8bc5714 100644
--- a/net/libtrace/Makefile
+++ b/net/libtrace/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= matt@peterson.org
COMMENT= C library for network device, raw & compressed network flows
CONFIGURE_ARGS= --with-libpcap=${LOCALBASE}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
GNU_CONFIGURE= yes
diff --git a/net/minisapserver/Makefile b/net/minisapserver/Makefile
index 94dc41303fdf..9e1f45a57025 100644
--- a/net/minisapserver/Makefile
+++ b/net/minisapserver/Makefile
@@ -15,7 +15,6 @@ COMMENT= SAP and SLP announcement for the VLC Media Player
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= sapserver.1
PLIST_FILES= bin/sapserver etc/sap.cfg-dist etc/rc.d/sapserver.sh
diff --git a/net/mpich2/Makefile b/net/mpich2/Makefile
index 50218342841b..7d5ccf4972ed 100644
--- a/net/mpich2/Makefile
+++ b/net/mpich2/Makefile
@@ -33,7 +33,6 @@ USE_PERL5_BUILD=yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-romio --enable-sharedlibs=gcc
CONFIGURE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" LDFLAGS="${PTHREAD_LIBS}" F77="${F77}" FFLAGS="${FFLAGS}"
FFLAGS?= -O2
diff --git a/net/nast/Makefile b/net/nast/Makefile
index 9a384d2d86e1..0a326873312f 100644
--- a/net/nast/Makefile
+++ b/net/nast/Makefile
@@ -21,7 +21,6 @@ BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet
MAN8= nast.8
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LIBS="${PTHREAD_LIBS}"
USE_GMAKE= yes
diff --git a/net/nc6/Makefile b/net/nc6/Makefile
index acde2ba5d1b9..6539dabb6429 100644
--- a/net/nc6/Makefile
+++ b/net/nc6/Makefile
@@ -20,7 +20,6 @@ USE_ICONV= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
diff --git a/net/nepenthes/Makefile b/net/nepenthes/Makefile
index aadb3b0e81a4..1d2a245038b7 100644
--- a/net/nepenthes/Makefile
+++ b/net/nepenthes/Makefile
@@ -32,7 +32,6 @@ CONFIGURE_ARGS+= --enable-debug-logging
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= README README.VFS logo-shaded.svg
MAN8= nepenthes.8
diff --git a/net/netatalk/Makefile b/net/netatalk/Makefile
index df5e44502c8d..4f7bae079260 100644
--- a/net/netatalk/Makefile
+++ b/net/netatalk/Makefile
@@ -56,7 +56,6 @@ PLIST_SUB+= TIMELORD=""
PLIST_SUB+= TIMELORD="@comment "
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_PERL5= yes
FILES= AppleVolumes.default AppleVolumes.system afpd.conf \
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 94b0f514443c..d5a48bd54a92 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -32,7 +32,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
PLIST_SUB= DBDIR=${DBDIR} \
PORTVERSION=${PORTVERSION}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${DBDIR} \
--with-ossl-root=${OPENSSLBASE} \
--with-gdbm-root=${LOCALBASE} \
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index d9b976be876f..06f5d7c8c5e1 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -20,7 +20,6 @@ COMMENT= The Network Time Protocol Distribution
LATEST_LINK= ${PORTNAME}-dev
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= sntp.1
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index 623eb9695a76..c77b202ec27d 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -20,7 +20,6 @@ COMMENT= The Network Time Protocol Distribution
LATEST_LINK= ${PORTNAME}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= automake:19
.if defined(ENABLE_RAWDCF)
diff --git a/net/nylon/Makefile b/net/nylon/Makefile
index b4f5859ca0aa..c69d5b622af7 100644
--- a/net/nylon/Makefile
+++ b/net/nylon/Makefile
@@ -21,7 +21,6 @@ USE_RC_SUBR= nylon.sh
GNU_CONFIGURE= yes
# Necessary for $PREFIX to work:
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libevent=${LOCALBASE}
MAN1= nylon.1
diff --git a/net/openldap23-server/Makefile b/net/openldap23-server/Makefile
index 9d5102b13cc4..57c0a711d768 100644
--- a/net/openldap23-server/Makefile
+++ b/net/openldap23-server/Makefile
@@ -379,7 +379,6 @@ CPPFLAGS+= ${PTHREAD_CFLAGS} \
LDFLAGS+= -L${LOCALBASE}/lib
#LIBS+= ${PTHREAD_LIBS}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
LIBS="${LIBS}"
diff --git a/net/openldap24-server/Makefile b/net/openldap24-server/Makefile
index fd4f59f769b1..cb2959009a9a 100644
--- a/net/openldap24-server/Makefile
+++ b/net/openldap24-server/Makefile
@@ -425,7 +425,6 @@ CPPFLAGS+= ${PTHREAD_CFLAGS} \
LDFLAGS+= -L${LOCALBASE}/lib
#LIBS+= ${PTHREAD_LIBS}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
LIBS="${LIBS}"
diff --git a/net/openslp/Makefile b/net/openslp/Makefile
index 52936984b35c..97fe77117cb2 100644
--- a/net/openslp/Makefile
+++ b/net/openslp/Makefile
@@ -21,7 +21,6 @@ USE_OPENSSL= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/openslp \
--localstatedir=/var
-CONFIGURE_TARGET=--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
USE_RC_SUBR= yes
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
diff --git a/net/ossp-sa/Makefile b/net/ossp-sa/Makefile
index 6f07438f2faf..3a3612b45355 100644
--- a/net/ossp-sa/Makefile
+++ b/net/ossp-sa/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= ex.10:${PORTSDIR}/devel/ossp-ex
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ex=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/net/panoptis/Makefile b/net/panoptis/Makefile
index 8ed08dee4b94..1422cfb24299 100644
--- a/net/panoptis/Makefile
+++ b/net/panoptis/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= ccgnu2-1.6.0:${PORTSDIR}/devel/commoncpp
GNU_CONFIGURE= yes
USE_PYTHON= yes
CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' LDFLAGS='${LDFLAGS}'
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/panoptis bin/mail.py bin/pview.py bin/speed.py
do-install:
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 001fe764ace8..690325460bf2 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -24,7 +24,6 @@ COMMENT= Free RIPv1, RIPv2, OSPFv2, BGP4, IS-IS route software
CONFLICTS= openbgpd-[0-9]* zebra-0*
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
diff --git a/net/rfbproxy/Makefile b/net/rfbproxy/Makefile
index 61bdcae00780..e0de011437e7 100644
--- a/net/rfbproxy/Makefile
+++ b/net/rfbproxy/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A simple tool for recording VNC sessions
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= rfbproxy.1
PLIST_FILES= bin/rfbproxy
diff --git a/net/ripe-whois/Makefile b/net/ripe-whois/Makefile
index f7bad8a7d072..74eeab705739 100644
--- a/net/ripe-whois/Makefile
+++ b/net/ripe-whois/Makefile
@@ -18,7 +18,6 @@ COMMENT= The RIPE whois client version 3
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= whois3.1
PLIST_FILES= bin/whois3
diff --git a/net/rp-pppoe/Makefile b/net/rp-pppoe/Makefile
index a71e61d10512..64adf12e2623 100644
--- a/net/rp-pppoe/Makefile
+++ b/net/rp-pppoe/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= matthias.andree@gmx.de
COMMENT= The popular Roaring Penguin's PPPoE software
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PATCH_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${WRKSRC}/src
BUILD_WRKSRC= ${WRKSRC}/src
diff --git a/net/rsync/Makefile b/net/rsync/Makefile
index d0c8c5514200..d1631ff625ef 100644
--- a/net/rsync/Makefile
+++ b/net/rsync/Makefile
@@ -28,7 +28,6 @@ USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug --enable-ipv6 \
--with-rsyncd-conf=${PREFIX}/etc/rsyncd.conf
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if !defined(NOPORTDOCS)
PORTDOCS= NEWS README csprotocol.txt tech_report.tex
diff --git a/net/samba-pdbsql/Makefile b/net/samba-pdbsql/Makefile
index 6b37ab390f5a..1796967af77b 100644
--- a/net/samba-pdbsql/Makefile
+++ b/net/samba-pdbsql/Makefile
@@ -43,7 +43,6 @@ SAMBA_PDBDIR= ${SAMBA_MODULEDIR}/pdb
BUILD_DEPENDS+= ${NONEXISTENT}:${PORTSDIR}/${SAMBA_PORT}:configure
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --libdir=${SAMBA_PDBDIR} \
--with-samba-dir=${SAMBA_WRKSRC}
diff --git a/net/samba3/Makefile b/net/samba3/Makefile
index 72caa523c0da..50e1342cb646 100644
--- a/net/samba3/Makefile
+++ b/net/samba3/Makefile
@@ -44,8 +44,6 @@ SAMBA_LIB= lib
SAMBA_LIBDIR= ${PREFIX}/${SAMBA_LIB}
SAMBA_MODULEDIR= ${SAMBA_LIBDIR}/samba
-CONFIGURE_TARGET= --build="${MACHINE_ARCH}-portbld-freebsd${OSREL}"
-
CONFIGURE_ARGS+= --exec-prefix="${PREFIX}" \
--localstatedir="${VARDIR}" \
--with-configdir="${SAMBA_CONFDIR}" \
diff --git a/net/samba4wins/Makefile b/net/samba4wins/Makefile
index c765ff638521..ffed10dc3102 100644
--- a/net/samba4wins/Makefile
+++ b/net/samba4wins/Makefile
@@ -35,8 +35,6 @@ S4W_CONFDIR= ${PREFIX}/etc
S4W_LIBDIR= ${PREFIX}/lib/${PORTNAME}
S4W_CONFIG= ${S4W_CONFDIR}/samba4wins.conf
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
CONFIGURE_ARGS+= --exec-prefix=${PREFIX} \
--datadir=${S4W_DATADIR} \
--libdir=${S4W_LIBDIR} \
diff --git a/net/serveez/Makefile b/net/serveez/Makefile
index e5b2d71a8153..2dbc6872d866 100644
--- a/net/serveez/Makefile
+++ b/net/serveez/Makefile
@@ -23,7 +23,6 @@ GUILE_CONFIG?= ${LOCALBASE}/bin/guile-config
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/net/shmux/Makefile b/net/shmux/Makefile
index bb3c3f5f75a0..6994a788d95e 100644
--- a/net/shmux/Makefile
+++ b/net/shmux/Makefile
@@ -19,7 +19,6 @@ OPTIONS= FPING "Use fping utility" on \
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= ${PORTNAME}
diff --git a/net/silc-client/Makefile b/net/silc-client/Makefile
index f60464c8dd00..088c0b36a64b 100644
--- a/net/silc-client/Makefile
+++ b/net/silc-client/Makefile
@@ -29,7 +29,6 @@ COMMENT= Secure Internet Live Conferencing (SILC) network client
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GNOME= glib12
USE_GMAKE= yes
CONFIGURE_ARGS= --docdir=${DOCSDIR} \
diff --git a/net/siproxd/Makefile b/net/siproxd/Makefile
index 78e61d50f995..0494d937cd16 100644
--- a/net/siproxd/Makefile
+++ b/net/siproxd/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= osip2.5:${PORTSDIR}/net/libosip
USE_RC_SUBR= siproxd.sh
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --with-libosip-prefix=${PREFIX}
+CONFIGURE_ARGS= --with-libosip-prefix=${PREFIX}
PORTDOCS1= AUTHORS ChangeLog README RELNOTES
PORTDOCS2= FAQ KNOWN_BUGS RFC3261_compliance.txt \
diff --git a/net/ss5/Makefile b/net/ss5/Makefile
index 77c1e1b4d7b3..3eff5acfd012 100644
--- a/net/ss5/Makefile
+++ b/net/ss5/Makefile
@@ -21,7 +21,6 @@ USE_OPENLDAP= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-binpathbase=${PREFIX}/sbin \
--with-docpathbase=${PREFIX}/share/doc \
--with-confpathbase=${PREFIX}/etc \
diff --git a/net/tac_plus4/Makefile b/net/tac_plus4/Makefile
index bf5d72e92971..8381216f0ec0 100644
--- a/net/tac_plus4/Makefile
+++ b/net/tac_plus4/Makefile
@@ -17,7 +17,6 @@ COMMENT= The Cisco remote authentication/authorization/accounting server
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_RC_SUBR= tac_plus
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-groupid=$$(/usr/bin/id -g tacacs 2>/dev/null || echo '559') \
--with-userid=$$(/usr/bin/id -u tacacs 2>/dev/null || echo '559')
diff --git a/net/tacshell/Makefile b/net/tacshell/Makefile
index 3d13a2ccff3f..a67a43afd560 100644
--- a/net/tacshell/Makefile
+++ b/net/tacshell/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Shell authentication for TACACS+ protocol
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README WHATSNEW ChangeLog
PLIST_FILES= bin/tacshell etc/tacshell.conf.sample
diff --git a/net/tapidbus/Makefile b/net/tapidbus/Makefile
index d391cb04a5fc..8d72a2c776e4 100644
--- a/net/tapidbus/Makefile
+++ b/net/tapidbus/Makefile
@@ -23,8 +23,6 @@ USE_GMAKE= yes
USE_GNOME= pkgconfig glib20 gnomehack
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
diff --git a/net/tcpstat/Makefile b/net/tcpstat/Makefile
index 8ecacda0db8e..7ecd89563fcf 100644
--- a/net/tcpstat/Makefile
+++ b/net/tcpstat/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A program to report various network statistics
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= tcpstat.1 tcpprof.1
DOCS= AUTHORS ChangeLog LICENSE README doc/Tips_and_Tricks.txt
diff --git a/net/tcptraceroute-devel/Makefile b/net/tcptraceroute-devel/Makefile
index 020b3b9098de..5a88d63e824d 100644
--- a/net/tcptraceroute-devel/Makefile
+++ b/net/tcptraceroute-devel/Makefile
@@ -27,7 +27,6 @@ MAN1= tcptraceroute.1
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config
CONFIGURE_ARGS= --with-libpcap=/usr --bindir=${PREFIX}/sbin
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALL_TARGET= install-exec-am install-man
diff --git a/net/tn5250/Makefile b/net/tn5250/Makefile
index fe3a198c9b7d..74f4a384d4d5 100644
--- a/net/tn5250/Makefile
+++ b/net/tn5250/Makefile
@@ -19,7 +19,6 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack gnometarget pkgconfig
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-os-dir=no --with-ssl=${OPENSSLBASE}
USE_LDCONFIG= yes
diff --git a/net/trickle/Makefile b/net/trickle/Makefile
index d7b16e234613..fbc84589b207 100644
--- a/net/trickle/Makefile
+++ b/net/trickle/Makefile
@@ -24,7 +24,6 @@ CONFIGURE_ARGS+=--with-libevent=${LOCALBASE} \
--sysconfdir=${PREFIX}/etc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= trickle.1
MAN5= trickled.conf.5
diff --git a/net/twinkle/Makefile b/net/twinkle/Makefile
index f8803a742c7b..bd0a4903c24b 100644
--- a/net/twinkle/Makefile
+++ b/net/twinkle/Makefile
@@ -33,7 +33,6 @@ USE_PERL5= yes
USE_QT_VER= 3
CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX} QTDIR=${LOCALBASE}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= QMAKESPEC="${QMAKESPEC}" \
CFLAGS="${CFLAGS}"
MAKE_ENV= QTDIR=${QT_PREFIX}
diff --git a/net/uplog/Makefile b/net/uplog/Makefile
index b611e8c6a25a..0a7833146212 100644
--- a/net/uplog/Makefile
+++ b/net/uplog/Makefile
@@ -16,7 +16,6 @@ COMMENT= UDP-based ping programm
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= README
PLIST_FILES= bin/uplog
diff --git a/net/vomit/Makefile b/net/vomit/Makefile
index ee4316459649..287d137f8924 100644
--- a/net/vomit/Makefile
+++ b/net/vomit/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent \
dnet.1:${PORTSDIR}/net/libdnet
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/net/wol/Makefile b/net/wol/Makefile
index ff784313d56f..934a2c780a0e 100644
--- a/net/wol/Makefile
+++ b/net/wol/Makefile
@@ -21,7 +21,6 @@ USE_PERL5_BUILD= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
diff --git a/net/xmlrpc-epi/Makefile b/net/xmlrpc-epi/Makefile
index 73b662b45f44..69bbb6d07377 100644
--- a/net/xmlrpc-epi/Makefile
+++ b/net/xmlrpc-epi/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib -liconv"
CONFIGURE_ARGS= --program-transform="s|^|xre-|" \
--with-expat=/usr/local
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PORTDOCS= AUTHORS ChangeLog NEWS README
diff --git a/net/xorp/Makefile b/net/xorp/Makefile
index 80f2e85c6e26..1e93ff06dad1 100644
--- a/net/xorp/Makefile
+++ b/net/xorp/Makefile
@@ -23,11 +23,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX}/${PORTNAME} \
--with-comment='FreeBSD port: ${PKGNAME}' \
- --with-openssl=/usr \
- ${CONFIGURE_TARGET}
+ --with-openssl=/usr
CONFIGURE_ENV+= CXXFLAGS="-Wno-uninitialized"
diff --git a/news/fidogate-ds/Makefile b/news/fidogate-ds/Makefile
index 4ef64745b26e..3110306d1be2 100644
--- a/news/fidogate-ds/Makefile
+++ b/news/fidogate-ds/Makefile
@@ -79,7 +79,6 @@ CONFIGURE_ARGS+= --libexec=${PREFIX}/libexec/fidogate \
--with-vardir=${VARDIR} \
--with-spooldir=${SPOOLDIR} \
--with-btbasedir=${BTBASEDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= doc/README.ru doc/README doc/FAQ.ru doc/FIDOGATE+tracker.ru \
ChangeLog Changes.ru doc/old/FAQ_fidogate doc/FAQ_Config.ru \
diff --git a/news/leafnode/Makefile b/news/leafnode/Makefile
index da943d7e68ae..26bd0790b676 100644
--- a/news/leafnode/Makefile
+++ b/news/leafnode/Makefile
@@ -39,7 +39,6 @@ PLIST_SUB= SPOOLDIR=${LEAFNODE_SPOOLDIR}
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/leafnode \
--with-spooldir=${LEAFNODE_SPOOLDIR} --with-ipv6 \
--exec-prefix=${PREFIX}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message pkg-install
SUB_LIST= SPOOLDIR=${LEAFNODE_SPOOLDIR}
diff --git a/news/multisuck/Makefile b/news/multisuck/Makefile
index 240093b34b5b..5c7ef7d6b3ec 100644
--- a/news/multisuck/Makefile
+++ b/news/multisuck/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-server/conn news suck
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/msuck ${PREFIX}/bin
diff --git a/news/newsfish/Makefile b/news/newsfish/Makefile
index 785d94ef199a..9e281eec05a0 100644
--- a/news/newsfish/Makefile
+++ b/news/newsfish/Makefile
@@ -15,7 +15,6 @@ COMMENT= Batch USENET news reader with filter capabilities
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= newsfish.1
PLIST_FILES= bin/newsfish
diff --git a/news/nget/Makefile b/news/nget/Makefile
index b02b669f2e47..256160fafca8 100644
--- a/news/nget/Makefile
+++ b/news/nget/Makefile
@@ -19,7 +19,6 @@ COMMENT= Auto-resuming command line nntp file grabber
MAN1= nget.1 ngetlite.1
MANCOMPRESSED= no
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
post-extract:
diff --git a/news/noffle/Makefile b/news/noffle/Makefile
index 34cbdeb55713..7ed1457fd3d9 100644
--- a/news/noffle/Makefile
+++ b/news/noffle/Makefile
@@ -22,7 +22,6 @@ CONFIGURE_ARGS+=--with-configfile=${LOCALBASE}/etc/noffle.conf \
--with-usersfile=${LOCALBASE}/etc/noffle.users
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SPOOL_DIR= /var/spool/noffle
PLIST_SUB+= SPOOL_DIR=${SPOOL_DIR}
diff --git a/news/yencode/Makefile b/news/yencode/Makefile
index dc7c0f15e916..6a5b4004b827 100644
--- a/news/yencode/Makefile
+++ b/news/yencode/Makefile
@@ -18,7 +18,6 @@ COMMENT= A free (GPL) encoder and decoder for the yEnc Usenet file format
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= ydecode.1 yencode.1 ypost.1
diff --git a/news/yydecode/Makefile b/news/yydecode/Makefile
index 3a24de84420c..3cbf9525eace 100644
--- a/news/yydecode/Makefile
+++ b/news/yydecode/Makefile
@@ -17,7 +17,6 @@ COMMENT= Tool to decode yEnc encoded files
MAN1= yydecode.1
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/yydecode
diff --git a/palm/synce-hal/Makefile b/palm/synce-hal/Makefile
index 849f5975f942..8c7cc1b18e20 100644
--- a/palm/synce-hal/Makefile
+++ b/palm/synce-hal/Makefile
@@ -23,7 +23,6 @@ LIB_DEPENDS= synce.0:${PORTSDIR}/palm/synce-libsynce \
USE_ICONV= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
PLIST_FILES= libexec/hal-dccm \
diff --git a/palm/synce-kde/Makefile b/palm/synce-kde/Makefile
index a34186cb9e7f..bf0ae5406f9b 100644
--- a/palm/synce-kde/Makefile
+++ b/palm/synce-kde/Makefile
@@ -30,7 +30,6 @@ USE_KDELIBS_VER=3
USE_GMAKE= yes
USE_ICONV= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
INSTALLS_ICONS= yes
diff --git a/palm/synce-libsynce/Makefile b/palm/synce-libsynce/Makefile
index 60f97f679b9d..b4a45f289fcb 100644
--- a/palm/synce-libsynce/Makefile
+++ b/palm/synce-libsynce/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
USE_ICONV= yes
USE_GNOME= gnomehack gnometarget
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-libiconv-prefix="${LOCALBASE}" \
--enable-dccm-file-support=no \
--enable-hal-support=yes \
diff --git a/polish/ekg2/Makefile b/polish/ekg2/Makefile
index 37a3b100e5a5..118d43e2ced7 100644
--- a/polish/ekg2/Makefile
+++ b/polish/ekg2/Makefile
@@ -22,7 +22,6 @@ GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
USE_GETTEXT= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-shared \
--disable-static \
--enable-dynamic \
diff --git a/ports-mgmt/portdowngrade/Makefile b/ports-mgmt/portdowngrade/Makefile
index 3cd064a02c86..5ba9daf339e4 100644
--- a/ports-mgmt/portdowngrade/Makefile
+++ b/ports-mgmt/portdowngrade/Makefile
@@ -26,7 +26,6 @@ CONFIGURE_ARGS+= --enable-default-server=${DEFAULT_CVS_SERVER}
.endif
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_BZIP2= yes
diff --git a/ports-mgmt/portmanager/Makefile b/ports-mgmt/portmanager/Makefile
index 79026604b1d2..7487081ee2dd 100644
--- a/ports-mgmt/portmanager/Makefile
+++ b/ports-mgmt/portmanager/Makefile
@@ -21,7 +21,6 @@ MAN3= libMG.3 MGdbAdd.3 MGdbCreate.3 MGdbDelete.3 \
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INSTALL_TARGET= install info
#
diff --git a/print/cpp2latex/Makefile b/print/cpp2latex/Makefile
index 227be37bee6b..7c46142d05d3 100644
--- a/print/cpp2latex/Makefile
+++ b/print/cpp2latex/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Convert C++ source to a file you can input in an LaTeX-document
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/cpp2latex
PORTDOCS= AUTHORS ChangeLog README TODO
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index e593adbd7ca6..013875d38dae 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -32,7 +32,6 @@ CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
DSOFLAGS= -Wl,-rpath,${PREFIX}/lib -L${PREFIX}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" DSOFLAGS="${DSOFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --localstatedir=/var \
--disable-slp \
--disable-gssapi \
diff --git a/print/cups-pstoraster/Makefile b/print/cups-pstoraster/Makefile
index b624169ee104..df33255a4724 100644
--- a/print/cups-pstoraster/Makefile
+++ b/print/cups-pstoraster/Makefile
@@ -37,7 +37,6 @@ USE_GMAKE= yes
# We just need the ghostscript fonts, nothing more
USE_GHOSTSCRIPT_RUN= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --without-x --with-gs=espgs
diff --git a/print/enscript-letter/Makefile b/print/enscript-letter/Makefile
index 4e17cc5e008c..e2c349abfa28 100644
--- a/print/enscript-letter/Makefile
+++ b/print/enscript-letter/Makefile
@@ -18,7 +18,6 @@ COMMENT= ASCII to PostScript filter
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-media=${PS}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INFO= enscript
MAN1= diffpp.1 enscript.1 sliceprint.1 states.1
diff --git a/print/foomatic-db/Makefile b/print/foomatic-db/Makefile
index 9646ade0da8e..5df023d92a99 100644
--- a/print/foomatic-db/Makefile
+++ b/print/foomatic-db/Makefile
@@ -26,7 +26,6 @@ USE_PERL5= yes
USE_AUTOTOOLS= automake:15:env autoconf:262
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
FOOMATICVER= 3.0
WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
diff --git a/print/kaspaliste/Makefile b/print/kaspaliste/Makefile
index c215add5dbf3..24f6ee4024ac 100644
--- a/print/kaspaliste/Makefile
+++ b/print/kaspaliste/Makefile
@@ -19,9 +19,7 @@ USE_PGSQL= yes
USE_KDEBASE_VER= 3
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --with-pg-includes=${LOCALBASE}/include \
+CONFIGURE_ARGS+= --with-pg-includes=${LOCALBASE}/include \
--with-pg-libs=${LOCALBASE}/lib
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/print/libotf/Makefile b/print/libotf/Makefile
index ec9bd92933e4..5ce50ddada1e 100644
--- a/print/libotf/Makefile
+++ b/print/libotf/Makefile
@@ -17,7 +17,6 @@ LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
post-patch:
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile
index 575992b6af8c..f15ec8eabfa0 100644
--- a/print/libpaper/Makefile
+++ b/print/libpaper/Makefile
@@ -19,7 +19,6 @@ COMMENT= A library providing routines for paper size management
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_ARGS= --build=${CONFIGURE_TARGET}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/print/magicfilter/Makefile b/print/magicfilter/Makefile
index a0f85c3c5f97..f3272987f556 100644
--- a/print/magicfilter/Makefile
+++ b/print/magicfilter/Makefile
@@ -16,10 +16,10 @@ COMMENT= Customizable, extensible automatic printer filter
USE_GHOSTSCRIPT= yes
-GNU_CONFIGURE= yes
+HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.sh
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+= --confdir=${PREFIX}/etc \
+CONFIGURE_ARGS+= --prefix=${PREFIX} \
+ --confdir=${PREFIX}/etc \
--filterdir=${PREFIX}/libexec/magicfilter \
--use-fifo
CONFIGURE_ENV+= LOCALBASE=${LOCALBASE}
diff --git a/print/mftrace/Makefile b/print/mftrace/Makefile
index 92abadf22769..1365097780e6 100644
--- a/print/mftrace/Makefile
+++ b/print/mftrace/Makefile
@@ -32,7 +32,6 @@ USE_PYTHON= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= mftrace.1
diff --git a/print/tipograf/Makefile b/print/tipograf/Makefile
index 4be2aa631b3c..6e768e75a8bf 100644
--- a/print/tipograf/Makefile
+++ b/print/tipograf/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= a2ps:${PORTSDIR}/print/a2ps-letter
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-qt-dir=${QT_PREFIX}
QTCPPFLAGS+= ${PTHREAD_CFLAGS}
diff --git a/print/typetools/Makefile b/print/typetools/Makefile
index 7ee6d1c82a43..a4bca633657a 100644
--- a/print/typetools/Makefile
+++ b/print/typetools/Makefile
@@ -18,7 +18,6 @@ COMMENT= Tools for manipulating fonts
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX-base
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-kpathsea=${LOCALBASE}
MAN1= cfftot1.1 mmafm.1 mmpfb.1 otfinfo.1 otftotfm.1 t1dotlessj.1 \
diff --git a/russian/ksocrat/Makefile b/russian/ksocrat/Makefile
index fb0f061f4074..ac4538cd2c28 100644
--- a/russian/ksocrat/Makefile
+++ b/russian/ksocrat/Makefile
@@ -26,7 +26,6 @@ USE_GMAKE= yes
RESTRICTED= "Redistribution not allowed"
NO_CDROM= ${RESTRICTED}
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
post-install:
diff --git a/russian/xruskb/Makefile b/russian/xruskb/Makefile
index 4a564e8c01c0..9cf1b6343f09 100644
--- a/russian/xruskb/Makefile
+++ b/russian/xruskb/Makefile
@@ -18,7 +18,6 @@ USE_XORG= x11 ice xt xmu
USE_BZIP2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --datadir=${PREFIX}/share
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITH_MOTIF)
CONFIGURE_ARGS+= --with-toolkit=motif
diff --git a/science/abinit/Makefile b/science/abinit/Makefile
index 2888364e4806..ceb0689c837c 100644
--- a/science/abinit/Makefile
+++ b/science/abinit/Makefile
@@ -7,7 +7,7 @@
PORTNAME= abinit
PORTVERSION= 5.2.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|maho/abinit|} \
ftp://ftp.abinit.org/pub/abinitio/ABINIT_v${PORTVERSION}/
@@ -20,8 +20,6 @@ CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= autoconf:262
-GNU_HOST= ${ARCH}-portbld-freebsd${OSREL}
-PLIST_SUB= GNU_HOST=${GNU_HOST}
.include <bsd.port.pre.mk>
diff --git a/science/abinit/pkg-plist b/science/abinit/pkg-plist
index f578234e919d..e78bfecd9df5 100644
--- a/science/abinit/pkg-plist
+++ b/science/abinit/pkg-plist
@@ -1,18 +1,18 @@
-abinit/5.2/bin/%%GNU_HOST%%-abinis
-abinit/5.2/bin/%%GNU_HOST%%-abinitgw
-abinit/5.2/bin/%%GNU_HOST%%-mrgddb
-abinit/5.2/bin/%%GNU_HOST%%-mrggkk
-abinit/5.2/bin/%%GNU_HOST%%-mrgscr
-abinit/5.2/bin/%%GNU_HOST%%-anaddb
-abinit/5.2/bin/%%GNU_HOST%%-aim
-abinit/5.2/bin/%%GNU_HOST%%-cut3d
-abinit/5.2/bin/%%GNU_HOST%%-macroave
-abinit/5.2/bin/%%GNU_HOST%%-newsp
-abinit/5.2/bin/%%GNU_HOST%%-conducti
-abinit/5.2/bin/%%GNU_HOST%%-optic
-abinit/5.2/bin/%%GNU_HOST%%-lwf
-abinit/5.2/bin/%%GNU_HOST%%-band2eps
-abinit/5.2/bin/%%GNU_HOST%%-abinetcdf
+abinit/5.2/bin/abinis
+abinit/5.2/bin/abinitgw
+abinit/5.2/bin/mrgddb
+abinit/5.2/bin/mrggkk
+abinit/5.2/bin/mrgscr
+abinit/5.2/bin/anaddb
+abinit/5.2/bin/aim
+abinit/5.2/bin/cut3d
+abinit/5.2/bin/macroave
+abinit/5.2/bin/newsp
+abinit/5.2/bin/conducti
+abinit/5.2/bin/optic
+abinit/5.2/bin/lwf
+abinit/5.2/bin/band2eps
+abinit/5.2/bin/abinetcdf
abinit/5.2/doc/macroave/macroave.tex
abinit/5.2/doc/macroave/README
abinit/5.2/doc/macroave/macroave.pdf
diff --git a/science/bft/Makefile b/science/bft/Makefile
index 4658977ae415..c68d660db17a 100644
--- a/science/bft/Makefile
+++ b/science/bft/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
TESTSBIN= bft_test bft_mem_usage_test bft_printf_test
diff --git a/science/buddy/Makefile b/science/buddy/Makefile
index 2f2d235f3b04..d7b4f08de605 100644
--- a/science/buddy/Makefile
+++ b/science/buddy/Makefile
@@ -17,7 +17,6 @@ COMMENT= A Binary Decision Diagram library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_LDCONFIG= yes
diff --git a/science/chemtool/Makefile b/science/chemtool/Makefile
index f40fb3423c04..97c5bc0d507c 100644
--- a/science/chemtool/Makefile
+++ b/science/chemtool/Makefile
@@ -20,7 +20,6 @@ USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:262
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS+="${CFLAGS}" CPPFLAGS+="${CFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-emf=yes --with-localedir=${PREFIX}
diff --git a/science/ecs/Makefile b/science/ecs/Makefile
index e4da471d8e87..6ea40c72eabd 100644
--- a/science/ecs/Makefile
+++ b/science/ecs/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS= med.2:${PORTSDIR}/french/med \
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-bft=${LOCALBASE} \
--with-hdf5=${LOCALBASE} \
--with-cgns=${LOCALBASE} \
diff --git a/science/elmer-fem/Makefile b/science/elmer-fem/Makefile
index 75ba0067a6e9..b41740d59422 100644
--- a/science/elmer-fem/Makefile
+++ b/science/elmer-fem/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fem
PORTVERSION= 5.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science tk
MASTER_SITES= SF/elmerfem
PKGNAMEPREFIX= elmer-
diff --git a/science/elmer-fem/pkg-plist b/science/elmer-fem/pkg-plist
index af88bab18a3d..3c01fdbdb545 100644
--- a/science/elmer-fem/pkg-plist
+++ b/science/elmer-fem/pkg-plist
@@ -1,4 +1,4 @@
-bin/%%ARCH%%-portbld-freebsd%%OSREL%%-SC2Elmer
+bin/SC2Elmer
bin/ElmerSolver
bin/GebhardtFactors
bin/ViewFactors
diff --git a/science/elmer-matc/Makefile b/science/elmer-matc/Makefile
index 05d9e8bc0514..8d39d69cf307 100644
--- a/science/elmer-matc/Makefile
+++ b/science/elmer-matc/Makefile
@@ -7,7 +7,7 @@
PORTNAME= matc
PORTVERSION= 5.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= SF/elmerfem
PKGNAMEPREFIX= elmer-
diff --git a/science/elmer-matc/pkg-plist b/science/elmer-matc/pkg-plist
index ec1b9ea861b2..c631322bebff 100644
--- a/science/elmer-matc/pkg-plist
+++ b/science/elmer-matc/pkg-plist
@@ -1,4 +1,4 @@
-bin/%%ARCH%%-portbld-freebsd%%OSREL%%-matc
+bin/matc
include/elmer/fnames.h
include/elmer/gra.h
include/elmer/matc.h
diff --git a/science/elmer-meshgen2d/Makefile b/science/elmer-meshgen2d/Makefile
index e618416482fd..8ae44c25ff1d 100644
--- a/science/elmer-meshgen2d/Makefile
+++ b/science/elmer-meshgen2d/Makefile
@@ -7,7 +7,7 @@
PORTNAME= meshgen2d
PORTVERSION= 5.0.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= science
MASTER_SITES= SF/elmerfem
PKGNAMEPREFIX= elmer-
@@ -20,14 +20,7 @@ USE_FORTRAN= yes
GNU_CONFIGURE= yes
ALL_TARGET=
-PLIST_FILES= bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerMesh2D \
- bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-Mesh2D \
- bin/ElmerMesh2D bin/Mesh2D
-
-post-install:
- ${LN} -sf ${PREFIX}/bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerMesh2D \
- ${PREFIX}/bin/ElmerMesh2D
- ${LN} -sf ${PREFIX}/bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-Mesh2D \
- ${PREFIX}/bin/Mesh2D
+PLIST_FILES= bin/ElmerMesh2D \
+ bin/Mesh2D
.include <bsd.port.mk>
diff --git a/science/elmerfront/Makefile b/science/elmerfront/Makefile
index cb39ac1c7a23..787b80f86213 100644
--- a/science/elmerfront/Makefile
+++ b/science/elmerfront/Makefile
@@ -7,7 +7,7 @@
PORTNAME= front
PORTVERSION= 5.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= SF/elmerfem
PKGNAMEPREFIX= elmer
@@ -20,7 +20,7 @@ BUILD_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
${LOCALBASE}/lib/libeioc.a:${PORTSDIR}/science/elmer-eio
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84 \
ElmerSolver:${PORTSDIR}/science/elmer-fem \
- ${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerMesh2D:${PORTSDIR}/science/elmer-meshgen2d
+ ElmerMesh2D:${PORTSDIR}/science/elmer-meshgen2d
# Elmer avoids the new C++ headers because they cause problems
# on older systems (Irix)
@@ -34,6 +34,5 @@ USE_GMAKE= yes
ALL_TARGET=
DATADIR= ${PREFIX}/share/elmerfront
-PLIST_SUB= ARCH=${MACHINE_ARCH}
.include <bsd.port.mk>
diff --git a/science/elmerfront/pkg-plist b/science/elmerfront/pkg-plist
index 685c5065eda7..9fd4d0e4308c 100644
--- a/science/elmerfront/pkg-plist
+++ b/science/elmerfront/pkg-plist
@@ -1,4 +1,4 @@
-bin/%%ARCH%%-portbld-freebsd%%OSREL%%-ElmerFront
+bin/ElmerFront
%%DATADIR%%/lib/SOLVER.KEYWORDS
%%DATADIR%%/lib/SolverAdaptiveFields.edf
%%DATADIR%%/lib/SolverGeneric1Fields.edf
diff --git a/science/elmergrid/Makefile b/science/elmergrid/Makefile
index 63d9d713fbde..e2c0041c6c00 100644
--- a/science/elmergrid/Makefile
+++ b/science/elmergrid/Makefile
@@ -7,7 +7,7 @@
PORTNAME= elmergrid
PORTVERSION= 5.4.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= SF/elmerfem
@@ -17,11 +17,6 @@ COMMENT= A Mesh Manipulation Utility for use with the ELMER FEM package
ALL_TARGET=
GNU_CONFIGURE= yes
-PLIST_FILES= bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerGrid \
- bin/ElmerGrid
-
-post-install:
- ${LN} -sf ${PREFIX}/bin/${MACHINE_ARCH}-portbld-freebsd${OSREL}-ElmerGrid \
- ${PREFIX}/bin/ElmerGrid
+PLIST_FILES= bin/ElmerGrid
.include <bsd.port.mk>
diff --git a/science/elmerpost/Makefile b/science/elmerpost/Makefile
index 3ec4606c0961..6049d5ae1598 100644
--- a/science/elmerpost/Makefile
+++ b/science/elmerpost/Makefile
@@ -7,7 +7,7 @@
PORTNAME= elmerpost
PORTVERSION= 5.4.0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= SF/elmerfem
@@ -30,8 +30,6 @@ ALL_TARGET=
USE_FORTRAN= yes
CONFIGURE_ENV+= FC=${FC} F77=${FC} FCFLAGS=${FCFLAGS}
-PLIST_SUB= ARCH=${MACHINE_ARCH}
-
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
diff --git a/science/elmerpost/pkg-plist b/science/elmerpost/pkg-plist
index 7019777d2aa6..280ab1ee33b1 100644
--- a/science/elmerpost/pkg-plist
+++ b/science/elmerpost/pkg-plist
@@ -1,6 +1,6 @@
-bin/%%ARCH%%-portbld-freebsd%%OSREL%%-ElmerPost
-bin/%%ARCH%%-portbld-freebsd%%OSREL%%-QueryGLXExt
-bin/%%ARCH%%-portbld-freebsd%%OSREL%%-sico2elmer
+bin/ElmerPost
+bin/QueryGLXExt
+bin/sico2elmer
%%DATADIR%%/help/index.html
%%DATADIR%%/help/http.tcl
%%DATADIR%%/help/help.tcl
diff --git a/science/fvm/Makefile b/science/fvm/Makefile
index 59772b63f979..57baf4af5491 100644
--- a/science/fvm/Makefile
+++ b/science/fvm/Makefile
@@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-bft=${LOCALBASE} \
--with-hdf5=${LOCALBASE} \
--with-cgns=${LOCALBASE} \
diff --git a/science/gerris/Makefile b/science/gerris/Makefile
index d7b3e7286903..cf6034bee73c 100644
--- a/science/gerris/Makefile
+++ b/science/gerris/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ARGS+= --disable-dx
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_GNOME= pkgconfig
diff --git a/science/getdp/Makefile b/science/getdp/Makefile
index b716bd018d21..92f0f5d103a3 100644
--- a/science/getdp/Makefile
+++ b/science/getdp/Makefile
@@ -22,7 +22,6 @@ LIB_DEPENDS= gsl.12:${PORTSDIR}/math/gsl \
USE_FORTRAN= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-gsl-prefix=${LOCALBASE} \
--with-blas-lapack-prefix=${LOCALBASE}
WANT_PERL= yes
diff --git a/science/gnudatalanguage/Makefile b/science/gnudatalanguage/Makefile
index e561b9ca21ed..a44b4dbcc43a 100644
--- a/science/gnudatalanguage/Makefile
+++ b/science/gnudatalanguage/Makefile
@@ -37,7 +37,6 @@ LIB_DEPENDS+= plplotd.11:${PORTSDIR}/math/plplot \
readline.5:${PORTSDIR}/devel/readline
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/ImageMagick" \
LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS} -L${LOCALBASE}/lib"
diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile
index ad4893927215..1d210075014f 100644
--- a/science/gromacs/Makefile
+++ b/science/gromacs/Makefile
@@ -25,7 +25,6 @@ RUN_DEPENDS= ${LOCALBASE}/mpich/bin/mpicc:${PORTSDIR}/net/mpich
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
diff --git a/science/kmovisto/Makefile b/science/kmovisto/Makefile
index ee3929f8b833..9ae75626cef6 100644
--- a/science/kmovisto/Makefile
+++ b/science/kmovisto/Makefile
@@ -20,7 +20,6 @@ USE_QT_VER= 3
USE_GL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
diff --git a/science/minc/Makefile b/science/minc/Makefile
index 58dfd66863ea..273174acfe72 100644
--- a/science/minc/Makefile
+++ b/science/minc/Makefile
@@ -33,7 +33,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-static=yes --enable-shared=yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFLICTS= minc-2*
diff --git a/science/minc2/Makefile b/science/minc2/Makefile
index 5507b5abe855..3fe60b756b5b 100644
--- a/science/minc2/Makefile
+++ b/science/minc2/Makefile
@@ -33,7 +33,6 @@ USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
CONFIGURE_ARGS= --enable-shared=yes --enable-static=yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFLICTS= minc-1*
LATEST_LINK= minc2
diff --git a/security/barnyard/Makefile b/security/barnyard/Makefile
index 799153562de7..12a326ab1965 100644
--- a/security/barnyard/Makefile
+++ b/security/barnyard/Makefile
@@ -23,7 +23,6 @@ USE_AUTOTOOLS= autoheader:262 aclocal:19
USE_RC_SUBR= barnyard.sh
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SLAVEDIRS= security/barnyard-sguil6
SUB_FILES= pkg-message
diff --git a/security/beecrypt/Makefile b/security/beecrypt/Makefile
index a302a006ef2d..70a7a254bbdb 100644
--- a/security/beecrypt/Makefile
+++ b/security/beecrypt/Makefile
@@ -17,7 +17,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= BeeCrypt is an open source cryptography library
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/security/bro/Makefile b/security/bro/Makefile
index c8fb5dde9f20..399eabf70857 100644
--- a/security/bro/Makefile
+++ b/security/bro/Makefile
@@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/bro-${PORTVERSION}.1
USE_BISON= build
USE_LDCONFIG= ${PREFIX}/share
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --libdir=${PREFIX}/share
USE_PERL5= yes
diff --git a/security/bubblegum/Makefile b/security/bubblegum/Makefile
index 05670e82ac7c..e7af3a77c60d 100644
--- a/security/bubblegum/Makefile
+++ b/security/bubblegum/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= jadawin@FreeBSD.org
COMMENT= Watch a file for changes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= bubblegum.1
MANCOMPRESSED= no
diff --git a/security/checkpassword-pam/Makefile b/security/checkpassword-pam/Makefile
index d34593850d45..4020889d40db 100644
--- a/security/checkpassword-pam/Makefile
+++ b/security/checkpassword-pam/Makefile
@@ -19,6 +19,4 @@ GNU_CONFIGURE= yes
MAN8= checkpassword-pam.8
PLIST_FILES= bin/checkpassword-pam
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 6406e64d7774..dd64a56fe2b6 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -30,7 +30,6 @@ OPTIONS= ARC "Enable arch archives support" On \
STDERR "Print logs to stderr instead of stdout" Off
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_RC_SUBR= clamav-clamd clamav-freshclam
USE_GMAKE= yes
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index 47283034bec6..2936fe569870 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -27,7 +27,6 @@ OPTIONS= ARC "Enable arch archives support" On \
EXPERIMENTAL "Build experimental code" Off
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
USE_RC_SUBR= clamav-clamd clamav-freshclam
diff --git a/security/clamcour/Makefile b/security/clamcour/Makefile
index 96fcb038c9fa..2e39d6e8dd97 100644
--- a/security/clamcour/Makefile
+++ b/security/clamcour/Makefile
@@ -18,7 +18,6 @@ BUILD_DEPENDS= courier-config:${PORTSDIR}/mail/courier
LIB_DEPENDS= clamav.4:${PORTSDIR}/security/clamav
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-clamav-config=${LOCALBASE}/bin \
--with-courier-config=${LOCALBASE}/bin
diff --git a/security/clamsmtp/Makefile b/security/clamsmtp/Makefile
index 979959d51470..b273a56df402 100644
--- a/security/clamsmtp/Makefile
+++ b/security/clamsmtp/Makefile
@@ -19,8 +19,6 @@ USE_RC_SUBR= clamsmtpd.sh
SUB_LIST= CLAMAV_PID_DIR=${CLAMAV_PID_DIR}
SUB_FILES+= pkg-message
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
CLAMAV_PID_DIR?= /var/run/clamav
MAN5= clamsmtpd.conf.5
diff --git a/security/courier-authlib/Makefile b/security/courier-authlib/Makefile
index 8e0521c31b95..4b97cb4889bc 100644
--- a/security/courier-authlib/Makefile
+++ b/security/courier-authlib/Makefile
@@ -59,7 +59,6 @@ CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' \
LDFLAGS='${LDFLAGS}'
MAKE_ENV:= ${CONFIGURE_ENV}
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-unicode \
--enable-ltdl-install=no \
--without-authcustom \
diff --git a/security/courierpasswd/Makefile b/security/courierpasswd/Makefile
index 004936ebd045..a116d623e4d6 100644
--- a/security/courierpasswd/Makefile
+++ b/security/courierpasswd/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' LDFLAGS='${LDFLAGS}'
MINUID?= 100
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-minuid=${MINUID}
MAN8= courierpasswd.8
diff --git a/security/courieruserinfo/Makefile b/security/courieruserinfo/Makefile
index c1488c8f5a63..44d0b5744b6c 100644
--- a/security/courieruserinfo/Makefile
+++ b/security/courieruserinfo/Makefile
@@ -21,8 +21,6 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS}' LDFLAGS='${LDFLAGS}'
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN8= courieruserinfo.8
post-install:
diff --git a/security/digest/Makefile b/security/digest/Makefile
index 35ac7b293547..97f8fbab8813 100644
--- a/security/digest/Makefile
+++ b/security/digest/Makefile
@@ -24,8 +24,6 @@ MAN1?= ${PORTNAME}.1
PLIST_FILES?= bin/${PORTNAME}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.pre.mk>
test: build
diff --git a/security/distcache-devel/Makefile b/security/distcache-devel/Makefile
index 628551a8d255..b82f0d35e6d1 100644
--- a/security/distcache-devel/Makefile
+++ b/security/distcache-devel/Makefile
@@ -24,7 +24,6 @@ USE_BZIP2= yes
USE_RC_SUBR= dc_server.sh
USE_AUTOTOOLS= libtool:15
USE_OPENSSL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
LIBTOOLFILES= configure ssl/configure
USE_LDCONFIG= yes
diff --git a/security/distcache/Makefile b/security/distcache/Makefile
index 4b933f73f5d9..f54af1346a95 100644
--- a/security/distcache/Makefile
+++ b/security/distcache/Makefile
@@ -22,7 +22,6 @@ USE_BZIP2= yes
USE_RC_SUBR= dc_server.sh
USE_AUTOTOOLS= libtool:15
USE_OPENSSL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
SUB_LIST+= NAME=dc_server
diff --git a/security/doorman/Makefile b/security/doorman/Makefile
index c21b0dfd95f1..7c24d548a9c5 100644
--- a/security/doorman/Makefile
+++ b/security/doorman/Makefile
@@ -28,7 +28,6 @@ MAN1= knock.1
MAN5= knockcf.5 doormand.cf.5 guestlist.5
MAN8= doormand.8
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
SUB_FILES= pkg-message doormand.cf.EXAMPLE
USE_RC_SUBR= doorman.sh
diff --git a/security/fakeroot/Makefile b/security/fakeroot/Makefile
index f8763d27293b..f9926fd6837b 100644
--- a/security/fakeroot/Makefile
+++ b/security/fakeroot/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= ganael.laplanche@martymac.com
COMMENT= Simulate the root user behaviour
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-ipc=tcp
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
diff --git a/security/fcrackzip/Makefile b/security/fcrackzip/Makefile
index 7be7ae1ccb53..f009daab7c31 100644
--- a/security/fcrackzip/Makefile
+++ b/security/fcrackzip/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= stefan@FreeBSD.org
COMMENT= Portable, fast and featureful ZIP password cracker
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5_BUILD=yes
PLIST_FILES= bin/fcrackzip bin/fcrackzipinfo
diff --git a/security/fwbuilder-devel/Makefile b/security/fwbuilder-devel/Makefile
index 359de5faf38d..ca1ea6a92ef9 100644
--- a/security/fwbuilder-devel/Makefile
+++ b/security/fwbuilder-devel/Makefile
@@ -31,7 +31,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
diff --git a/security/fwbuilder/Makefile b/security/fwbuilder/Makefile
index 359de5faf38d..ca1ea6a92ef9 100644
--- a/security/fwbuilder/Makefile
+++ b/security/fwbuilder/Makefile
@@ -31,7 +31,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
diff --git a/security/fwbuilder2/Makefile b/security/fwbuilder2/Makefile
index 359de5faf38d..ca1ea6a92ef9 100644
--- a/security/fwbuilder2/Makefile
+++ b/security/fwbuilder2/Makefile
@@ -31,7 +31,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
diff --git a/security/gnupg1/Makefile b/security/gnupg1/Makefile
index b1b44e1781db..560aa4bfb662 100644
--- a/security/gnupg1/Makefile
+++ b/security/gnupg1/Makefile
@@ -20,7 +20,6 @@ COMMENT= The GNU Privacy Guard
USE_BZIP2= YES
USE_GMAKE= YES
GNU_CONFIGURE= YES
-CONFIGURE_TARGET= --build ${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if ${MACHINE_CPU:Mi586}
MACHINE_ARCH= i586
.endif
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index bcde592a06b9..6eb183b2b2fc 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -33,7 +33,6 @@ USE_AUTOTOOLS= libtool:15
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -fPIC" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-included-lzo --disable-guile
MANCOMPRESSED= no
diff --git a/security/gpgme/Makefile b/security/gpgme/Makefile
index e3d8964d692c..ea79da42fa1a 100644
--- a/security/gpgme/Makefile
+++ b/security/gpgme/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-gpg=${LOCALBASE}/bin/gpg \
--with-gpgsm=${LOCALBASE}/bin/gpgsm \
--includedir=${PREFIX}/include/gpgme
diff --git a/security/hashish/Makefile b/security/hashish/Makefile
index 8185983544ac..46f65eec12fd 100644
--- a/security/hashish/Makefile
+++ b/security/hashish/Makefile
@@ -21,7 +21,6 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcryptopp.a:${PORTSDIR}/security/cryptopp
USE_WX= 2.4
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index f468e060b2e3..7e78978316b5 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -26,7 +26,6 @@ USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared --sysconfdir=${PREFIX}/etc/racoon \
--localstatedir=${STATEDIR:S/\/racoon//} \
--with-pkgversion=freebsd-${PORTVERSION}
diff --git a/security/libfwbuilder-devel/Makefile b/security/libfwbuilder-devel/Makefile
index 5660aad5181f..5b267c7772f8 100644
--- a/security/libfwbuilder-devel/Makefile
+++ b/security/libfwbuilder-devel/Makefile
@@ -31,7 +31,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
diff --git a/security/libfwbuilder/Makefile b/security/libfwbuilder/Makefile
index 5660aad5181f..5b267c7772f8 100644
--- a/security/libfwbuilder/Makefile
+++ b/security/libfwbuilder/Makefile
@@ -31,7 +31,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
diff --git a/security/libfwbuilder2/Makefile b/security/libfwbuilder2/Makefile
index 5660aad5181f..5b267c7772f8 100644
--- a/security/libfwbuilder2/Makefile
+++ b/security/libfwbuilder2/Makefile
@@ -31,7 +31,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index b36f19589b81..b3f37a63c8d6 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -20,7 +20,6 @@ USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
DOCS= AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS README README.SVN \
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index 030c6d233ff3..8d0e7835aca8 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -20,7 +20,6 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= ltverhack
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS= --disable-nls
diff --git a/security/libksba/Makefile b/security/libksba/Makefile
index 1d3a8133a881..34323595ddb4 100644
--- a/security/libksba/Makefile
+++ b/security/libksba/Makefile
@@ -19,8 +19,6 @@ LIB_DEPENDS= gpg-error.0:${PORTSDIR}/security/libgpg-error
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_PERL5_BUILD=yes
INFO= ksba
diff --git a/security/libmcrypt/Makefile b/security/libmcrypt/Makefile
index af9004ad5733..843e8380c404 100644
--- a/security/libmcrypt/Makefile
+++ b/security/libmcrypt/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Multi-cipher cryptographic library (used in PHP)
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-static
USE_LDCONFIG= yes
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index c479b60b2594..4d155b39e04a 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -21,7 +21,6 @@ OPTIONS= PERL "Include Perl bindings" off \
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var
MAN1= prelude-admin.1
diff --git a/security/libpreludedb/Makefile b/security/libpreludedb/Makefile
index be5b970c8b20..03154d0f8c62 100644
--- a/security/libpreludedb/Makefile
+++ b/security/libpreludedb/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
LDCONFIG_DIRS= %%PREFIX%%/lib \
%%PREFIX%%/lib/libpreludedb/plugins/formats
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= PERL "Include Perl bindings" off \
PYTHON "Include Python bindings" off \
diff --git a/security/libssh2/Makefile b/security/libssh2/Makefile
index 3c1e63ffdf98..e80ec82622a2 100644
--- a/security/libssh2/Makefile
+++ b/security/libssh2/Makefile
@@ -16,7 +16,6 @@ COMMENT= A library implementing the SSH2 protocol
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
PLIST_FILES= include/libssh2.h \
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile
index 6cf242e98383..27414a8fb965 100644
--- a/security/libtasn1/Makefile
+++ b/security/libtasn1/Makefile
@@ -18,7 +18,6 @@ COMMENT= ASN.1 structure parser library
USE_LDCONFIG= yes
USE_GNOME= pkgconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= AUTHORS NEWS README THANKS doc/TODO \
doc/libtasn1.html doc/libtasn1.pdf doc/libtasn1.ps
diff --git a/security/mcrypt/Makefile b/security/mcrypt/Makefile
index 197ce4ac6291..1e967ed73f00 100644
--- a/security/mcrypt/Makefile
+++ b/security/mcrypt/Makefile
@@ -25,7 +25,6 @@ LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
CONFIGURE_ARGS= --enable-static --with-catgets
diff --git a/security/mhash/Makefile b/security/mhash/Makefile
index 8a5434a86a05..72ee0ab8ccaf 100644
--- a/security/mhash/Makefile
+++ b/security/mhash/Makefile
@@ -16,7 +16,6 @@ COMMENT= An easy-to-use library for strong hashes such as MD5 and SHA1
USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-LDFLAGS="${PTHREAD_LIBS}" --enable-static \
--with-gnu-ld
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 164880f05e6e..26636e6cc833 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
diff --git a/security/nettle2/Makefile b/security/nettle2/Makefile
index 164880f05e6e..26636e6cc833 100644
--- a/security/nettle2/Makefile
+++ b/security/nettle2/Makefile
@@ -22,7 +22,6 @@ USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 6b7c2f870484..58e50208e532 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -30,7 +30,6 @@ CONFIGURE_ARGS= --without-localdirs \
--with-libdnet=${LOCALBASE} \
--with-liblua=${LOCALBASE}
CONFIGURE_ENV= LUA_INCDIR="${LUA_INCDIR}" LUA_LIBDIR="${LUA_LIBDIR}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= nmap.1
diff --git a/security/oidentd/Makefile b/security/oidentd/Makefile
index 8a8bb7932087..0b01f930914c 100644
--- a/security/oidentd/Makefile
+++ b/security/oidentd/Makefile
@@ -17,7 +17,6 @@ COMMENT= Ident server that supports user-defined ident strings
USE_RC_SUBR= oidentd
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN5= oidentd.conf.5 oidentd_masq.conf.5
MAN8= oidentd.8
diff --git a/security/opencdk/Makefile b/security/opencdk/Makefile
index e66f7a0926f3..be31250a09fd 100644
--- a/security/opencdk/Makefile
+++ b/security/opencdk/Makefile
@@ -22,7 +22,6 @@ GNU_CONFIGURE= yes
USE_GNOME= pkgconfig ltverhack
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-libgcrypt-prefix=${LOCALBASE}
DOCS= AUTHORS NEWS README THANKS doc/opencdk-api.html
diff --git a/security/openscep/Makefile b/security/openscep/Makefile
index b30e2ff89d50..aeda0eb2179d 100644
--- a/security/openscep/Makefile
+++ b/security/openscep/Makefile
@@ -23,7 +23,6 @@ USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-html-install-dir="${PREFIX}/www/openscep" \
--with-cgi-install-dir="${PREFIX}/www/cgi-bin/openscep" \
--with-openscep-dir="${PREFIX}/etc/openscep" \
diff --git a/security/openssh-portable/Makefile b/security/openssh-portable/Makefile
index a004e4e321af..7f54979d74ea 100644
--- a/security/openssh-portable/Makefile
+++ b/security/openssh-portable/Makefile
@@ -40,7 +40,6 @@ CONFLICTS?= openssh-3.* ssh-1.* ssh2-3.*
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --prefix=${PREFIX} --with-md5-passwords \
--without-zlib-version-check --with-ssl-engine
PRECIOUS= ssh_config sshd_config ssh_host_key ssh_host_key.pub \
diff --git a/security/openvas-libraries/Makefile.common b/security/openvas-libraries/Makefile.common
index 5ce24ac6ba7f..cefbe79f307c 100644
--- a/security/openvas-libraries/Makefile.common
+++ b/security/openvas-libraries/Makefile.common
@@ -1,4 +1,3 @@
CONFIGURE_ARGS+= --includedir=${PREFIX}/include \
--localstatedir=${PREFIX}/openvas \
- --sharedstatedir=${PREFIX}/openvas/com \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+ --sharedstatedir=${PREFIX}/openvas/com
diff --git a/security/openvpn-devel/Makefile b/security/openvpn-devel/Makefile
index 4788a88e03af..0d2d6fe61f78 100644
--- a/security/openvpn-devel/Makefile
+++ b/security/openvpn-devel/Makefile
@@ -18,7 +18,6 @@ CONFLICTS= openvpn-[0-9]*
GNU_CONFIGURE= yes
USE_OPENSSL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
--with-lzo-headers=${LOCALBASE}/include
INSTALL_TARGET= install mandir=${MANPREFIX}/man
diff --git a/security/openvpn/Makefile b/security/openvpn/Makefile
index a6526ca62a33..af4db0165d5b 100644
--- a/security/openvpn/Makefile
+++ b/security/openvpn/Makefile
@@ -26,7 +26,6 @@ CONFLICTS= openvpn-devel-[0-9]*
GNU_CONFIGURE= yes
USE_OPENSSL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
--with-lzo-headers=${LOCALBASE}/include
diff --git a/security/openvpn20/Makefile b/security/openvpn20/Makefile
index a6526ca62a33..af4db0165d5b 100644
--- a/security/openvpn20/Makefile
+++ b/security/openvpn20/Makefile
@@ -26,7 +26,6 @@ CONFLICTS= openvpn-devel-[0-9]*
GNU_CONFIGURE= yes
USE_OPENSSL= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-lzo-lib=${LOCALBASE}/lib \
--with-lzo-headers=${LOCALBASE}/include
diff --git a/security/osiris/Makefile b/security/osiris/Makefile
index 4aa7e09467db..094a72cc4f21 100644
--- a/security/osiris/Makefile
+++ b/security/osiris/Makefile
@@ -19,7 +19,6 @@ OPTIONS= OSIRISMD "Enable to build the management daemon" off \
PRINTDB "Build database print tool" off \
CLI "Enable to build the management CLI" off
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_RC_SUBR= yes
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile
index df57471e00d9..bafcf86191be 100644
--- a/security/pam_ldap/Makefile
+++ b/security/pam_ldap/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ARGS= --with-ldap-lib=openldap \
--with-ldap-dir=${LOCALBASE} \
--with-ldap-conf-file=${PREFIX}/etc/ldap.conf \
--with-ldap-secret-file=${PREFIX}/etc/ldap.secret
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-unknown-freebsd${OSREL}
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/security/prelude-lml/Makefile b/security/prelude-lml/Makefile
index 879d73038f7e..87c007891608 100644
--- a/security/prelude-lml/Makefile
+++ b/security/prelude-lml/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS+= prelude.14:${PORTSDIR}/security/libprelude \
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= prelude-lml.sh
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
.include <bsd.port.pre.mk>
diff --git a/security/prelude-manager/Makefile b/security/prelude-manager/Makefile
index 61e172795613..437ab9aa4b0d 100644
--- a/security/prelude-manager/Makefile
+++ b/security/prelude-manager/Makefile
@@ -21,7 +21,6 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
USE_RC_SUBR= prelude-manager.sh
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
--localstatedir=/var
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile
index 2d8de51bdc02..be8168d379cc 100644
--- a/security/racoon2/Makefile
+++ b/security/racoon2/Makefile
@@ -19,7 +19,6 @@ USE_RC_SUBR= YES
USE_OPENSSL= YES
USE_AUTOTOOLS= autoconf:262
-CONFIGURE_TARGET=
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/etc/racoon2
diff --git a/security/sha/Makefile b/security/sha/Makefile
index 6b466bf2fd3e..2ec4fed871d5 100644
--- a/security/sha/Makefile
+++ b/security/sha/Makefile
@@ -17,8 +17,6 @@ COMMENT= Simple file hash program utilizing SHA-1, SHA-256, SHA-384, SHA-512
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
MAN1= sha.1
PLIST_FILES= bin/sha
diff --git a/security/snort/Makefile b/security/snort/Makefile
index 60e3c2471025..358eb03847d4 100644
--- a/security/snort/Makefile
+++ b/security/snort/Makefile
@@ -30,7 +30,6 @@ USE_RC_SUBR= snort.sh
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIG_DIR?= ${PREFIX}/etc/snort
CONFIG_FILES= classification.config gen-msg.map reference.config \
diff --git a/security/snort_inline/Makefile b/security/snort_inline/Makefile
index 9f81175b2b83..d1d4d048ae1f 100644
--- a/security/snort_inline/Makefile
+++ b/security/snort_inline/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-inline --enable-ipfw
LIB_DEPENDS+= dnet:${PORTSDIR}/net/libdnet
diff --git a/security/spybye/Makefile b/security/spybye/Makefile
index a06c27da989a..a2fc70cb8907 100644
--- a/security/spybye/Makefile
+++ b/security/spybye/Makefile
@@ -21,7 +21,6 @@ OPTIONS= CLAMAV "Enable CLAMAV support" off
USE_RC_SUBR= spybye.sh
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= spybye.1
diff --git a/security/srm/Makefile b/security/srm/Makefile
index 92576a29d6bf..678d51afe3d4 100644
--- a/security/srm/Makefile
+++ b/security/srm/Makefile
@@ -17,7 +17,6 @@ COMMENT= Secure rm, a utility which destroys file contents before unlinking
CONFLICTS= secure_delete-[0-9]*
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= srm.1
PLIST_FILES= bin/srm
diff --git a/security/steghide/Makefile b/security/steghide/Makefile
index f70ccd930406..1c62f4199a09 100644
--- a/security/steghide/Makefile
+++ b/security/steghide/Makefile
@@ -22,8 +22,6 @@ LIB_DEPENDS= mcrypt.8:${PORTSDIR}/security/libmcrypt \
USE_GETTEXT= yes
USE_PERL5= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
-CONFIGURE_ARGS= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include -fpermissive" \
LIBS="-L${LOCALBASE}/lib -lintl -lmcrypt"
diff --git a/security/stunnel/Makefile b/security/stunnel/Makefile
index 439316b36d3d..37cadc71f488 100644
--- a/security/stunnel/Makefile
+++ b/security/stunnel/Makefile
@@ -21,7 +21,6 @@ USE_OPENSSL= YES
USE_RC_SUBR= stunnel
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var/tmp --with-pem-dir=${PEM_DIR} \
--enable-static --disable-fips
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index a39a07169d75..735785cc34a7 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -23,7 +23,6 @@ COMMENT= Allow others to run commands as root
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
--disable-log-wrap \
--with-ignore-dot \
diff --git a/security/tinc/Makefile b/security/tinc/Makefile
index 7236934c5bd5..8b4f2b553b2c 100644
--- a/security/tinc/Makefile
+++ b/security/tinc/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= lzo.1:${PORTSDIR}/archivers/lzo
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --localstatedir=/var
diff --git a/security/xmlsec/Makefile b/security/xmlsec/Makefile
index 4e47657e12b9..26b066189cbb 100644
--- a/security/xmlsec/Makefile
+++ b/security/xmlsec/Makefile
@@ -24,7 +24,6 @@ BUILD_DEPENDS= ${RUN_DEPENDS}
USE_OPENSSL= yes
USE_GNOME= gnomehack libxslt
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= xmlsec.1 xmlsec-config.1
diff --git a/security/yafic/Makefile b/security/yafic/Makefile
index 03815d39c6eb..262be7830082 100644
--- a/security/yafic/Makefile
+++ b/security/yafic/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= allan@saddi.com
COMMENT= Yet Another File Integrity Checker, similar to Tripwire
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ENV= LDFLAGS="-static"
diff --git a/security/zzuf/Makefile b/security/zzuf/Makefile
index c1a081c66d25..932e052d6baa 100644
--- a/security/zzuf/Makefile
+++ b/security/zzuf/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= johnson.peter@gmail.com
COMMENT= Transparent application input fuzzer
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
MAN1= zzuf.1
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 9626bbf8d3f8..43b0b212256b 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -84,8 +84,6 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-
CPPFLAGS+= ${PTHREAD_CFLAGS} \
-I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/shells/bashc/Makefile b/shells/bashc/Makefile
index eb27bc805398..e3f68853d454 100644
--- a/shells/bashc/Makefile
+++ b/shells/bashc/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= alepulver@FreeBSD.org
COMMENT= GNU bash shell extended with visual two-panel file browser
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/bashc \
etc/bash_commander \
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 1ba3cb4280f2..b78f2e34bb5e 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -40,7 +40,6 @@ USE_AUTOTOOLS= autoconf:262 autoheader:262
GNU_CONFIGURE= yes
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-term-lib="ncursesw ncurses" --with-tcsetpgrp \
diff --git a/sysutils/adtool/Makefile b/sysutils/adtool/Makefile
index e39d6c43fd29..30a1e209e153 100644
--- a/sysutils/adtool/Makefile
+++ b/sysutils/adtool/Makefile
@@ -17,8 +17,7 @@ USE_GMAKE= yes
USE_OPENLDAP= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --with-ldap=${LOCALBASE}
+CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
MAN1= adtool.1
diff --git a/sysutils/anteater/Makefile b/sysutils/anteater/Makefile
index 998821e00f51..ae4a264bc22a 100644
--- a/sysutils/anteater/Makefile
+++ b/sysutils/anteater/Makefile
@@ -17,7 +17,6 @@ COMMENT= A MTA log analyzer
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= anteater.1
PLIST_FILES= bin/anteater
diff --git a/sysutils/ccd2iso/Makefile b/sysutils/ccd2iso/Makefile
index c18d17fadcf7..da38abe1229a 100644
--- a/sysutils/ccd2iso/Makefile
+++ b/sysutils/ccd2iso/Makefile
@@ -19,7 +19,6 @@ COMMENT= A CloneCD to ISO converter
PLIST_FILES= bin/ccd2iso
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ccd2iso ${PREFIX}/bin
diff --git a/sysutils/cdargs/Makefile b/sysutils/cdargs/Makefile
index 24fe7687755e..ab59e9581096 100644
--- a/sysutils/cdargs/Makefile
+++ b/sysutils/cdargs/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= wxs@FreeBSD.org
COMMENT= Navigate the filesystem using a menu interface or a bookmark system
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= -DHAVE_DECL_GETOPT
MAN1= cdargs.1
diff --git a/sysutils/cdf/Makefile b/sysutils/cdf/Makefile
index 773bdbab2045..7c15827a2c6b 100644
--- a/sysutils/cdf/Makefile
+++ b/sysutils/cdf/Makefile
@@ -17,6 +17,5 @@ COMMENT= A colorized df
PLIST_FILES= bin/cdf
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/sysutils/cdrdao/Makefile b/sysutils/cdrdao/Makefile
index 5d6df542dcb2..b1b5377cf8b6 100644
--- a/sysutils/cdrdao/Makefile
+++ b/sysutils/cdrdao/Makefile
@@ -58,7 +58,6 @@ CONFIGURE_ARGS+= --without-mp3-support --without-ogg-support
CONFIGURE_ARGS+= --with-pcctsbin=${LOCALBASE}/bin \
--with-pcctsinc=${LOCALBASE}/include/pccts \
--without-posix-threads --with-scglib=pkg
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.pre.mk>
diff --git a/sysutils/cfengine/Makefile b/sysutils/cfengine/Makefile
index a17a4b731f77..7b90974ffd90 100644
--- a/sysutils/cfengine/Makefile
+++ b/sysutils/cfengine/Makefile
@@ -19,7 +19,6 @@ WITH_BDB_VER?= 46
USE_BDB= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-docs \
--docdir=${DOCSDIR} \
--htmldir=${DOCSDIR}/html
diff --git a/sysutils/cfengine3-legacy/Makefile b/sysutils/cfengine3-legacy/Makefile
index a17a4b731f77..7b90974ffd90 100644
--- a/sysutils/cfengine3-legacy/Makefile
+++ b/sysutils/cfengine3-legacy/Makefile
@@ -19,7 +19,6 @@ WITH_BDB_VER?= 46
USE_BDB= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-docs \
--docdir=${DOCSDIR} \
--htmldir=${DOCSDIR}/html
diff --git a/sysutils/cfengine3/Makefile b/sysutils/cfengine3/Makefile
index a17a4b731f77..7b90974ffd90 100644
--- a/sysutils/cfengine3/Makefile
+++ b/sysutils/cfengine3/Makefile
@@ -19,7 +19,6 @@ WITH_BDB_VER?= 46
USE_BDB= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-docs \
--docdir=${DOCSDIR} \
--htmldir=${DOCSDIR}/html
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 9f1f768023a9..5d1bd0397d40 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -19,7 +19,6 @@ CONFLICTS= id-utils-[0-9]* linux-gid-[0-9]*
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
diff --git a/sysutils/dvdisaster/Makefile b/sysutils/dvdisaster/Makefile
index 9bf06f75b42e..eabbe65ae215 100644
--- a/sysutils/dvdisaster/Makefile
+++ b/sysutils/dvdisaster/Makefile
@@ -22,7 +22,6 @@ MAKEFILE= GNUmakefile
USE_BZIP2= yes
USE_GETTEXT= yes
USE_GNOME= gtk20
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --prefix=${PREFIX}
USE_GMAKE= yes
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile
index 14cb7e75b063..3fbee9dc1f7b 100644
--- a/sysutils/freeipmi/Makefile
+++ b/sysutils/freeipmi/Makefile
@@ -29,7 +29,6 @@ LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
PTHREAD_LIBS=-pthread
CONFIGURE_ARGS+= --disable-init-scripts --disable-logrotate-config \
diff --git a/sysutils/fusefs-ntfs/Makefile b/sysutils/fusefs-ntfs/Makefile
index 8bd1853f4a7c..8ab4dc04f90a 100644
--- a/sysutils/fusefs-ntfs/Makefile
+++ b/sysutils/fusefs-ntfs/Makefile
@@ -24,7 +24,6 @@ USE_AUTOTOOLS= libtool:15
USE_ICONV= yes
CONFIGURE_ARGS= --exec-prefix=${PREFIX}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
OPTIONS= LOCK "Lock the device when mounting (avoids access)" on \
UBLIO "Enable user space cache for improved speed" on
diff --git a/sysutils/fusefs-pod/Makefile b/sysutils/fusefs-pod/Makefile
index f6bfa7d257c3..32ccaebe2729 100644
--- a/sysutils/fusefs-pod/Makefile
+++ b/sysutils/fusefs-pod/Makefile
@@ -23,7 +23,6 @@ RUN_DEPENDS= ${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAN1= fusepod.1
PLIST_FILES= bin/fusepod
diff --git a/sysutils/grub/Makefile b/sysutils/grub/Makefile
index b5e4dc5ab134..32f2524b5af2 100644
--- a/sysutils/grub/Makefile
+++ b/sysutils/grub/Makefile
@@ -17,7 +17,6 @@ COMMENT= GRand Unified Bootloader
USE_AUTOTOOLS= automake:19 autoconf:262
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-freebsd-freebsd${OSREL}
CONFIGURE_ARGS+= --libdir=${PREFIX}/share
ONLY_FOR_ARCHS= i386
diff --git a/sysutils/hdup/Makefile b/sysutils/hdup/Makefile
index d44ba93229dd..4fc3261a8a95 100644
--- a/sysutils/hdup/Makefile
+++ b/sysutils/hdup/Makefile
@@ -28,7 +28,6 @@ USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= glib20
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_AUTOTOOLS= autoconf:262
MAN1= hdup.1
diff --git a/sysutils/hourglass/Makefile b/sysutils/hourglass/Makefile
index d65457bc4792..1d2dc09340dd 100644
--- a/sysutils/hourglass/Makefile
+++ b/sysutils/hourglass/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= jgraph:${PORTSDIR}/graphics/jgraph
ONLY_FOR_ARCHS= i386 amd64
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/busy bin/hourglass
PORTDOCS= CALIBRATION
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile
index ad462d179a4a..2c7f05cf0d4b 100644
--- a/sysutils/ipmitool/Makefile
+++ b/sysutils/ipmitool/Makefile
@@ -18,7 +18,6 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_OPENSSL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --enable-intf-lan --enable-intf-lanplus \
--disable-intf-imb --disable-intf-lipmi --disable-intf-bmc
CONFIGURE_ENV+= CC="${CC}" CFLAGS="${CFLAGS}" CPPFLAGS="${CPPFLAGS}" \
diff --git a/sysutils/k3b-kde4/Makefile b/sysutils/k3b-kde4/Makefile
index a21878629be1..24d9e66fda3a 100644
--- a/sysutils/k3b-kde4/Makefile
+++ b/sysutils/k3b-kde4/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-k3bsetup=no --without-resmgr --without-hal
USE_GMAKE= yes
USE_CDRTOOLS= yes
diff --git a/sysutils/k3b/Makefile b/sysutils/k3b/Makefile
index a21878629be1..24d9e66fda3a 100644
--- a/sysutils/k3b/Makefile
+++ b/sysutils/k3b/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-k3bsetup=no --without-resmgr --without-hal
USE_GMAKE= yes
USE_CDRTOOLS= yes
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile
index 10b114c0adb1..df32408bff54 100644
--- a/sysutils/lcdproc/Makefile
+++ b/sysutils/lcdproc/Makefile
@@ -25,7 +25,6 @@ CONFIGURE_ARGS= --enable-drivers="${LCDPROC_DRIVERS}" \
--disable-ldap \
--disable-doxygen
CONFIGURE_ENV= CFLAGS="${CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= lcdexec.1 lcdproc.1
MAN5= lcdproc-config.5
diff --git a/sysutils/lookat/Makefile b/sysutils/lookat/Makefile
index 6639dd6e766f..52af7093a34c 100644
--- a/sysutils/lookat/Makefile
+++ b/sysutils/lookat/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A program to view Un*x text files and manual pages
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= lookat.1
diff --git a/sysutils/mcron/Makefile b/sysutils/mcron/Makefile
index e8a6a5ee8761..daab75357841 100644
--- a/sysutils/mcron/Makefile
+++ b/sysutils/mcron/Makefile
@@ -20,7 +20,6 @@ BUILD_DEPENDS= guile>=1.8.0:${PORTSDIR}/lang/guile
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
MAKEFILE= makefile
INFO= mcron
diff --git a/sysutils/mdf2iso/Makefile b/sysutils/mdf2iso/Makefile
index bf9020cd097b..af557069b280 100644
--- a/sysutils/mdf2iso/Makefile
+++ b/sysutils/mdf2iso/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= az@FreeBSD.org
COMMENT= A Alcohol 120% to ISO converter
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/sysutils/metalog/Makefile b/sysutils/metalog/Makefile
index d27c9f02d44b..db6f83c8b50b 100644
--- a/sysutils/metalog/Makefile
+++ b/sysutils/metalog/Makefile
@@ -21,7 +21,6 @@ USE_BZIP2= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/sysutils/msyslog/Makefile b/sysutils/msyslog/Makefile
index 754abb60fc91..5060418b4d35 100644
--- a/sysutils/msyslog/Makefile
+++ b/sysutils/msyslog/Makefile
@@ -23,7 +23,6 @@ OPTIONS= MYSQL "With MySQL Support" off \
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_RC_SUBR= msyslogd.sh
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/sysutils/ntfsprogs/Makefile b/sysutils/ntfsprogs/Makefile
index e4644b9679da..2f895959f800 100644
--- a/sysutils/ntfsprogs/Makefile
+++ b/sysutils/ntfsprogs/Makefile
@@ -21,7 +21,6 @@ USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
OPTIONS= GNOMEVFS2 "Install GnomeVFS 2.0 libntfs interface" off \
LOCK "Lock the device when mounting (avoids access)" on \
diff --git a/sysutils/nvtv/Makefile b/sysutils/nvtv/Makefile
index ae2224991b58..f48e9258ce6d 100644
--- a/sysutils/nvtv/Makefile
+++ b/sysutils/nvtv/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= pci.2:${PORTSDIR}/devel/libpci
ONLY_FOR_ARCHS= i386
CONFIGURE_ENV= CC="${CC} -I${PREFIX}/include"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
USE_GNOME= gtk12
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index 38be2ee25f6a..861af8d85548 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -17,7 +17,6 @@ COMMENT= Utilities and library to manipulate ReiserFS partitions
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-debug --disable-Werror
.if defined(WITHOUT_NLS)
diff --git a/sysutils/psmisc/Makefile b/sysutils/psmisc/Makefile
index 983fd265a45a..b79d2427a36a 100644
--- a/sysutils/psmisc/Makefile
+++ b/sysutils/psmisc/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A port of the Linux pstree, killall and pidof commands
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-nls
USE_GMAKE= yes
diff --git a/sysutils/rsnapshot/Makefile b/sysutils/rsnapshot/Makefile
index f7f95f272456..7df12744dacd 100644
--- a/sysutils/rsnapshot/Makefile
+++ b/sysutils/rsnapshot/Makefile
@@ -20,7 +20,6 @@ RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync \
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= rsnapshot.1
PORTDOCS= AUTHORS ChangeLog README TODO
diff --git a/sysutils/scanbuttond/Makefile b/sysutils/scanbuttond/Makefile
index f0a1cd3d7a46..8e773c233eac 100644
--- a/sysutils/scanbuttond/Makefile
+++ b/sysutils/scanbuttond/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
GNU_CONFIGURE= yes
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
SUB_FILES+= pkg-message
diff --git a/sysutils/sg3_utils/Makefile b/sysutils/sg3_utils/Makefile
index 6aaf3da57d61..db353f61c128 100644
--- a/sysutils/sg3_utils/Makefile
+++ b/sysutils/sg3_utils/Makefile
@@ -17,7 +17,6 @@ COMMENT= Set of utilities that send SCSI commands to devices
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN8= sg_format.8 sg_get_config.8 sg_ident.8 sg_inq.8 sg_logs.8 \
sg_luns.8 sg_modes.8 sg_persist.8 sg_opcodes.8 sg_prevent.8 \
diff --git a/sysutils/slmon/Makefile b/sysutils/slmon/Makefile
index 8ed64d321cdb..576dae9475ae 100644
--- a/sysutils/slmon/Makefile
+++ b/sysutils/slmon/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= gtop-2.0.7:${PORTSDIR}/devel/libgtop \
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= slmon.1
diff --git a/sysutils/smartmontools-devel/Makefile b/sysutils/smartmontools-devel/Makefile
index d205032515e2..fed31cf28b3f 100644
--- a/sysutils/smartmontools-devel/Makefile
+++ b/sysutils/smartmontools-devel/Makefile
@@ -17,7 +17,6 @@ COMMENT= S.M.A.R.T. disk monitoring tools
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
USE_RC_SUBR= smartd
diff --git a/sysutils/smartmontools/Makefile b/sysutils/smartmontools/Makefile
index d205032515e2..fed31cf28b3f 100644
--- a/sysutils/smartmontools/Makefile
+++ b/sysutils/smartmontools/Makefile
@@ -17,7 +17,6 @@ COMMENT= S.M.A.R.T. disk monitoring tools
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${DOCSDIR} --enable-sample
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
USE_RC_SUBR= smartd
diff --git a/sysutils/stress/Makefile b/sysutils/stress/Makefile
index 47f451d29aa7..3fe838b5e12d 100644
--- a/sysutils/stress/Makefile
+++ b/sysutils/stress/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= jmelo@FreeBSD.org
COMMENT= Tool to impose load on and stress test Unix-like systems
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build ${MACHINE_ARCH}-portbld-freebsd${OSREL}
INFO= stress
MAN1= stress.1
diff --git a/sysutils/synergy/Makefile b/sysutils/synergy/Makefile
index e98c1d16415b..1106e4613c3d 100644
--- a/sysutils/synergy/Makefile
+++ b/sysutils/synergy/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_XORG= ice xtst x11 sm
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README
diff --git a/sysutils/testdisk/Makefile b/sysutils/testdisk/Makefile
index 98de64704da6..fa11e51ab7d7 100644
--- a/sysutils/testdisk/Makefile
+++ b/sysutils/testdisk/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib"
CONFIGURE_ARGS= --without-ewf
diff --git a/sysutils/uniutils/Makefile b/sysutils/uniutils/Makefile
index 01ce526b4f6c..87440294b546 100644
--- a/sysutils/uniutils/Makefile
+++ b/sysutils/uniutils/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
LIBS="-lintl"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETTEXT= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/sysutils/uptimec/Makefile b/sysutils/uptimec/Makefile
index ff8392c7f314..b5ce5523dac9 100644
--- a/sysutils/uptimec/Makefile
+++ b/sysutils/uptimec/Makefile
@@ -17,7 +17,6 @@ COMMENT= Client for Uptime Project
USE_RC_SUBR= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= sbin/uptimec etc/uptimecrc.sample etc/rc.d/uptimec.sh
PORTDOCS= README ChangeLog INSTALL protocol.txt
diff --git a/sysutils/userinfo/Makefile b/sysutils/userinfo/Makefile
index 8f265ab4d06e..aed96d76be0f 100644
--- a/sysutils/userinfo/Makefile
+++ b/sysutils/userinfo/Makefile
@@ -16,7 +16,6 @@ COMMENT= Show information about local users
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ui.1
MLINKS= ui.1 userinfo.1
diff --git a/sysutils/wmfsm/Makefile b/sysutils/wmfsm/Makefile
index 83146816cf70..fc4db973fe9d 100644
--- a/sysutils/wmfsm/Makefile
+++ b/sysutils/wmfsm/Makefile
@@ -16,7 +16,6 @@ COMMENT= Displays filesystem usage of mountpoints in a nice WindowMaker dockapp
USE_XORG= x11 xpm
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= wmfsm.1
diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile
index 4b728012346e..4daa05ca128b 100644
--- a/sysutils/xvidcap/Makefile
+++ b/sysutils/xvidcap/Makefile
@@ -24,7 +24,6 @@ LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame
RUN_DEPENDS= animate:${PORTSDIR}/graphics/ImageMagick
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
# Remove MAKE="${GMAKE}" after ffmpeg-devel's upgrade
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
diff --git a/textproc/aft/Makefile b/textproc/aft/Makefile
index 71bf2d1b2cba..eddf54e9aa39 100644
--- a/textproc/aft/Makefile
+++ b/textproc/aft/Makefile
@@ -16,7 +16,6 @@ COMMENT= A document preparation system using an Almost Free Text input format
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= -build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
.if defined(NOPORTDOCS)
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index ccd082ce1130..e09f0ae0eb7c 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -21,7 +21,6 @@ MAINTAINER= thierry@FreeBSD.org
COMMENT= Spelling checker with better suggestion logic than ispell
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
--enable-docdir=${DOCSDIR} \
--enable-static
diff --git a/textproc/dbacl/Makefile b/textproc/dbacl/Makefile
index 140fdedf82f0..b6adebd840cf 100644
--- a/textproc/dbacl/Makefile
+++ b/textproc/dbacl/Makefile
@@ -18,7 +18,6 @@ COMMENT= Digramic Bayesian classifier
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PROGRAMS= bayesol dbacl mailinspect hmine hypex
SCRIPTS= mailcross mailtoe mailfoot
diff --git a/textproc/dictfmt/Makefile b/textproc/dictfmt/Makefile
index 949815d50668..01dd73168cfd 100644
--- a/textproc/dictfmt/Makefile
+++ b/textproc/dictfmt/Makefile
@@ -17,7 +17,6 @@ COMMENT= Formats a DICT protocol dictionary database
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-cflags="${CFLAGS}"
ALL_TARGET= dictfmt
diff --git a/textproc/expat2/Makefile b/textproc/expat2/Makefile
index ada560c58a8c..74a5cf882787 100644
--- a/textproc/expat2/Makefile
+++ b/textproc/expat2/Makefile
@@ -15,7 +15,6 @@ MAINTAINER= kuriyama@FreeBSD.org
COMMENT= XML 1.0 parser written in C
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= default
USE_LDCONFIG= yes
MAN1= xmlwf.1
diff --git a/textproc/filepp/Makefile b/textproc/filepp/Makefile
index af8947fd4ee3..53d732c54f59 100644
--- a/textproc/filepp/Makefile
+++ b/textproc/filepp/Makefile
@@ -16,7 +16,6 @@ COMMENT= A generic file preprocessor
USE_PERL5= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
NO_BUILD= yes
MAN1= filepp.1
diff --git a/textproc/gmetadom/Makefile b/textproc/gmetadom/Makefile
index 3a3d96207c96..6a32476f3a60 100644
--- a/textproc/gmetadom/Makefile
+++ b/textproc/gmetadom/Makefile
@@ -25,7 +25,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOME= glib20 gnomehack libxml2
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/textproc/gsed/Makefile b/textproc/gsed/Makefile
index 2942e28926aa..e9077abd49df 100644
--- a/textproc/gsed/Makefile
+++ b/textproc/gsed/Makefile
@@ -18,7 +18,6 @@ COMMENT= The GNU stream editor
# Global variables
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
CONFIGURE_ARGS+=--disable-nls
USE_GMAKE= yes
diff --git a/textproc/hyperestraier/Makefile b/textproc/hyperestraier/Makefile
index 5d3c95fe354a..f19c9be19a7f 100644
--- a/textproc/hyperestraier/Makefile
+++ b/textproc/hyperestraier/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS= qdbm.14:${PORTSDIR}/databases/qdbm
USE_ICONV= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-bzip2 --disable-zlib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/textproc/ipdf/Makefile b/textproc/ipdf/Makefile
index 08192f76e04f..df0f0c06983f 100644
--- a/textproc/ipdf/Makefile
+++ b/textproc/ipdf/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= pdf.8:${PORTSDIR}/print/pdflib \
tiff.4:${PORTSDIR}/graphics/tiff
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/textproc/kmflcomp/Makefile b/textproc/kmflcomp/Makefile
index 2404bc7b32b2..83047b9afc4f 100644
--- a/textproc/kmflcomp/Makefile
+++ b/textproc/kmflcomp/Makefile
@@ -27,7 +27,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
DOCS= ${DISTDIR}/${DIST_SUBDIR}/KMFL-Compiler.sxw \
diff --git a/textproc/libkmfl/Makefile b/textproc/libkmfl/Makefile
index bb7afc206d96..2b429db7a06f 100644
--- a/textproc/libkmfl/Makefile
+++ b/textproc/libkmfl/Makefile
@@ -24,7 +24,6 @@ USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
PORTDOCS= AUTHORS COPYING ChangeLog
diff --git a/textproc/libnxml/Makefile b/textproc/libnxml/Makefile
index 7bfb8b0142d5..a332b06515ae 100644
--- a/textproc/libnxml/Makefile
+++ b/textproc/libnxml/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= curl.4:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I/${LOCALBASE}/include" LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
diff --git a/textproc/libparsifal/Makefile b/textproc/libparsifal/Makefile
index 954d52e51b64..a09cf598339b 100644
--- a/textproc/libparsifal/Makefile
+++ b/textproc/libparsifal/Makefile
@@ -18,7 +18,6 @@ COMMENT= Lightweight XML Parser
USE_AUTOTOOLS= libtool:15
USE_ICONV= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/textproc/libpathan/Makefile b/textproc/libpathan/Makefile
index ef059ef8f021..0ff38d50d167 100644
--- a/textproc/libpathan/Makefile
+++ b/textproc/libpathan/Makefile
@@ -25,7 +25,6 @@ GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}beta
USE_LDCONFIG= yes
XERCESCROOT= `cd ${PORTSDIR}/textproc/xerces-c2; ${MAKE} -V WRKSRC`
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= XERCESCROOT=${XERCESCROOT}
CONFIGURE_SCRIPT= runConfigure
CONFIGURE_ARGS+= --disable-static
diff --git a/textproc/libtext-charwidth-perl/Makefile b/textproc/libtext-charwidth-perl/Makefile
index e865555e01db..6cae9999a80a 100644
--- a/textproc/libtext-charwidth-perl/Makefile
+++ b/textproc/libtext-charwidth-perl/Makefile
@@ -15,7 +15,6 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Documentation gettext tools
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PERL_CONFIGURE= 5.8.0+
diff --git a/textproc/libtext-wrapi18n-perl/Makefile b/textproc/libtext-wrapi18n-perl/Makefile
index 0314a5b95f64..9a001bec7ec0 100644
--- a/textproc/libtext-wrapi18n-perl/Makefile
+++ b/textproc/libtext-wrapi18n-perl/Makefile
@@ -17,7 +17,6 @@ COMMENT= Documentation gettext tools
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Text/CharWidth.pm:${PORTSDIR}/textproc/libtext-charwidth-perl
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
PERL_CONFIGURE= yes
diff --git a/textproc/libtextcat/Makefile b/textproc/libtextcat/Makefile
index 51ba158139dc..8d1eb1f40b34 100644
--- a/textproc/libtextcat/Makefile
+++ b/textproc/libtextcat/Makefile
@@ -20,7 +20,6 @@ COMMENT= Language guessing by N-Gram-Based Text Categorization
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
PORTDOCS= LICENSE README TODO
diff --git a/textproc/libxdiff/Makefile b/textproc/libxdiff/Makefile
index 5aa32da7ef53..68e8c2d36ce8 100644
--- a/textproc/libxdiff/Makefile
+++ b/textproc/libxdiff/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared --enable-static
MAN3= xdiff.3
diff --git a/textproc/rand/Makefile b/textproc/rand/Makefile
index 490c0a43e8b0..b49d6ae1b6f0 100644
--- a/textproc/rand/Makefile
+++ b/textproc/rand/Makefile
@@ -15,7 +15,6 @@ COMMENT= Utility to display files or streams in random order
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= rand.1
PLIST_FILES= bin/rand
diff --git a/textproc/scim-kmfl-imengine/Makefile b/textproc/scim-kmfl-imengine/Makefile
index bc330440e27a..f65196c3eed9 100644
--- a/textproc/scim-kmfl-imengine/Makefile
+++ b/textproc/scim-kmfl-imengine/Makefile
@@ -30,7 +30,6 @@ USE_LDCONFIG= yes
USE_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/kmfl/${PORTNAME}
PORTDOCS= AUTHORS COPYING ChangeLog
diff --git a/textproc/sdcv/Makefile b/textproc/sdcv/Makefile
index 8f6723d4247b..b44a7cce0c81 100644
--- a/textproc/sdcv/Makefile
+++ b/textproc/sdcv/Makefile
@@ -19,7 +19,6 @@ USE_ICONV= yes
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= glib20
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
SUB_FILES= pkg-message
.if !defined(WITHOUT_NLS)
diff --git a/textproc/source-highlight/Makefile b/textproc/source-highlight/Makefile
index 2964fc3747f4..c815250d4ca1 100644
--- a/textproc/source-highlight/Makefile
+++ b/textproc/source-highlight/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS= exctags:${PORTSDIR}/devel/ctags
LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= LDFLAGS=-L${LOCALBASE}/lib CPPFLAGS=-I${LOCALBASE}/include
.if defined(NOPORTDOCS)
MAKE_ENV+= NOPORTDOCS="${NOPORTDOCS}"
diff --git a/textproc/sowing/Makefile b/textproc/sowing/Makefile
index 328db48db4a8..8c1e4dc5dd6e 100644
--- a/textproc/sowing/Makefile
+++ b/textproc/sowing/Makefile
@@ -24,7 +24,6 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
CONFIGURE_ARGS= --datadir=${DATADIR}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
ALL_TARGET= all-redirect
MAN1= bfort.1 doctext.1 tohtml.1
diff --git a/textproc/sphinxsearch-devel/Makefile b/textproc/sphinxsearch-devel/Makefile
index ca2afac0cd63..53b543cefd09 100644
--- a/textproc/sphinxsearch-devel/Makefile
+++ b/textproc/sphinxsearch-devel/Makefile
@@ -41,7 +41,6 @@ SPHINX_LOG?= /var/log/${PORTNAME}
# don't ask.
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CC=${CC} CPPFLAGS="${CXXFLAGS}"
CFGFILE= ${PREFIX}/etc/sphinx.conf
USE_RC_SUBR= sphinxsearch.sh
diff --git a/textproc/sphinxsearch/Makefile b/textproc/sphinxsearch/Makefile
index b2e453c57155..ff359d995071 100644
--- a/textproc/sphinxsearch/Makefile
+++ b/textproc/sphinxsearch/Makefile
@@ -35,7 +35,6 @@ SPHINX_LOG?= /var/log/${PORTNAME}
# don't ask.
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV+= CC=${CC} CPPFLAGS="${CXXFLAGS}"
CFGFILE= ${PREFIX}/etc/sphinx.conf
USE_RC_SUBR= sphinxsearch.sh
diff --git a/textproc/webcpp/Makefile b/textproc/webcpp/Makefile
index 8a1f0cd15828..961e6d0efe86 100644
--- a/textproc/webcpp/Makefile
+++ b/textproc/webcpp/Makefile
@@ -18,7 +18,6 @@ COMMENT= Convert your source code to syntax highlighted HTML
.include <bsd.port.pre.mk>
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
.if defined(WANT_FINAL)
diff --git a/textproc/xlhtml/Makefile b/textproc/xlhtml/Makefile
index bfb226531114..d5e225fbab9a 100644
--- a/textproc/xlhtml/Makefile
+++ b/textproc/xlhtml/Makefile
@@ -20,7 +20,6 @@ COMMENT= Convert Excel and PowerPoint files to HTML and text
USE_GMAKE= yes
USE_AUTOTOOLS= automake:14 autoconf:262
CONFIGURE_ARGS= --mandir=${PREFIX}/man
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= ppthtml.1 xlhtml.1
diff --git a/textproc/xmlto/Makefile b/textproc/xmlto/Makefile
index fba384890bbe..6f7c8e854aff 100644
--- a/textproc/xmlto/Makefile
+++ b/textproc/xmlto/Makefile
@@ -28,7 +28,6 @@ OPTIONS= PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF \
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-bash=${BASH_CMD} --with-getopt=${GETOPT_CMD}
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
BASH_CMD= ${LOCALBASE}/bin/bash
GETOPT_CMD= ${LOCALBASE}/bin/getopt
diff --git a/www/apache20/Makefile b/www/apache20/Makefile
index af596b58815e..83e70ec0cc52 100644
--- a/www/apache20/Makefile
+++ b/www/apache20/Makefile
@@ -157,7 +157,7 @@ CFLAGS+= -DFREEBSD_THREAD_HACK
. endif
.endif
-CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L} ${CONFIGURE_TARGET}
+CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L}
show-options:
@${SED} -ne 's/^##//p' ${APACHEDIR}/Makefile.doc
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 1ab9d03d7cd5..60c14d8bea0b 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -164,7 +164,7 @@ CONFIGURE_ARGS+= --enable-nonportable-atomics
. endif
.endif
-CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L} ${CONFIGURE_TARGET}
+CONFIGURE_ARGS+= --with-mpm=${WITH_MPM:L}
pre-everything::
@${ECHO_MSG} ""
diff --git a/www/c-icap/Makefile b/www/c-icap/Makefile
index cb801ea35557..d94cce93dd67 100644
--- a/www/c-icap/Makefile
+++ b/www/c-icap/Makefile
@@ -22,7 +22,6 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_RC_SUBR= c_icap
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/c_icap
SUB_FILES= pkg-install pkg-deinstall
diff --git a/www/cadaver/Makefile b/www/cadaver/Makefile
index f10493103bdd..b4a0b5a8b878 100644
--- a/www/cadaver/Makefile
+++ b/www/cadaver/Makefile
@@ -17,7 +17,6 @@ COMMENT= Commandline client for DAV
LIB_DEPENDS= neon.28:${PORTSDIR}/www/neon28
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --enable-netrc
ALL_TARGET= cadaver
diff --git a/www/cgicc/Makefile b/www/cgicc/Makefile
index 8b4879253e62..6775c33273ae 100644
--- a/www/cgicc/Makefile
+++ b/www/cgicc/Makefile
@@ -18,7 +18,6 @@ COMMENT= A C++ class library for writing CGI applications
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS= NOPORTDOCS=${NOPORTDOCS}
USE_LDCONFIG= yes
diff --git a/www/dpsearch/Makefile b/www/dpsearch/Makefile
index 901370a0e623..1064eb82f891 100644
--- a/www/dpsearch/Makefile
+++ b/www/dpsearch/Makefile
@@ -19,7 +19,6 @@ USE_GMAKE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/dataparksearch
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--sysconfdir=${PREFIX}/etc/dpsearch \
--localstatedir=/var/dpsearch \
--enable-mp3 \
diff --git a/www/ffproxy/Makefile b/www/ffproxy/Makefile
index 3ae3bf0c21a5..04f3a8a949ce 100644
--- a/www/ffproxy/Makefile
+++ b/www/ffproxy/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Filtering HTTP proxy server
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/www/havp/Makefile b/www/havp/Makefile
index 57889ae39519..c52c3fbccdc0 100644
--- a/www/havp/Makefile
+++ b/www/havp/Makefile
@@ -20,7 +20,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_PERL5_BUILD= yes
USE_RC_SUBR= havp
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-locking
LOG_DIR= /var/log/havp
diff --git a/www/hiawatha/Makefile b/www/hiawatha/Makefile
index 7d1d27b3280b..5faab18d27eb 100644
--- a/www/hiawatha/Makefile
+++ b/www/hiawatha/Makefile
@@ -24,7 +24,6 @@ SUB_FILES= pkg-message
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var webrootdir=${WWWDIR}
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= COMMAND "Enable the Hiawatha CommandChannel" Off \
CACHE "Internal file caching support" On \
diff --git a/www/hydra/Makefile b/www/hydra/Makefile
index 812e839083ab..18fb0b1529e8 100644
--- a/www/hydra/Makefile
+++ b/www/hydra/Makefile
@@ -22,7 +22,6 @@ USE_RC_SUBR= hydra.sh
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= -I${LOCALBASE}/include
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 8ca22717e76b..ecb52076392f 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -24,7 +24,6 @@ USE_GNOME= lthack
USE_RC_SUBR= lighttpd.sh
CONFIGURE_ARGS= --libdir=${PREFIX}/lib/lighttpd
CONFIGURE_ENV+= CFLAGS="${CFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 079b9c447fc9..8b81faa2dec4 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -24,7 +24,6 @@ USE_BZIP2= yes
USE_ICONV= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-nls --with-bzlib \
--enable-nested-tables --enable-default-colors \
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 0c586afa7e84..43ddaae39a71 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -23,7 +23,6 @@ USE_BZIP2= yes
USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-6
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--with-zlib --libdir="${L_LIB}" \
--enable-nsl-fork --enable-persistent-cookies \
--enable-nested-tables --enable-gzip-help \
diff --git a/www/man2web/Makefile b/www/man2web/Makefile
index b8a39dee436f..370f9cf22c71 100644
--- a/www/man2web/Makefile
+++ b/www/man2web/Makefile
@@ -16,7 +16,6 @@ MAINTAINER= naddy@FreeBSD.org
COMMENT= Convert man pages to HTML
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --bindir="${PREFIX}/${CGIDIR}" \
--sysconfdir="${PREFIX}/etc" \
--with-manpath=/usr/share/man:${LOCALBASE}/man \
diff --git a/www/middleman/Makefile b/www/middleman/Makefile
index 5013d7cda030..ad8896ab76d8 100644
--- a/www/middleman/Makefile
+++ b/www/middleman/Makefile
@@ -17,7 +17,6 @@ COMMENT= A robust proxy server
WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile
index e9aca991fdb4..f19cfceccbd5 100644
--- a/www/mnogosearch/Makefile
+++ b/www/mnogosearch/Makefile
@@ -20,7 +20,6 @@ USE_LDCONFIG= yes
USE_GNOME= lthack
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--enable-shared \
--sysconfdir=${PREFIX}/etc/mnogosearch \
--localstatedir=/var/mnogosearch \
diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile
index 69eae67940c2..3badf0135b00 100644
--- a/www/mnogosearch31/Makefile
+++ b/www/mnogosearch31/Makefile
@@ -24,7 +24,6 @@ USE_LDCONFIG= yes
USE_GMAKE= yes
APACHE_COMPAT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--enable-phrase \
--enable-shared \
--sysconfdir=${PREFIX}/etc/mnogosearch \
diff --git a/www/mod_auth_form/Makefile b/www/mod_auth_form/Makefile
index 1d593087236e..314df0f35b42 100644
--- a/www/mod_auth_form/Makefile
+++ b/www/mod_auth_form/Makefile
@@ -20,7 +20,6 @@ USE_MYSQL= YES
USE_APACHE= 2.0+
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= MYSQL_PREFIX="${LOCALBASE}" APACHE2_PREFIX="${LOCALBASE}" \
APACHE2_INCLUDE="${LOCALBASE}/include/apache${APACHE_VERSION}" \
APR1_INCLUDE="${LOCALBASE}/include/apache2"
diff --git a/www/neonpp/Makefile b/www/neonpp/Makefile
index 55e0d061113f..464ae61b45aa 100644
--- a/www/neonpp/Makefile
+++ b/www/neonpp/Makefile
@@ -22,6 +22,5 @@ LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-pkgconfig-dir=${PREFIX}/libdata/pkgconfig
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.include <bsd.port.mk>
diff --git a/www/netrik/Makefile b/www/netrik/Makefile
index 2e2ecb39a7c3..1d4180d40dcf 100644
--- a/www/netrik/Makefile
+++ b/www/netrik/Makefile
@@ -21,7 +21,6 @@ RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/netrik
diff --git a/www/openvrml/Makefile b/www/openvrml/Makefile
index 7ea83593cf01..dafe6038c952 100644
--- a/www/openvrml/Makefile
+++ b/www/openvrml/Makefile
@@ -34,7 +34,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${JAVA_HOME}/include -I${JAVA_
LDFLAGS="-L${LOCALBASE}/lib -L${JAVA_HOME}/jre/lib/${ARCH}/client ${PTHREAD_LIBS}" \
PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" \
LIBS="-lm"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_GECKO= firefox seamonkey
diff --git a/www/sams/Makefile b/www/sams/Makefile
index 542620dc79e5..b8a9a6af2a08 100644
--- a/www/sams/Makefile
+++ b/www/sams/Makefile
@@ -35,7 +35,6 @@ OPTIONSFILE?= ${PORT_DBDIR}/${PORTNAME}/options
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=--with-configfile=${LOCALBASE}/etc/sams.conf \
--with-rcd-locations=${LOCALBASE}/etc/rc.d/ \
--with-httpd-locations=${DOCUMENT_ROOT}
diff --git a/www/sarg/Makefile b/www/sarg/Makefile
index 03bd301e57c9..82fefc21c103 100644
--- a/www/sarg/Makefile
+++ b/www/sarg/Makefile
@@ -26,7 +26,6 @@ CONFIGURE_ARGS= --enable-bindir="${PREFIX}/bin" \
--enable-sysconfdir="${PREFIX}/etc/${PORTNAME}" \
--enable-htmldir="${PREFIX}/www/${PORTNAME}" \
--enable-mandir="${MAN1PREFIX}/man/man1"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= sarg.1
diff --git a/www/tidy-devel/Makefile b/www/tidy-devel/Makefile
index a4af040c575a..3844c5c6b321 100644
--- a/www/tidy-devel/Makefile
+++ b/www/tidy-devel/Makefile
@@ -32,7 +32,6 @@ CONFLICTS= tidy-20000804* tidy-lib-[0-9]*
.else
USE_AUTOTOOLS= automake:15 autoconf:262 libtool:15
AUTOMAKE_ARGS+= -a -c --foreign
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
PLIST_SUB= SHLIB="" NSHLIB="@comment "
CONFLICTS= tidy-20000804* tidy-devel-[0-9]*
diff --git a/www/varnish/Makefile b/www/varnish/Makefile
index 56d3334549b8..804c1260d736 100644
--- a/www/varnish/Makefile
+++ b/www/varnish/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= des@FreeBSD.org
COMMENT= The Varnish high-performance HTTP accelerator
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${PREFIX}
USE_LDCONFIG= yes
diff --git a/www/varnish2/Makefile b/www/varnish2/Makefile
index 56d3334549b8..804c1260d736 100644
--- a/www/varnish2/Makefile
+++ b/www/varnish2/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= des@FreeBSD.org
COMMENT= The Varnish high-performance HTTP accelerator
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=${PREFIX}
USE_LDCONFIG= yes
diff --git a/www/wml/Makefile b/www/wml/Makefile
index 0712896c6eaf..fa527ea8b24c 100644
--- a/www/wml/Makefile
+++ b/www/wml/Makefile
@@ -23,7 +23,6 @@ CONFIGURE_ARGS= --with-perl=${PERL5} --with-catdir=man \
--prefix=${PREFIX}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" \
PERL_ARCH="${PERL_ARCH}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
GNU_CONFIGURE= yes
LIBTOOLFILES= wml_backend/p2_mp4h/configure
PLIST_SUB+= ARCH=${PERL_ARCH}
diff --git a/www/xshttpd-devel/Makefile b/www/xshttpd-devel/Makefile
index fef2e81fb4af..964ca930202a 100644
--- a/www/xshttpd-devel/Makefile
+++ b/www/xshttpd-devel/Makefile
@@ -29,7 +29,6 @@ USE_BZIP2= yes
USE_RC_SUBR= xshttpd.sh
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= SSL "Enable https support" On \
PCRE "Enable pcre rewriting support" On \
diff --git a/www/xshttpd/Makefile b/www/xshttpd/Makefile
index 16746a0cbe2e..52435d2da081 100644
--- a/www/xshttpd/Makefile
+++ b/www/xshttpd/Makefile
@@ -28,7 +28,6 @@ USE_BZIP2= yes
USE_RC_SUBR= xshttpd.sh
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
OPTIONS= SSL "Enable https support" On \
PCRE "Enable pcre rewriting support" On \
diff --git a/x11-clocks/wmclockmon/Makefile b/x11-clocks/wmclockmon/Makefile
index 545edc7af536..2c87f9b1a020 100644
--- a/x11-clocks/wmclockmon/Makefile
+++ b/x11-clocks/wmclockmon/Makefile
@@ -17,7 +17,6 @@ COMMENT= A digital clock dockapp with a similar look to wmcpuload
USE_XORG= xpm
USE_GNOME= gtk12
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= wmclockmon.1 wmclockmon-config.1 wmclockmon-cal.1
diff --git a/x11-clocks/xdaliclock/Makefile b/x11-clocks/xdaliclock/Makefile
index f6e1eaf0c660..eb9f68d26907 100644
--- a/x11-clocks/xdaliclock/Makefile
+++ b/x11-clocks/xdaliclock/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/X11
GNU_CONFIGURE= yes
USE_XORG= xt sm ice xext x11
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= xdaliclock.1
PLIST_FILES= bin/xdaliclock
diff --git a/x11-drivers/xf86-input-magictouch/Makefile b/x11-drivers/xf86-input-magictouch/Makefile
index 710a7d2b01ba..41fa07c14e1f 100644
--- a/x11-drivers/xf86-input-magictouch/Makefile
+++ b/x11-drivers/xf86-input-magictouch/Makefile
@@ -17,6 +17,4 @@ XORG_CAT= driver
MAN4= magictouch.4x
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/x11-fm/FSViewer/Makefile b/x11-fm/FSViewer/Makefile
index 81495ed84140..041f929dac38 100644
--- a/x11-fm/FSViewer/Makefile
+++ b/x11-fm/FSViewer/Makefile
@@ -23,7 +23,6 @@ LIB_DEPENDS= wraster.4:${PORTSDIR}/x11-wm/windowmaker
USE_XORG= x11 xmu
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CPPFLAGS= `pkg-config --cflags WINGs`
diff --git a/x11-fm/krusader/Makefile b/x11-fm/krusader/Makefile
index 43104e1c772d..953948946814 100644
--- a/x11-fm/krusader/Makefile
+++ b/x11-fm/krusader/Makefile
@@ -21,9 +21,7 @@ USE_GETTEXT= yes
QTDIR?=${QT_PREFIX}/bin
KDEDIR?=${LOCALBASE}/bin
-CONFIGURE_TARGET=
CONFIGURE_ENV+=QTDIR=${QTDIR} KDEDIR=${KDEDIR}
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LD_CONFIG= yes
INSTALLS_ICONS= yes
diff --git a/x11-fm/krusader2/Makefile b/x11-fm/krusader2/Makefile
index 43104e1c772d..953948946814 100644
--- a/x11-fm/krusader2/Makefile
+++ b/x11-fm/krusader2/Makefile
@@ -21,9 +21,7 @@ USE_GETTEXT= yes
QTDIR?=${QT_PREFIX}/bin
KDEDIR?=${LOCALBASE}/bin
-CONFIGURE_TARGET=
CONFIGURE_ENV+=QTDIR=${QTDIR} KDEDIR=${KDEDIR}
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
LD_CONFIG= yes
INSTALLS_ICONS= yes
diff --git a/x11-fm/tkdesk/Makefile b/x11-fm/tkdesk/Makefile
index 6b75c8e46298..b407d10635bb 100644
--- a/x11-fm/tkdesk/Makefile
+++ b/x11-fm/tkdesk/Makefile
@@ -25,7 +25,6 @@ LIB_DEPENDS= BLT24:${PORTSDIR}/x11-toolkits/blt \
PATCH_DIST_STRIP=-p1
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ENV+= LIB_RUNTIME_DIR=${LOCABASE}/lib
CONFIGURE_ENV= CPPFLAG="-I${LOCALBASE}/include/itcl3.3" \
LDFLAGS="-L${LOCALBASE}/lib -litcl"
diff --git a/x11-fonts/libFS/Makefile b/x11-fonts/libFS/Makefile
index 5112b10d68f2..c3ca72db2f17 100644
--- a/x11-fonts/libFS/Makefile
+++ b/x11-fonts/libFS/Makefile
@@ -17,6 +17,4 @@ XORG_CAT= lib
USE_XORG= fontsproto:both xproto:both xtrans
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/x11-servers/Xfstt/Makefile b/x11-servers/Xfstt/Makefile
index a1e1dd8074df..de61e685e8b6 100644
--- a/x11-servers/Xfstt/Makefile
+++ b/x11-servers/Xfstt/Makefile
@@ -17,7 +17,6 @@ COMMENT= A TrueType font server for X11
USE_XORG= fontsproto xproto
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --localstatedir=/var --disable-nls
MAN1= xfstt.1x
diff --git a/x11-themes/emerald-themes/Makefile b/x11-themes/emerald-themes/Makefile
index a773c7fe761d..b49326230299 100644
--- a/x11-themes/emerald-themes/Makefile
+++ b/x11-themes/emerald-themes/Makefile
@@ -19,7 +19,6 @@ GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/x11-toolkits/SoXt/Makefile b/x11-toolkits/SoXt/Makefile
index 167cc8b9cb9d..a00f27e103bb 100644
--- a/x11-toolkits/SoXt/Makefile
+++ b/x11-toolkits/SoXt/Makefile
@@ -23,7 +23,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --with-pthread=yes --with-coin=${LOCALBASE}
# avoid renaming of soxt-config and soxt-config.1
-CONFIGURE_TARGET= --target=""
USE_LDCONFIG= yes
MAN1= soxt-config.1
diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile
index 0c6b5ccfcba5..ef94c867e90a 100644
--- a/x11-toolkits/fltk/Makefile
+++ b/x11-toolkits/fltk/Makefile
@@ -36,7 +36,6 @@ VERSION= 1.1.7
USE_BZIP2= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--enable-shared --enable-xft
# configure ignores ${CXX} and keeps on linking C++ code with ${CC}
CONFIGURE_ENV+= CC="${CXX}" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
diff --git a/x11-toolkits/fltk2/Makefile b/x11-toolkits/fltk2/Makefile
index ff0381e4d9a0..fa0e7af77be4 100644
--- a/x11-toolkits/fltk2/Makefile
+++ b/x11-toolkits/fltk2/Makefile
@@ -54,7 +54,6 @@ CONFIGURE_ARGS+= --enable-jpeg --enable-png --enable-gl --enable-xft \
# after possibly incompatible updates to fltk2.
CONFIGURE_ARGS+= --disable-shared
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbuild-freebsd${OSREL}
DOCSDIR= ${PREFIX}/share/doc/fltk2
PORTDOCS= *
diff --git a/x11-toolkits/fox14/Makefile b/x11-toolkits/fox14/Makefile
index 83e62a50cc5f..3c0de3fd2d67 100644
--- a/x11-toolkits/fox14/Makefile
+++ b/x11-toolkits/fox14/Makefile
@@ -32,7 +32,6 @@ PLIST_SUB+= MAJORVER=${MAJORVER} SHVER=${SHVER}
USE_AUTOTOOLS= libtool:15
USE_GL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
CONFIGURE_ARGS= --with-opengl --with-x --enable-threadsafe
USE_LDCONFIG= yes
diff --git a/x11-toolkits/gnustep-back/Makefile b/x11-toolkits/gnustep-back/Makefile
index b73319f3660c..0c7c629b02b7 100644
--- a/x11-toolkits/gnustep-back/Makefile
+++ b/x11-toolkits/gnustep-back/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
LIB_DEPENDS+= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib
diff --git a/x11-toolkits/gnustep-gui/Makefile b/x11-toolkits/gnustep-gui/Makefile
index 35083709c84e..4b6b2f585982 100644
--- a/x11-toolkits/gnustep-gui/Makefile
+++ b/x11-toolkits/gnustep-gui/Makefile
@@ -21,7 +21,6 @@ LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
RESTRICTED= GPL3
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+= --with-jpeg-library=${LOCALBASE}/lib
diff --git a/x11-toolkits/gob/Makefile b/x11-toolkits/gob/Makefile
index 1fde69f14e77..fd6738881326 100644
--- a/x11-toolkits/gob/Makefile
+++ b/x11-toolkits/gob/Makefile
@@ -20,7 +20,6 @@ USE_GNOME= gtk12
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= gob.1
diff --git a/x11-toolkits/libgtkeditor/Makefile b/x11-toolkits/libgtkeditor/Makefile
index b1a7d9ee2b0e..c514bb3bb601 100644
--- a/x11-toolkits/libgtkeditor/Makefile
+++ b/x11-toolkits/libgtkeditor/Makefile
@@ -27,7 +27,6 @@ CFLAGS+= -fPIC
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-CONFIGURE_TARGET= ${MACHINE_ARCH}-portbld-freebsd${OSREL}
pre-configure:
.for file in install-sh mkinstalldirs
diff --git a/x11-toolkits/movingmotif/Makefile b/x11-toolkits/movingmotif/Makefile
index d7273dddf293..cd871f6d3949 100644
--- a/x11-toolkits/movingmotif/Makefile
+++ b/x11-toolkits/movingmotif/Makefile
@@ -16,7 +16,6 @@ COMMENT= Display scientific data as dynamic plot
USE_MOTIF= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
diff --git a/x11-toolkits/neXtaw/Makefile b/x11-toolkits/neXtaw/Makefile
index 854c970956a0..b07743f08705 100644
--- a/x11-toolkits/neXtaw/Makefile
+++ b/x11-toolkits/neXtaw/Makefile
@@ -17,7 +17,6 @@ COMMENT= Athena Widgets with N*XTSTEP appearance
USE_AUTOTOOLS= libtool:15
USE_XORG= xmu x11 xext
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LDCONFIG= yes
diff --git a/x11-toolkits/paragui-devel/Makefile b/x11-toolkits/paragui-devel/Makefile
index 5114edeec114..795fcffd619f 100644
--- a/x11-toolkits/paragui-devel/Makefile
+++ b/x11-toolkits/paragui-devel/Makefile
@@ -26,7 +26,6 @@ CONFLICTS= paragui-[0-9]*
USE_AUTOTOOLS= libtool:15
USE_SDL= sdl image ttf
LIBTOOLFLAGS= --disable-ltlibs --release-ignore
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
USE_LDCONFIG= yes
diff --git a/x11-toolkits/py-gtk/Makefile b/x11-toolkits/py-gtk/Makefile
index b78524d4b774..e848a46f6e25 100644
--- a/x11-toolkits/py-gtk/Makefile
+++ b/x11-toolkits/py-gtk/Makefile
@@ -29,7 +29,6 @@ USE_GNOME= gnomelibs gdkpixbuf libglade
USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PYTHON=${PYTHON_CMD}
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
EG_SRC_DIR= ${WRKSRC}/examples
EG_DST_DIR= ${PREFIX}/share/examples/py-gtk
diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile
index b0cf8b1436be..60c37d33a41a 100644
--- a/x11-toolkits/soqt/Makefile
+++ b/x11-toolkits/soqt/Makefile
@@ -22,7 +22,6 @@ USE_AUTOTOOLS= libtool:15
USE_QT_VER= 3
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
CONFIGURE_ARGS= --with-pthread=yes --with-coin=${LOCALBASE}
USE_LDCONFIG= yes
diff --git a/x11-toolkits/wxgtk24/Makefile b/x11-toolkits/wxgtk24/Makefile
index d6a0e4b53a03..138ed88ecdde 100644
--- a/x11-toolkits/wxgtk24/Makefile
+++ b/x11-toolkits/wxgtk24/Makefile
@@ -33,7 +33,7 @@ CONFIGURE_ARGS= --with-libpng=sys \
--with-libtiff=sys \
--with-zlib=sys \
--with-opengl\
- --enable-gtk2 ${MACHINE_ARCH}-portbld-freebsd${OSREL}\
+ --enable-gtk2 \
--includedir=${PREFIX}/include/wx-2.4
CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/include \
-I${LOCALBASE}/include \
diff --git a/x11-toolkits/xbae/Makefile b/x11-toolkits/xbae/Makefile
index 200cb3844442..05e5a75b5fde 100644
--- a/x11-toolkits/xbae/Makefile
+++ b/x11-toolkits/xbae/Makefile
@@ -20,7 +20,6 @@ COMMENT= A Motif-based widget which displays a grid of cells as a spreadsheet
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
USE_MOTIF= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=--enable-production --enable-static
MAN3= XbaeCaption.3 XbaeInput.3 XbaeMatrix.3
diff --git a/x11-wm/bbconf/Makefile b/x11-wm/bbconf/Makefile
index 1db30ef282f6..859d9cd98c4e 100644
--- a/x11-wm/bbconf/Makefile
+++ b/x11-wm/bbconf/Makefile
@@ -18,7 +18,6 @@ USE_XORG= x11
USE_QT_VER= 3
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= bbconf.1
PORTDOCS= AUTHORS ChangeLog README README.html TODO
diff --git a/x11-wm/bbkeys/Makefile b/x11-wm/bbkeys/Makefile
index ff6c9e7d1af3..3cd9395553f5 100644
--- a/x11-wm/bbkeys/Makefile
+++ b/x11-wm/bbkeys/Makefile
@@ -22,7 +22,6 @@ USE_XORG= x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags xft`" \
LDFLAGS="`pkg-config --libs xft`"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= bbkeys.1
MAN5= bbkeysrc.5
diff --git a/x11-wm/bbpager/Makefile b/x11-wm/bbpager/Makefile
index 95f0d4e31249..24656b98aeb2 100644
--- a/x11-wm/bbpager/Makefile
+++ b/x11-wm/bbpager/Makefile
@@ -22,7 +22,6 @@ USE_XORG= xext sm x11 xau xcursor xi
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags xft`" \
LDFLAGS="`pkg-config --libs xft`"
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
DOCS= AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
README TODO
diff --git a/x11-wm/compiz-fusion-plugins-extra/Makefile b/x11-wm/compiz-fusion-plugins-extra/Makefile
index 074611f36700..33b6927d1397 100644
--- a/x11-wm/compiz-fusion-plugins-extra/Makefile
+++ b/x11-wm/compiz-fusion-plugins-extra/Makefile
@@ -49,7 +49,6 @@ GCONF_SCHEMAS= compiz-addhelper.schemas \
compiz-trailfocus.schemas \
compiz-widget.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-schemas
diff --git a/x11-wm/compiz-fusion-plugins-main/Makefile b/x11-wm/compiz-fusion-plugins-main/Makefile
index 3bc1b0b3193c..d7bebd88d135 100644
--- a/x11-wm/compiz-fusion-plugins-main/Makefile
+++ b/x11-wm/compiz-fusion-plugins-main/Makefile
@@ -51,7 +51,6 @@ GCONF_SCHEMAS= compiz-animation.schemas \
compiz-vpswitch.schemas \
compiz-shift.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-schemas
diff --git a/x11-wm/compiz-fusion-plugins-unsupported/Makefile b/x11-wm/compiz-fusion-plugins-unsupported/Makefile
index cf83dd9bd6c4..443152058be8 100644
--- a/x11-wm/compiz-fusion-plugins-unsupported/Makefile
+++ b/x11-wm/compiz-fusion-plugins-unsupported/Makefile
@@ -35,7 +35,6 @@ GCONF_SCHEMAS= compiz-fakeargb.schemas \
compiz-snow.schemas \
compiz-tile.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-schemas
diff --git a/x11-wm/compiz-plugins-extra/Makefile b/x11-wm/compiz-plugins-extra/Makefile
index 074611f36700..33b6927d1397 100644
--- a/x11-wm/compiz-plugins-extra/Makefile
+++ b/x11-wm/compiz-plugins-extra/Makefile
@@ -49,7 +49,6 @@ GCONF_SCHEMAS= compiz-addhelper.schemas \
compiz-trailfocus.schemas \
compiz-widget.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-schemas
diff --git a/x11-wm/compiz-plugins-main/Makefile b/x11-wm/compiz-plugins-main/Makefile
index 3bc1b0b3193c..d7bebd88d135 100644
--- a/x11-wm/compiz-plugins-main/Makefile
+++ b/x11-wm/compiz-plugins-main/Makefile
@@ -51,7 +51,6 @@ GCONF_SCHEMAS= compiz-animation.schemas \
compiz-vpswitch.schemas \
compiz-shift.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-schemas
diff --git a/x11-wm/compiz-plugins-unsupported/Makefile b/x11-wm/compiz-plugins-unsupported/Makefile
index cf83dd9bd6c4..443152058be8 100644
--- a/x11-wm/compiz-plugins-unsupported/Makefile
+++ b/x11-wm/compiz-plugins-unsupported/Makefile
@@ -35,7 +35,6 @@ GCONF_SCHEMAS= compiz-fakeargb.schemas \
compiz-snow.schemas \
compiz-tile.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --enable-schemas
diff --git a/x11-wm/compiz/Makefile b/x11-wm/compiz/Makefile
index 166f0dc655c3..29d7e7aff94c 100644
--- a/x11-wm/compiz/Makefile
+++ b/x11-wm/compiz/Makefile
@@ -60,7 +60,6 @@ GCONF_SCHEMAS= gwd.schemas \
compiz-wobbly.schemas \
compiz-zoom.schemas
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/x11-wm/compizconfig-python/Makefile b/x11-wm/compizconfig-python/Makefile
index e5245c928d5c..585f9b9030e1 100644
--- a/x11-wm/compizconfig-python/Makefile
+++ b/x11-wm/compizconfig-python/Makefile
@@ -27,8 +27,6 @@ USE_PYTHON= yes
USE_GNOME= gnomehack glib20
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
post-patch:
@${REINPLACE_CMD} -e \
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
diff --git a/x11-wm/emerald/Makefile b/x11-wm/emerald/Makefile
index a1a449e66655..4bbd57cf90c8 100644
--- a/x11-wm/emerald/Makefile
+++ b/x11-wm/emerald/Makefile
@@ -31,7 +31,6 @@ USE_AUTOTOOLS= libtool:15
MAN1= emerald.1 \
emerald-theme-manager.1
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/x11-wm/fbpager/Makefile b/x11-wm/fbpager/Makefile
index 84407490d4f3..94f68e72d551 100644
--- a/x11-wm/fbpager/Makefile
+++ b/x11-wm/fbpager/Makefile
@@ -16,7 +16,6 @@ COMMENT= Desktop pager for the Fluxbox window manager
USE_XORG= x11
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
PLIST_FILES= bin/fbpager
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
diff --git a/x11-wm/kahakai/Makefile b/x11-wm/kahakai/Makefile
index 48c3e28aefef..deb4df7468ff 100644
--- a/x11-wm/kahakai/Makefile
+++ b/x11-wm/kahakai/Makefile
@@ -36,7 +36,6 @@ USE_EFL= imlib2
MAN1= kahakai.1
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CFLAGS=${PTHREAD_CFLAGS} \
LDFLAGS=-L${LOCALBASE}/lib \
diff --git a/x11-wm/kappdock/Makefile b/x11-wm/kappdock/Makefile
index 9b022542c8e1..4fd6f90758df 100644
--- a/x11-wm/kappdock/Makefile
+++ b/x11-wm/kappdock/Makefile
@@ -19,7 +19,6 @@ COMMENT= A dock-like applet for KDE3
USE_GETTEXT= yes
USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include \
--enable-threads \
--disable-closure
diff --git a/x11-wm/libcompizconfig/Makefile b/x11-wm/libcompizconfig/Makefile
index c91453650829..7189c00724b7 100644
--- a/x11-wm/libcompizconfig/Makefile
+++ b/x11-wm/libcompizconfig/Makefile
@@ -24,7 +24,6 @@ USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack intltool libxml2
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
diff --git a/x11-wm/ude/Makefile b/x11-wm/ude/Makefile
index 3cf4ec886632..f7c9e8207b77 100644
--- a/x11-wm/ude/Makefile
+++ b/x11-wm/ude/Makefile
@@ -19,7 +19,6 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg
USE_XORG= x11 ice sm xext xmu xpm
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/x11-wm/wmconfig/Makefile b/x11-wm/wmconfig/Makefile
index ff508463c8df..8434c993ec5d 100644
--- a/x11-wm/wmconfig/Makefile
+++ b/x11-wm/wmconfig/Makefile
@@ -15,7 +15,6 @@ COMMENT= Menu generation tool for X window managers
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= wmconfig.1x
diff --git a/x11-wm/xfce/Makefile b/x11-wm/xfce/Makefile
index 7450ae3492a7..0b76722eabb0 100644
--- a/x11-wm/xfce/Makefile
+++ b/x11-wm/xfce/Makefile
@@ -21,7 +21,6 @@ USE_XORG= x11 xpm
USE_GETTEXT= yes
USE_GNOME= gdkpixbuf
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-conf-dir=${PREFIX}/etc/xfce \
diff --git a/x11/3ddesktop/Makefile b/x11/3ddesktop/Makefile
index 51997fb178a7..b1601ff969cb 100644
--- a/x11/3ddesktop/Makefile
+++ b/x11/3ddesktop/Makefile
@@ -20,7 +20,6 @@ LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
USE_GL= yes
USE_EFL= imlib2
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAN1= 3ddesk.1 3ddeskd.1
diff --git a/x11/bbdock/Makefile b/x11/bbdock/Makefile
index 02f54f45713b..5da52aaf1f14 100644
--- a/x11/bbdock/Makefile
+++ b/x11/bbdock/Makefile
@@ -18,7 +18,6 @@ LIB_DEPENDS= png:${PORTSDIR}/graphics/png
PORTDOCS= README
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_XORG= ice sm x11 xau xcursor xdmcp xext xfixes xi
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile
index 7a5e1d6b8a38..0d5461fb77df 100644
--- a/x11/gdkxft/Makefile
+++ b/x11/gdkxft/Makefile
@@ -22,7 +22,6 @@ USE_GNOME= gtk12
WANT_GNOME= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lgnuregex -liconv" \
CFLAGS="${CFLAGS} `pkg-config xft --cflags`"
CONFIGURE_ARGS= --sbindir=${PREFIX}/bin
diff --git a/x11/kdelibs3/Makefile b/x11/kdelibs3/Makefile
index 8912d7ef164d..dce1b6fee566 100644
--- a/x11/kdelibs3/Makefile
+++ b/x11/kdelibs3/Makefile
@@ -59,11 +59,9 @@ PREFIX= ${KDE_PREFIX}
USE_LDCONFIG= ${PREFIX}/lib/kde3
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET=# empty
CONFIGURE_ARGS+=--disable-ltdl-install \
--disable-as-needed \
--enable-mt \
- --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
--x-libraries=${LOCALBASE}/lib --x-includes=${LOCALBASE}/include \
--with-libthai=yes \
--with-lua=no \
diff --git a/x11/libXTrap/Makefile b/x11/libXTrap/Makefile
index 76c578b9986b..de3888f4cfaa 100644
--- a/x11/libXTrap/Makefile
+++ b/x11/libXTrap/Makefile
@@ -16,6 +16,4 @@ XORG_CAT= lib
USE_XORG= trapproto:both x11 xext xextproto xt
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/x11/libXinerama/Makefile b/x11/libXinerama/Makefile
index 9f146fb96c80..225afe5c4ae6 100644
--- a/x11/libXinerama/Makefile
+++ b/x11/libXinerama/Makefile
@@ -17,8 +17,6 @@ XORG_CAT= lib
USE_XORG= x11 xext xextproto xineramaproto:both
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
MAN3= Xinerama.3 \
XineramaQueryExtension.3 \
XineramaQueryVersion.3 \
diff --git a/x11/libXp/Makefile b/x11/libXp/Makefile
index 7fe491916ed8..570d7245dced 100644
--- a/x11/libXp/Makefile
+++ b/x11/libXp/Makefile
@@ -17,8 +17,6 @@ XORG_CAT= lib
USE_XORG= x11 xext xextproto xau printproto:both
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
MAN3= XpCancelDoc.3 \
XpCancelJob.3 \
XpCancelPage.3 \
diff --git a/x11/libXprintAppUtil/Makefile b/x11/libXprintAppUtil/Makefile
index 2f6878d6898d..14aa8e7b6023 100644
--- a/x11/libXprintAppUtil/Makefile
+++ b/x11/libXprintAppUtil/Makefile
@@ -16,6 +16,4 @@ XORG_CAT= lib
USE_XORG= printproto x11 xau xp xprintutil xproto:both
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/x11/libXprintUtil/Makefile b/x11/libXprintUtil/Makefile
index b90e0d8c5941..c737e85cb528 100644
--- a/x11/libXprintUtil/Makefile
+++ b/x11/libXprintUtil/Makefile
@@ -16,6 +16,4 @@ XORG_CAT= lib
USE_XORG= printproto:both x11 xau xp xt
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/x11/libXtrans/Makefile b/x11/libXtrans/Makefile
index c7685dd4f59b..aea8fa914b94 100644
--- a/x11/libXtrans/Makefile
+++ b/x11/libXtrans/Makefile
@@ -16,7 +16,6 @@ COMMENT= Network API translation layer for X applications and libraries
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_GNOME= gnomehack
diff --git a/x11/libXtst/Makefile b/x11/libXtst/Makefile
index 278468302ce7..f9aaf7d60a49 100644
--- a/x11/libXtst/Makefile
+++ b/x11/libXtst/Makefile
@@ -17,8 +17,6 @@ XORG_CAT= lib
USE_XORG= x11 xext recordproto:both xextproto inputproto:both
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
MAN3= XTestQueryExtension.3 \
XTestCompareCursorWithWindow.3 \
XTestCompareCurrentCursorWithWindow.3 \
diff --git a/x11/liboldX/Makefile b/x11/liboldX/Makefile
index 1deca9732e07..70ac3c47dc4f 100644
--- a/x11/liboldX/Makefile
+++ b/x11/liboldX/Makefile
@@ -16,6 +16,4 @@ XORG_CAT= lib
USE_XORG= x11
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
.include <bsd.port.mk>
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index 7c80e6033c31..e852d7e75849 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -30,7 +30,6 @@ USE_LDCONFIG= yes
USE_XORG= xau xdmcp
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --with-check=${LOCALBASE}
.for f in XPROTO_CFLAGS XPROTO_LIBS XDMCP_CFLAGS XDMCP_LIBS NEEDED_CFLAGS NEEDED_LIBS
CONFIGURE_ARGS+=${f}="${${f}}"
diff --git a/x11/multi-aterm/Makefile b/x11/multi-aterm/Makefile
index c73e21ca94bb..7a2be5e4c196 100644
--- a/x11/multi-aterm/Makefile
+++ b/x11/multi-aterm/Makefile
@@ -16,8 +16,7 @@ COMMENT= A multi terminal based on aterm
USE_XORG= xpm
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \
- --with-xpm=${LOCALBASE}
+CONFIGURE_ARGS=--with-xpm=${LOCALBASE}
DOCS= AUTHORS ChangeLog INSTALL TODO
MAN1= multi-aterm.1
diff --git a/x11/oooqs/Makefile b/x11/oooqs/Makefile
index 6e9b986ae6a9..4c85539657b0 100644
--- a/x11/oooqs/Makefile
+++ b/x11/oooqs/Makefile
@@ -14,7 +14,6 @@ MAINTAINER= itetcu@people.tecnik93.com
COMMENT= Quick launcher for Open Office
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_KDELIBS_VER= 3
USE_GMAKE= yes
diff --git a/x11/oooqs2/Makefile b/x11/oooqs2/Makefile
index dc3ffa43915b..ae3732f034dc 100644
--- a/x11/oooqs2/Makefile
+++ b/x11/oooqs2/Makefile
@@ -18,7 +18,6 @@ USE_AUTOTOOLS= libtool:15
CONFIGURE_ARGS+= --with-qt-dir=${QT_PREFIX}
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_KDELIBS_VER= 3
USE_GMAKE= yes
INSTALLS_ICONS= 1
diff --git a/x11/rxvt-unicode/Makefile b/x11/rxvt-unicode/Makefile
index 240b2aac20fe..cfbb12c015f0 100644
--- a/x11/rxvt-unicode/Makefile
+++ b/x11/rxvt-unicode/Makefile
@@ -24,7 +24,6 @@ USE_XORG= xpm xft
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
CONFIGURE_ARGS= --enable-shared --enable-everything --with-term=rxvt
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_BZIP2= yes
MAN1= urxvt.1 urxvtc.1 urxvtd.1
diff --git a/x11/wdm/Makefile b/x11/wdm/Makefile
index 75f064535d35..53ec083f1d05 100644
--- a/x11/wdm/Makefile
+++ b/x11/wdm/Makefile
@@ -29,7 +29,6 @@ NOT_FOR_ARCHS= sparc64
USE_XORG= x11 xmu
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
DEF_SERVER="${DEF_SERVER}" XRDB_PATH="${XRDB_PATH}"
CONFIGURE_ARGS= --with-logdir=/var/log \
diff --git a/x11/x3270/Makefile b/x11/x3270/Makefile
index ae6f4136d4f5..fba768642148 100644
--- a/x11/x3270/Makefile
+++ b/x11/x3270/Makefile
@@ -21,7 +21,6 @@ BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \
USE_IMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+= --without-pr3287 --with-fontdir=local --disable-dbcs
.if defined(WITHOUT_OPENSSL)
CONFIGURE_ARGS+= --disable-ssl
diff --git a/x11/xcb-proto/Makefile b/x11/xcb-proto/Makefile
index 2de2e1b2d80e..99b908b0e4d7 100644
--- a/x11/xcb-proto/Makefile
+++ b/x11/xcb-proto/Makefile
@@ -18,7 +18,6 @@ BUILD_DEPENDS= xmllint:${PORTSDIR}/textproc/libxml2
USE_BZIP2= yes
USE_GNOME= gnomehack
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
DATADIR= ${PREFIX}/share/xcb
diff --git a/x11/xrx/Makefile b/x11/xrx/Makefile
index bf73af76db56..e6116c9af12c 100644
--- a/x11/xrx/Makefile
+++ b/x11/xrx/Makefile
@@ -18,8 +18,6 @@ USE_XORG= x11 xt xext xtrans xproxymngproto xau xaw
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
-CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
-
MAN1= xrx.1 libxrx.1
.include <bsd.port.mk>
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 8db3ba2dbb5f..c9617ddf70b1 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -19,7 +19,6 @@ BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit
USE_XORG= xaw xft
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+=--enable-wide-chars --enable-luit --with-utempter \
diff --git a/x11/xtermcontrol/Makefile b/x11/xtermcontrol/Makefile
index e1ab663b1557..850e3cea7883 100644
--- a/x11/xtermcontrol/Makefile
+++ b/x11/xtermcontrol/Makefile
@@ -18,7 +18,6 @@ RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm
USE_GETTEXT= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
diff --git a/x11/xvattr/Makefile b/x11/xvattr/Makefile
index 6f908375fb81..cf652ba16902 100644
--- a/x11/xvattr/Makefile
+++ b/x11/xvattr/Makefile
@@ -19,7 +19,6 @@ USE_PERL5_BUILD= yes
USE_GNOME= gtk12
USE_XORG= x11 xv
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= xvattr.1