aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/libcomprex/Makefile2
-rw-r--r--archivers/libdynamite/Makefile2
-rw-r--r--archivers/liborange/Makefile2
-rw-r--r--archivers/lrzip/Makefile2
-rw-r--r--archivers/unshield/Makefile2
-rw-r--r--astro/jday/Makefile2
-rw-r--r--audio/aubio/Makefile2
-rw-r--r--audio/ccaudio2/Makefile2
-rw-r--r--audio/celt/Makefile2
-rw-r--r--audio/dssi/Makefile2
-rw-r--r--audio/esound/Makefile2
-rw-r--r--audio/ksmp3play/Makefile2
-rw-r--r--audio/libaudiofile/Makefile2
-rw-r--r--audio/libcddb/Makefile2
-rw-r--r--audio/libgig/Makefile2
-rw-r--r--audio/liblo/Makefile2
-rw-r--r--audio/liblscp/Makefile2
-rw-r--r--audio/libmtp/Makefile2
-rw-r--r--audio/libnjb/Makefile2
-rw-r--r--audio/libofa/Makefile2
-rw-r--r--audio/libogg/Makefile2
-rw-r--r--audio/libsamplerate/Makefile2
-rw-r--r--audio/libsidplay2/Makefile2
-rw-r--r--audio/libvorbis/Makefile2
-rw-r--r--audio/linuxsampler/Makefile2
-rw-r--r--audio/opencore-amr/Makefile2
-rw-r--r--audio/opus/Makefile2
-rw-r--r--audio/paman/Makefile2
-rw-r--r--audio/sdl_mixer/Makefile2
-rw-r--r--audio/taglib-sharp/Makefile2
-rw-r--r--cad/brlcad/Makefile3
-rw-r--r--converters/fribidi/Makefile2
-rw-r--r--databases/dbh/Makefile2
-rw-r--r--databases/dbh10/Makefile2
-rw-r--r--databases/libzdb/Makefile2
-rw-r--r--databases/mysqlcppapi/Makefile2
-rw-r--r--databases/sqlcipher/Makefile2
-rw-r--r--deskutils/google-gadgets/Makefile4
-rw-r--r--devel/atlas-devel/Makefile2
-rw-r--r--devel/atlas/Makefile2
-rw-r--r--devel/boehm-gc/Makefile2
-rw-r--r--devel/bufferpool/Makefile2
-rw-r--r--devel/clanlib/Makefile2
-rw-r--r--devel/clanlib1/Makefile2
-rw-r--r--devel/clanlib22/Makefile2
-rw-r--r--devel/cmph/Makefile2
-rw-r--r--devel/commoncpp/Makefile2
-rw-r--r--devel/dbus-sharp/Makefile2
-rw-r--r--devel/directfb/Makefile2
-rw-r--r--devel/dotconf/Makefile2
-rw-r--r--devel/eris/Makefile2
-rw-r--r--devel/gearmand/Makefile2
-rw-r--r--devel/gflags/Makefile2
-rw-r--r--devel/glog/Makefile2
-rw-r--r--devel/google-perftools/Makefile2
-rw-r--r--devel/gsoap/Makefile2
-rw-r--r--devel/guichan/Makefile2
-rw-r--r--devel/jclassinfo/Makefile2
-rw-r--r--devel/libYGP/Makefile2
-rw-r--r--devel/libassa/Makefile2
-rw-r--r--devel/libast/Makefile2
-rw-r--r--devel/libatomic_ops/Makefile2
-rw-r--r--devel/libconfig/Makefile2
-rw-r--r--devel/libcwd/Makefile2
-rw-r--r--devel/libdap/Makefile2
-rw-r--r--devel/libdatrie/Makefile2
-rw-r--r--devel/libffi/Makefile2
-rw-r--r--devel/libfreefare/Makefile2
-rw-r--r--devel/libgalago/Makefile2
-rw-r--r--devel/libgta/Makefile2
-rw-r--r--devel/liblangtag/Makefile2
-rw-r--r--devel/liblognorm/Makefile2
-rw-r--r--devel/libmatheval/Makefile2
-rw-r--r--devel/libnfc/Makefile2
-rw-r--r--devel/liborcus/Makefile2
-rw-r--r--devel/libpo6/Makefile2
-rw-r--r--devel/libshbuf/Makefile2
-rw-r--r--devel/libsigc++20/Makefile2
-rw-r--r--devel/libthai/Makefile2
-rw-r--r--devel/libvanessa_logger/Makefile2
-rw-r--r--devel/libvanessa_socket/Makefile2
-rw-r--r--devel/libwfut/Makefile2
-rw-r--r--devel/libxs/Makefile2
-rw-r--r--devel/log4c/Makefile2
-rw-r--r--devel/mercator/Makefile2
-rw-r--r--devel/mm-common/Makefile2
-rw-r--r--devel/ndesk-dbus-glib/Makefile2
-rw-r--r--devel/ndesk-dbus/Makefile2
-rw-r--r--devel/obby/Makefile2
-rw-r--r--devel/ois/Makefile2
-rw-r--r--devel/pcre/Makefile2
-rw-r--r--devel/popt/Makefile2
-rw-r--r--devel/py-dbus/Makefile2
-rw-r--r--devel/py-gamin/Makefile2
-rw-r--r--devel/rlog/Makefile2
-rw-r--r--devel/ucommon/Makefile2
-rw-r--r--devel/valgrind-snapshot/Makefile2
-rw-r--r--devel/valgrind/Makefile2
-rw-r--r--devel/varconf/Makefile2
-rw-r--r--devel/vstr/Makefile2
-rw-r--r--devel/zmq-devel/Makefile2
-rw-r--r--devel/zmq/Makefile2
-rw-r--r--devel/zziplib/Makefile2
-rw-r--r--finance/aqbanking/Makefile2
-rw-r--r--finance/ktoblzcheck/Makefile2
-rw-r--r--ftp/curl/Makefile2
-rw-r--r--ftp/curlpp/Makefile2
-rw-r--r--games/abuse_sdl/Makefile2
-rw-r--r--games/ember/Makefile2
-rw-r--r--games/hinversi/Makefile2
-rw-r--r--games/libfov/Makefile2
-rw-r--r--games/libggz/Makefile2
-rw-r--r--graphics/agg/Makefile2
-rw-r--r--graphics/autotrace/Makefile2
-rw-r--r--graphics/cairo-java/Makefile2
-rw-r--r--graphics/cegui/Makefile2
-rw-r--r--graphics/djvulibre/Makefile2
-rw-r--r--graphics/epeg/Makefile2
-rw-r--r--graphics/ftgl/Makefile2
-rw-r--r--graphics/geglmm/Makefile2
-rw-r--r--graphics/giblib/Makefile2
-rw-r--r--graphics/glitz/Makefile2
-rw-r--r--graphics/goom/Makefile2
-rw-r--r--graphics/gstreamer-plugins-gl/Makefile2
-rw-r--r--graphics/imlib2_loaders/Makefile2
-rw-r--r--graphics/libart_lgpl/Makefile2
-rw-r--r--graphics/libcdr/Makefile2
-rw-r--r--graphics/libsvg-cairo/Makefile2
-rw-r--r--graphics/libvisual/Makefile2
-rw-r--r--graphics/passepartout/Makefile2
-rw-r--r--graphics/pstoedit/Makefile2
-rw-r--r--graphics/py-cairo/Makefile2
-rw-r--r--graphics/quesoglc/Makefile2
-rw-r--r--graphics/reallyslick/Makefile2
-rw-r--r--graphics/sage/Makefile2
-rw-r--r--graphics/sampleicc/Makefile2
-rw-r--r--graphics/sane-backends/Makefile2
-rw-r--r--graphics/simage/Makefile2
-rw-r--r--irc/charybdis/Makefile2
-rw-r--r--irc/smartirc4net/Makefile2
-rw-r--r--irc/xaric/Makefile2
-rw-r--r--lang/libjit/Makefile2
-rw-r--r--lang/librep/Makefile2
-rw-r--r--lang/ofc/Makefile2
-rw-r--r--lang/qore/Makefile2
-rw-r--r--lang/see-devel/Makefile2
-rw-r--r--mail/up-imapproxy/Makefile2
-rw-r--r--math/blitz++/Makefile2
-rw-r--r--math/fftw3/Makefile2
-rw-r--r--math/lapack++/Makefile2
-rw-r--r--math/muparser/Makefile2
-rw-r--r--math/wfmath/Makefile2
-rw-r--r--misc/iso-codes/Makefile2
-rw-r--r--multimedia/gavl/Makefile2
-rw-r--r--multimedia/gmerlin-avdecoder/Makefile2
-rw-r--r--multimedia/libass/Makefile2
-rw-r--r--multimedia/libdc1394/Makefile2
-rw-r--r--multimedia/libdvbpsi/Makefile2
-rw-r--r--net-im/gloox/Makefile2
-rw-r--r--net-p2p/libtorrent-devel/Makefile2
-rw-r--r--net-p2p/libtorrent-rasterbar-15/Makefile2
-rw-r--r--net-p2p/libtorrent-rasterbar-16/Makefile2
-rw-r--r--net-p2p/libtorrent/Makefile2
-rw-r--r--net/cyphesis/Makefile2
-rw-r--r--net/libvncserver/Makefile2
-rw-r--r--net/net6/Makefile2
-rw-r--r--net/ntp-devel/Makefile2
-rw-r--r--net/openpgm/Makefile2
-rw-r--r--net/skstream/Makefile2
-rw-r--r--net/ulxmlrpcpp/Makefile2
-rw-r--r--net/vde2/Makefile2
-rw-r--r--palm/synce-librapi2/Makefile2
-rw-r--r--palm/synce-librra/Makefile2
-rw-r--r--palm/synce-libsynce/Makefile2
-rw-r--r--polish/ekg/Makefile2
-rw-r--r--print/libmspub/Makefile2
-rw-r--r--print/panda/Makefile2
-rw-r--r--science/cdo/Makefile2
-rw-r--r--science/libghemical/Makefile2
-rw-r--r--science/liboglappth/Makefile2
-rw-r--r--science/netcdf4/Makefile2
-rw-r--r--science/peekabot/Makefile2
-rw-r--r--security/libntlm/Makefile2
-rw-r--r--security/libprelude/Makefile2
-rw-r--r--security/oath-toolkit/Makefile2
-rw-r--r--security/openconnect/Makefile2
-rw-r--r--security/razorback-api/Makefile2
-rw-r--r--security/razorback-dispatcher/Makefile2
-rw-r--r--sysutils/consolekit/Makefile2
-rw-r--r--sysutils/hal-info/Makefile2
-rw-r--r--sysutils/userspace-rcu/Makefile2
-rw-r--r--textproc/aiksaurus/Makefile2
-rw-r--r--textproc/hunspell/Makefile2
-rw-r--r--textproc/hyphen/Makefile2
-rw-r--r--textproc/libexttextcat/Makefile2
-rw-r--r--textproc/libmrss/Makefile2
-rw-r--r--textproc/libvisio/Makefile2
-rw-r--r--textproc/libyaml/Makefile2
-rw-r--r--textproc/mxml/Makefile2
-rw-r--r--textproc/mythes/Makefile2
-rw-r--r--textproc/xerces-c3/Makefile2
-rw-r--r--www/cherokee/Makefile2
-rw-r--r--www/serf/Makefile2
-rw-r--r--www/xsp/Makefile2
-rw-r--r--x11-drivers/xf86-input-synaptics/Makefile2
-rw-r--r--x11-toolkits/SoXt/Makefile2
-rw-r--r--x11-toolkits/fox17/Makefile2
-rw-r--r--x11-toolkits/fxscintilla/Makefile2
-rw-r--r--x11-toolkits/libsexymm/Makefile2
-rw-r--r--x11-toolkits/soqt/Makefile2
-rw-r--r--x11-wm/ede/Makefile2
-rw-r--r--x11-wm/windowmaker/Makefile2
-rw-r--r--x11/fluxbg/Makefile2
-rw-r--r--x11/libXtrans/Makefile2
-rw-r--r--x11/libxcb/Makefile2
-rw-r--r--x11/xbitmaps/Makefile2
-rw-r--r--x11/xcb-proto/Makefile2
-rw-r--r--x11/xpyb/Makefile2
218 files changed, 219 insertions, 220 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
index 23a5da8f641a..bd253ec95206 100644
--- a/archivers/libcomprex/Makefile
+++ b/archivers/libcomprex/Makefile
@@ -23,7 +23,7 @@ USE_PKGCONFIG= yes
OPTIONS_DEFINE= NLS
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/archivers/libdynamite/Makefile b/archivers/libdynamite/Makefile
index 85e49fcb8e13..acf8bf8483fd 100644
--- a/archivers/libdynamite/Makefile
+++ b/archivers/libdynamite/Makefile
@@ -17,7 +17,7 @@ MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAN1= dynamite.1
diff --git a/archivers/liborange/Makefile b/archivers/liborange/Makefile
index 2d7f3826e382..61744897c473 100644
--- a/archivers/liborange/Makefile
+++ b/archivers/liborange/Makefile
@@ -25,7 +25,7 @@ MAKE_JOBS_SAFE= yes
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_ICONV= yes
CFLAGS+= -I${LOCALBASE}/include
diff --git a/archivers/lrzip/Makefile b/archivers/lrzip/Makefile
index 244572102153..153ef14745e3 100644
--- a/archivers/lrzip/Makefile
+++ b/archivers/lrzip/Makefile
@@ -25,7 +25,7 @@ GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
diff --git a/archivers/unshield/Makefile b/archivers/unshield/Makefile
index 544a5514bbed..76c6c6e557b8 100644
--- a/archivers/unshield/Makefile
+++ b/archivers/unshield/Makefile
@@ -16,7 +16,7 @@ COMMENT= Extract data from InstallShield CAB files
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAN1= ${PORTNAME}.1
diff --git a/astro/jday/Makefile b/astro/jday/Makefile
index 720526dcaac0..6ce6896b1dcd 100644
--- a/astro/jday/Makefile
+++ b/astro/jday/Makefile
@@ -9,7 +9,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Astronomical Julian date calculator
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/audio/aubio/Makefile b/audio/aubio/Makefile
index 00cda36029d6..5deb87727517 100644
--- a/audio/aubio/Makefile
+++ b/audio/aubio/Makefile
@@ -25,7 +25,7 @@ GNU_CONFIGURE= yes
# --disable-complex: does not compile due to missing carg(3) et al.
CONFIGURE_ARGS= --disable-complex
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/audio/ccaudio2/Makefile b/audio/ccaudio2/Makefile
index c508927b411c..26836222f7f6 100644
--- a/audio/ccaudio2/Makefile
+++ b/audio/ccaudio2/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= ccgnu2:${PORTSDIR}/devel/commoncpp \
CONFLICTS= ccaudio-[0-9]*
USE_PKGCONFIG= build
-USE_GNOME= gnomehack
+USES= pathfix
USE_CMAKE= yes
CMAKE_OUTSOURCE=yes
USE_LDCONFIG= yes
diff --git a/audio/celt/Makefile b/audio/celt/Makefile
index b5c2ae60b9ba..0b060343dd6f 100644
--- a/audio/celt/Makefile
+++ b/audio/celt/Makefile
@@ -23,6 +23,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ogg=${LOCALBASE}
USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/audio/dssi/Makefile b/audio/dssi/Makefile
index 0f276129d340..235e202969b2 100644
--- a/audio/dssi/Makefile
+++ b/audio/dssi/Makefile
@@ -26,7 +26,7 @@ RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
OPTIONS_DEFINE= QT4
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_PKGCONFIG= build
GNU_CONFIGURE= yes
diff --git a/audio/esound/Makefile b/audio/esound/Makefile
index e6a7f089be46..4e02dfa4efea 100644
--- a/audio/esound/Makefile
+++ b/audio/esound/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/audio/ksmp3play/Makefile b/audio/ksmp3play/Makefile
index 1abbb8d560e1..bdb4068599d0 100644
--- a/audio/ksmp3play/Makefile
+++ b/audio/ksmp3play/Makefile
@@ -13,7 +13,7 @@ COMMENT= Curses-based MP3 player
LIB_DEPENDS= smpeg:${PORTSDIR}/multimedia/smpeg
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_SDL= sdl
NO_WRKSUBDIR= yes
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index af705e96ee5b..95822320bb86 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= A sound library for SGI audio file
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/audio/libcddb/Makefile b/audio/libcddb/Makefile
index 95ab751ef345..e0014e1234b4 100644
--- a/audio/libcddb/Makefile
+++ b/audio/libcddb/Makefile
@@ -12,7 +12,7 @@ COMMENT= A library to access data on a CDDB server
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_ICONV= yes
USE_LDCONFIG= yes
diff --git a/audio/libgig/Makefile b/audio/libgig/Makefile
index 8b35131607ee..e30d17b6c351 100644
--- a/audio/libgig/Makefile
+++ b/audio/libgig/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= FLAC.10:${PORTSDIR}/audio/flac \
uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/audio/liblo/Makefile b/audio/liblo/Makefile
index 659d75a16a91..605acff2b694 100644
--- a/audio/liblo/Makefile
+++ b/audio/liblo/Makefile
@@ -16,6 +16,6 @@ COMMENT= Lightweight Open Sound Control implementation
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/audio/liblscp/Makefile b/audio/liblscp/Makefile
index 036fcdab4338..59585e1b4eb7 100644
--- a/audio/liblscp/Makefile
+++ b/audio/liblscp/Makefile
@@ -16,7 +16,7 @@ COMMENT= Wrapper around the LSCP network protocol
LICENSE= LGPL21
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/audio/libmtp/Makefile b/audio/libmtp/Makefile
index 00bf3b0678bb..fa9d5cab5eed 100644
--- a/audio/libmtp/Makefile
+++ b/audio/libmtp/Makefile
@@ -15,7 +15,7 @@ OPTIONS_DEFINE= MTPZ
OPTIONS_DEFAULT= MTPZ
MTPZ_DESC= Enable functionality to connect to MTPZ devices
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/audio/libnjb/Makefile b/audio/libnjb/Makefile
index 00762b9a6f0b..f13f8cbfa160 100644
--- a/audio/libnjb/Makefile
+++ b/audio/libnjb/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/libofa/Makefile b/audio/libofa/Makefile
index 3631208ece3c..bef9697d14e6 100644
--- a/audio/libofa/Makefile
+++ b/audio/libofa/Makefile
@@ -28,7 +28,7 @@ LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
PROJECTHOST= musicip-libofa
USE_DOS2UNIX= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/audio/libogg/Makefile b/audio/libogg/Makefile
index 367b411d1c41..0c99c98b8053 100644
--- a/audio/libogg/Makefile
+++ b/audio/libogg/Makefile
@@ -12,7 +12,7 @@ COMMENT= Ogg bitstream library
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile
index 4a8899227f14..629ae9f3ea3a 100644
--- a/audio/libsamplerate/Makefile
+++ b/audio/libsamplerate/Makefile
@@ -13,7 +13,7 @@ COMMENT= Secret Rabbit Code: a Sample Rate Converter for audio
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/audio/libsidplay2/Makefile b/audio/libsidplay2/Makefile
index 4c68292f68d1..bcf6e17ba934 100644
--- a/audio/libsidplay2/Makefile
+++ b/audio/libsidplay2/Makefile
@@ -15,7 +15,7 @@ DISTNAME= sidplay-libs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Library to play Commodore 64 SID-tunes cycle accurate
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_PKGCONFIG= yes
diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile
index 7572d10142d3..c6e659674561 100644
--- a/audio/libvorbis/Makefile
+++ b/audio/libvorbis/Makefile
@@ -14,7 +14,7 @@ COMMENT= Audio compression codec library
LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_XZ= yes
diff --git a/audio/linuxsampler/Makefile b/audio/linuxsampler/Makefile
index 847b057a188b..931a91d50a7b 100644
--- a/audio/linuxsampler/Makefile
+++ b/audio/linuxsampler/Makefile
@@ -23,7 +23,7 @@ DSSI_DESC= Enable DSSI support
LV2CORE_DESC= Enable LV2 support
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_SQLITE= 3
USE_PKGCONFIG= build
USE_GMAKE= yes
diff --git a/audio/opencore-amr/Makefile b/audio/opencore-amr/Makefile
index 70c89c19a70a..1e0faeede480 100644
--- a/audio/opencore-amr/Makefile
+++ b/audio/opencore-amr/Makefile
@@ -17,7 +17,7 @@ LICENSE= AL2
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/audio/opus/Makefile b/audio/opus/Makefile
index 472c2ab1c12e..089254b1ae54 100644
--- a/audio/opus/Makefile
+++ b/audio/opus/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= naddy@FreeBSD.org
COMMENT= IETF audio codec
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/audio/paman/Makefile b/audio/paman/Makefile
index 48ca82e943ce..1f4c3ee71ac4 100644
--- a/audio/paman/Makefile
+++ b/audio/paman/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS= --disable-lynx
diff --git a/audio/sdl_mixer/Makefile b/audio/sdl_mixer/Makefile
index 3834ad287481..39622ee1e809 100644
--- a/audio/sdl_mixer/Makefile
+++ b/audio/sdl_mixer/Makefile
@@ -16,7 +16,7 @@ LICENSE= ZLIB
USE_AUTOTOOLS= libtool
USE_SDL= sdl
USE_PKGCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/audio/taglib-sharp/Makefile b/audio/taglib-sharp/Makefile
index a5447adc5034..6cf7613b46ce 100644
--- a/audio/taglib-sharp/Makefile
+++ b/audio/taglib-sharp/Makefile
@@ -21,7 +21,7 @@ RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|}
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
PLIST_SUB+= PORTVERSION="${PORTVERSION}" \
diff --git a/cad/brlcad/Makefile b/cad/brlcad/Makefile
index 5818bd19fb46..514213d65a3a 100644
--- a/cad/brlcad/Makefile
+++ b/cad/brlcad/Makefile
@@ -26,14 +26,13 @@ USE_GL= gl glu
USE_XORG= ice inputproto sm x11 xau xdamage xdmcp xext xfixes xft xi \
xproto xrender xscrnsaver xt xxf86vm
USE_GMAKE= yes
-USES= bison
+USES= bison pathfix
USE_TCL= 85
USE_TK= 85
USE_LDCONFIG= yes
PREFIX?= ${LOCALBASE}/${PORTNAME}
NO_MTREE= yes
-USE_GNOME= gnomehack
USE_CMAKE= yes
MAKE_JOBS_SAFE= yes
diff --git a/converters/fribidi/Makefile b/converters/fribidi/Makefile
index fc3f3e0c605d..c0a4b10acb68 100644
--- a/converters/fribidi/Makefile
+++ b/converters/fribidi/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= A Free Implementation of the Unicode Bidirectional Algorithm
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-glib
diff --git a/databases/dbh/Makefile b/databases/dbh/Makefile
index d49dc92d13a1..f0e7d34dbc39 100644
--- a/databases/dbh/Makefile
+++ b/databases/dbh/Makefile
@@ -12,7 +12,7 @@ COMMENT= Disk Based Hashtables
CONFLICTS= dbh-[0-3]*
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/databases/dbh10/Makefile b/databases/dbh10/Makefile
index 53dfc9d6ccc9..ac8b17c16e50 100644
--- a/databases/dbh10/Makefile
+++ b/databases/dbh10/Makefile
@@ -18,7 +18,7 @@ COMMENT= Disk Based Hashtables
CONFLICTS= dbh-[2-9]*
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
diff --git a/databases/libzdb/Makefile b/databases/libzdb/Makefile
index afd0198a7d84..96d7eb599c53 100644
--- a/databases/libzdb/Makefile
+++ b/databases/libzdb/Makefile
@@ -24,7 +24,7 @@ OPTIONS_DEFAULT=MYSQL SQLITE PGSQL
.include <bsd.port.options.mk>
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/databases/mysqlcppapi/Makefile b/databases/mysqlcppapi/Makefile
index c55eb42ab75c..92980147642f 100644
--- a/databases/mysqlcppapi/Makefile
+++ b/databases/mysqlcppapi/Makefile
@@ -16,7 +16,7 @@ COMMENT= A fork of mysql++ C++ API for MySQL
USE_AUTOTOOLS= libtool
USE_MYSQL= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/databases/sqlcipher/Makefile b/databases/sqlcipher/Makefile
index 2fe66efcb9cd..5b8f75b547f2 100644
--- a/databases/sqlcipher/Makefile
+++ b/databases/sqlcipher/Makefile
@@ -12,7 +12,7 @@ LICENSE= BSD
USE_LDCONFIG= yes
USE_TCL_BUILD= 85
USE_GITHUB= yes
-USE_GNOME= gnomehack
+USES= pathfix
GH_ACCOUNT= sqlcipher
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= ee2ce3e
diff --git a/deskutils/google-gadgets/Makefile b/deskutils/google-gadgets/Makefile
index 28276f5dfb0d..62f6444d4c0b 100644
--- a/deskutils/google-gadgets/Makefile
+++ b/deskutils/google-gadgets/Makefile
@@ -43,7 +43,7 @@ CFLAGS+= -I${LOCALBASE}/include -Wno-deprecated-declarations
CONFIGURE_ARGS= --disable-werror --enable-ltdl-install=no --with-browser-plugins-dir=${LOCALBASE}/lib/browser_plugins
USE_AUTOTOOLS= libtool:env autoconf:env automake:env aclocal:env libltdl
WANT_GNOME= yes
-USE_GNOME= gnomehack
+USES= pathfix
INSTALLS_ICONS= yes
OPTIONS= DEBUGGING "Enable debug output on runtime" on\
@@ -97,7 +97,7 @@ CONFIGURE_ARGS+= --disable-gtk-host \
--disable-gtkwebkit-browser-element \
--disable-soup-xml-http-request
.elif defined(WITH_GTK)
-USE_GNOME= gtk20
+USES= gtk20
PLIST_SUB+= GTK=""
CONFIGURE_ARGS+= --enable-gtk-host
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libsoup-2.4.pc:${PORTSDIR}/devel/libsoup
diff --git a/devel/atlas-devel/Makefile b/devel/atlas-devel/Makefile
index 14226e0538a9..5f3d36e2dc9d 100644
--- a/devel/atlas-devel/Makefile
+++ b/devel/atlas-devel/Makefile
@@ -17,7 +17,7 @@ COMMENT= A C++ reference implementation of the Atlas protocol
USE_AUTOTOOLS= libtool
USE_LDCONFIG= YES
USE_BZIP2= YES
-USE_GNOME= gnomehack
+USES= pathfix
NO_LATEST_LINK= YES
CONFIGURE_ARGS+=--program-transform-name=
diff --git a/devel/atlas/Makefile b/devel/atlas/Makefile
index f25d0cc59dcc..e96c8ab2b8dc 100644
--- a/devel/atlas/Makefile
+++ b/devel/atlas/Makefile
@@ -18,7 +18,7 @@ COMMENT= A C++ reference implementation of the Atlas protocol
USE_AUTOTOOLS= libtool
USE_LDCONFIG= YES
USE_BZIP2= YES
-USE_GNOME= gnomehack
+USES= pathfix
post-patch:
@${REINPLACE_CMD} -e 's| install-docDATA | |g' ${WRKSRC}/Makefile.in
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index 8247d8e2ba2e..f2b86a3d5108 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Garbage collection and memory leak detection for C and C++
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-cplusplus --disable-static --disable-threads
MAKE_JOBS_UNSAFE= yes
diff --git a/devel/bufferpool/Makefile b/devel/bufferpool/Makefile
index 597f7300f4fa..5d5b5b450bb2 100644
--- a/devel/bufferpool/Makefile
+++ b/devel/bufferpool/Makefile
@@ -18,6 +18,6 @@ USE_GMAKE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/devel/clanlib/Makefile b/devel/clanlib/Makefile
index c588d6f37364..e4eac76a6196 100644
--- a/devel/clanlib/Makefile
+++ b/devel/clanlib/Makefile
@@ -26,7 +26,7 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
USE_GMAKE= yes
USE_GCC= 4.6+
USE_XORG= x11
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_GL= yes
USE_PKGCONFIG= yes
diff --git a/devel/clanlib1/Makefile b/devel/clanlib1/Makefile
index b1b6bc344d31..117fa1351bab 100644
--- a/devel/clanlib1/Makefile
+++ b/devel/clanlib1/Makefile
@@ -24,7 +24,7 @@ LATEST_LINK= ${PORTNAME}1
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_XORG= x11 xi
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_SDL= gfx
USE_GL= yes
diff --git a/devel/clanlib22/Makefile b/devel/clanlib22/Makefile
index 00985cc9b0d2..2f54389b8825 100644
--- a/devel/clanlib22/Makefile
+++ b/devel/clanlib22/Makefile
@@ -26,7 +26,7 @@ LATEST_LINK= ${PORTNAME}22
USE_GMAKE= yes
USE_XORG= x11
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_GL= yes
USE_PKGCONFIG= yes
diff --git a/devel/cmph/Makefile b/devel/cmph/Makefile
index 697f8ae63407..3838d56a1e86 100644
--- a/devel/cmph/Makefile
+++ b/devel/cmph/Makefile
@@ -13,7 +13,7 @@ MAINTAINER= jessekempf@gmail.com
COMMENT= Minimal perfect hashes for C
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAN1= cmph.1
diff --git a/devel/commoncpp/Makefile b/devel/commoncpp/Makefile
index f9ab18085cac..92996978261b 100644
--- a/devel/commoncpp/Makefile
+++ b/devel/commoncpp/Makefile
@@ -16,7 +16,7 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= GNU project portable class framework for C++
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_DOXYGEN=no
diff --git a/devel/dbus-sharp/Makefile b/devel/dbus-sharp/Makefile
index 15b16891e7e6..3f7c5ae03e5c 100644
--- a/devel/dbus-sharp/Makefile
+++ b/devel/dbus-sharp/Makefile
@@ -19,7 +19,7 @@ RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile
index d5ebc83d989a..2a6889f29896 100644
--- a/devel/directfb/Makefile
+++ b/devel/directfb/Makefile
@@ -31,7 +31,7 @@ CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PERL5_BUILD=yes
USE_NCURSES= yes
diff --git a/devel/dotconf/Makefile b/devel/dotconf/Makefile
index 8b44ccc1e5c4..cc3fe0dce005 100644
--- a/devel/dotconf/Makefile
+++ b/devel/dotconf/Makefile
@@ -16,7 +16,7 @@ COMMENT= A simple, powerful configuration-file parser
LICENSE= LGPL21
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/devel/eris/Makefile b/devel/eris/Makefile
index f6c20b55ac6c..8bb8f0561afa 100644
--- a/devel/eris/Makefile
+++ b/devel/eris/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= Atlas-0.6.1:${PORTSDIR}/devel/atlas-devel \
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= build
-USE_GNOME= gnomehack
+USES= pathfix
CXXFLAGS+= -include wchar.h
CONFIGURE_ARGS+="CXXFLAGS=${CXXFLAGS}"
diff --git a/devel/gearmand/Makefile b/devel/gearmand/Makefile
index 950822cd50fd..a12f950f6165 100644
--- a/devel/gearmand/Makefile
+++ b/devel/gearmand/Makefile
@@ -37,7 +37,7 @@ FETCH_ARGS= -pRr
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PYTHON_BUILD=yes
USE_RC_SUBR= gearmand
diff --git a/devel/gflags/Makefile b/devel/gflags/Makefile
index 6561f6eeb5ac..a90be937f5f0 100644
--- a/devel/gflags/Makefile
+++ b/devel/gflags/Makefile
@@ -15,7 +15,7 @@ OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README README_windows.txt \
diff --git a/devel/glog/Makefile b/devel/glog/Makefile
index ae8f32330d54..e0c820c1e531 100644
--- a/devel/glog/Makefile
+++ b/devel/glog/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \
gflags:${PORTSDIR}/devel/gflags
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_GCC= 4.2+
PROJECTHOST= google-glog
diff --git a/devel/google-perftools/Makefile b/devel/google-perftools/Makefile
index fe06cde4dc3e..ea79039b47e0 100644
--- a/devel/google-perftools/Makefile
+++ b/devel/google-perftools/Makefile
@@ -22,7 +22,7 @@ MAN1= pprof.1
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_GNOME= gnomehack
+USES= pathfix
post-patch:
.if defined(NOPORTDOCS)
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index c5ea81625615..9ab2bd24b91a 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -19,7 +19,7 @@ OPTIONS= OPENSSL "Enable SSL/TLS (OpenSSL from base)" on \
USE_ZIP= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
MAKE_JOBS_UNSAFE= yes
CFLAGS+= -DWSDL_TYPEMAP_FILE=\\\"${DATADIR}/WS/typemap.dat\\\" \
-DSOAPCPP2_IMPORT_PATH=\\\"${DATADIR}/import\\\"
diff --git a/devel/guichan/Makefile b/devel/guichan/Makefile
index 08274a84abee..000be455f52d 100644
--- a/devel/guichan/Makefile
+++ b/devel/guichan/Makefile
@@ -18,7 +18,7 @@ USE_AUTOTOOLS= libtool
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/devel/jclassinfo/Makefile b/devel/jclassinfo/Makefile
index 3374f0f8d017..e67d66400ec6 100644
--- a/devel/jclassinfo/Makefile
+++ b/devel/jclassinfo/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Shows information about Java class, dependencies, and more
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
diff --git a/devel/libYGP/Makefile b/devel/libYGP/Makefile
index 5202f526523c..152e2f4e1cbb 100644
--- a/devel/libYGP/Makefile
+++ b/devel/libYGP/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
USE_BZIP2= yes
USE_GCC= 4.6+
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
USE_GETTEXT= yes
diff --git a/devel/libassa/Makefile b/devel/libassa/Makefile
index 178859a8caef..ea985682aabe 100644
--- a/devel/libassa/Makefile
+++ b/devel/libassa/Makefile
@@ -12,7 +12,7 @@ MAINTAINER= rodrigo@bebik.net
COMMENT= An C++ networking library and application framework
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
PLIST_SUB= ASSA_VERSION=${PORTVERSION:R:R}
diff --git a/devel/libast/Makefile b/devel/libast/Makefile
index 0610c4a9babd..a11b3035cab8 100644
--- a/devel/libast/Makefile
+++ b/devel/libast/Makefile
@@ -14,7 +14,7 @@ COMMENT= A library of assorted spiffy things
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_EFL= imlib2
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/devel/libatomic_ops/Makefile b/devel/libatomic_ops/Makefile
index 59c4d1508424..041f433ef434 100644
--- a/devel/libatomic_ops/Makefile
+++ b/devel/libatomic_ops/Makefile
@@ -14,7 +14,7 @@ LICENSE_COMB= multi
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
OPTIONS_DEFINE= DOCS
diff --git a/devel/libconfig/Makefile b/devel/libconfig/Makefile
index 2d8ed756d227..3215ccaac399 100644
--- a/devel/libconfig/Makefile
+++ b/devel/libconfig/Makefile
@@ -11,7 +11,7 @@ COMMENT= Simple library for manipulating structured configuration files
CONFLICTS= wand-libconfig-[0-9]*
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GMAKE= yes
diff --git a/devel/libcwd/Makefile b/devel/libcwd/Makefile
index 0732dc64362e..b9ecc3de7939 100644
--- a/devel/libcwd/Makefile
+++ b/devel/libcwd/Makefile
@@ -14,7 +14,7 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= The C++ Debugging Support Library
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_PKGCONFIG= yes
USE_AUTOTOOLS= libtool
diff --git a/devel/libdap/Makefile b/devel/libdap/Makefile
index 562421eeb112..68b2fa2da2b1 100644
--- a/devel/libdap/Makefile
+++ b/devel/libdap/Makefile
@@ -19,7 +19,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAN1= dap-config.1 \
diff --git a/devel/libdatrie/Makefile b/devel/libdatrie/Makefile
index 3f74e3ee5ec7..ef2f8d1294f0 100644
--- a/devel/libdatrie/Makefile
+++ b/devel/libdatrie/Makefile
@@ -13,7 +13,7 @@ LICENSE= LGPL21
USE_XZ= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
USE_LDCONFIG= yes
diff --git a/devel/libffi/Makefile b/devel/libffi/Makefile
index 8b00c9e22fed..7d58ead1b84b 100644
--- a/devel/libffi/Makefile
+++ b/devel/libffi/Makefile
@@ -23,7 +23,7 @@ BUILD_DEPENDS:= ${TEST_DEPENDS}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
PLIST_SUB= PORTVERSION=${PORTVERSION}
diff --git a/devel/libfreefare/Makefile b/devel/libfreefare/Makefile
index 6e8637c82648..bb138214e82b 100644
--- a/devel/libfreefare/Makefile
+++ b/devel/libfreefare/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= nfc.1:${PORTSDIR}/devel/libnfc
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
MAN3= freefare.3 freefare_error.3 mad.3 mifare_application.3 \
mifare_classic.3 mifare_desfire.3 mifare_desfire_aid.3 \
diff --git a/devel/libgalago/Makefile b/devel/libgalago/Makefile
index bd6fc6d8f25f..330248ca7277 100644
--- a/devel/libgalago/Makefile
+++ b/devel/libgalago/Makefile
@@ -14,7 +14,7 @@ LIB_PC_DEPENDS= dbus-glib-1.pc:${PORTSDIR}/devel/dbus-glib
BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
-USE_GNOME= gnomehack
+USES= pathfix
USE_GETTEXT= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/devel/libgta/Makefile b/devel/libgta/Makefile
index 0278dcfe975a..f678296b7396 100644
--- a/devel/libgta/Makefile
+++ b/devel/libgta/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= DOCS
USE_XZ= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
diff --git a/devel/liblangtag/Makefile b/devel/liblangtag/Makefile
index 573532e1d16c..be8e352edaa1 100644
--- a/devel/liblangtag/Makefile
+++ b/devel/liblangtag/Makefile
@@ -17,7 +17,7 @@ GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/devel/liblognorm/Makefile b/devel/liblognorm/Makefile
index 35939615b9df..a86eb76d631f 100644
--- a/devel/liblognorm/Makefile
+++ b/devel/liblognorm/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= ee:${PORTSDIR}/devel/libee \
estr:${PORTSDIR}/devel/libestr
USE_PKGCONFIG= build
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/devel/libmatheval/Makefile b/devel/libmatheval/Makefile
index d6f135c60843..2b85ba974156 100644
--- a/devel/libmatheval/Makefile
+++ b/devel/libmatheval/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= guile.21:${PORTSDIR}/lang/guile
GNU_CONFIGURE= yes
CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib
INFO= libmatheval
diff --git a/devel/libnfc/Makefile b/devel/libnfc/Makefile
index e95bc350713c..0269b2d1a7ac 100644
--- a/devel/libnfc/Makefile
+++ b/devel/libnfc/Makefile
@@ -22,7 +22,7 @@ SERIALPROBE_DESC= serial auto-probe
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
MAN1= nfc-anticol.1 nfc-dep-initiator.1 nfc-dep-target.1 \
nfc-emulate-forum-tag4.1 nfc-emulate-tag.1 nfc-emulate-uid.1 \
diff --git a/devel/liborcus/Makefile b/devel/liborcus/Makefile
index ce3819dba000..27efce7973be 100644
--- a/devel/liborcus/Makefile
+++ b/devel/liborcus/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= zip:${PORTSDIR}/archivers/libzip \
GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/devel/libpo6/Makefile b/devel/libpo6/Makefile
index 308886cd9d89..e182b6eed712 100644
--- a/devel/libpo6/Makefile
+++ b/devel/libpo6/Makefile
@@ -12,6 +12,6 @@ COMMENT= POSIX wrappers for C++
LICENSE= BSD
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/devel/libshbuf/Makefile b/devel/libshbuf/Makefile
index 5f54c79525b5..a1dc1d4fe024 100644
--- a/devel/libshbuf/Makefile
+++ b/devel/libshbuf/Makefile
@@ -13,7 +13,7 @@ LICENSE= GPLv2
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--disable-lynx
diff --git a/devel/libsigc++20/Makefile b/devel/libsigc++20/Makefile
index 431b7d3b278e..05b62947e02b 100644
--- a/devel/libsigc++20/Makefile
+++ b/devel/libsigc++20/Makefile
@@ -18,7 +18,7 @@ USE_GMAKE= yes
USE_PERL5_BUILD=yes
LATEST_LINK= libsigc++20
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
PLIST_SUB= VERSION="2.0" API_VERSION="2.0"
diff --git a/devel/libthai/Makefile b/devel/libthai/Makefile
index d7a69ae8c69f..984098f4afc2 100644
--- a/devel/libthai/Makefile
+++ b/devel/libthai/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= datrie:${PORTSDIR}/devel/libdatrie
USE_XZ= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/devel/libvanessa_logger/Makefile b/devel/libvanessa_logger/Makefile
index fa9695e144af..f99a49f41bbc 100644
--- a/devel/libvanessa_logger/Makefile
+++ b/devel/libvanessa_logger/Makefile
@@ -12,7 +12,7 @@ COMMENT= Library that provides a generic logging layer
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/devel/libvanessa_socket/Makefile b/devel/libvanessa_socket/Makefile
index af422ed965a8..b95188a56e19 100644
--- a/devel/libvanessa_socket/Makefile
+++ b/devel/libvanessa_socket/Makefile
@@ -17,7 +17,7 @@ MAN1= vanessa_socket_pipe.1
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/devel/libwfut/Makefile b/devel/libwfut/Makefile
index cca8077aa7c7..6854f437aba1 100644
--- a/devel/libwfut/Makefile
+++ b/devel/libwfut/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20 \
CONFIGURE_ARGS+=--without-python
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_LDCONFIG= yes
MAN1= wfut.1
diff --git a/devel/libxs/Makefile b/devel/libxs/Makefile
index 29d60020ea28..a5ca767f0c3b 100644
--- a/devel/libxs/Makefile
+++ b/devel/libxs/Makefile
@@ -11,7 +11,7 @@ COMMENT= Open source lightweight messaging layer
GNU_CONFIGURE= yes
USE_PKGCONFIG= build
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
OPTIONS_DEFINE= DEBUG DOCS PLUGINS ZMQ
diff --git a/devel/log4c/Makefile b/devel/log4c/Makefile
index d2dc1f3e324d..34c2c6a2fbc9 100644
--- a/devel/log4c/Makefile
+++ b/devel/log4c/Makefile
@@ -14,7 +14,7 @@ LICENSE= LGPL21
OPTIONS_DEFINE= EXPAT
OPTIONS_DEFAULT=EXPAT
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/devel/mercator/Makefile b/devel/mercator/Makefile
index d3ca04fbd409..281fbf52f9b0 100644
--- a/devel/mercator/Makefile
+++ b/devel/mercator/Makefile
@@ -11,7 +11,7 @@ COMMENT= A procedural terrain library
LIB_DEPENDS= wfmath-1.0.1:${PORTSDIR}/math/wfmath
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/devel/mm-common/Makefile b/devel/mm-common/Makefile
index 485992a4b31a..d24360cb7976 100644
--- a/devel/mm-common/Makefile
+++ b/devel/mm-common/Makefile
@@ -17,7 +17,7 @@ COMMENT= Common build infrastructure for the GNOME C++ binding libraries
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
-USE_GNOME= gnomehack
+USES= pathfix
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/devel/ndesk-dbus-glib/Makefile b/devel/ndesk-dbus-glib/Makefile
index 536ff969df41..a0ac96ac44cf 100644
--- a/devel/ndesk-dbus-glib/Makefile
+++ b/devel/ndesk-dbus-glib/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:${PORTSDIR}/devel/
USE_GMAKE= yes
USE_PKGCONFIG= build
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
DOCS= AUTHORS COPYING README
diff --git a/devel/ndesk-dbus/Makefile b/devel/ndesk-dbus/Makefile
index bf640f9f542c..9cba9fd92626 100644
--- a/devel/ndesk-dbus/Makefile
+++ b/devel/ndesk-dbus/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= mono:${PORTSDIR}/lang/mono
RUN_DEPENDS= mono:${PORTSDIR}/lang/mono
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
GNU_CONFIGURE= yes
diff --git a/devel/obby/Makefile b/devel/obby/Makefile
index 3526e561980e..eb1d1b1f235d 100644
--- a/devel/obby/Makefile
+++ b/devel/obby/Makefile
@@ -18,7 +18,7 @@ LICENSE= GPLv2
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
net6:${PORTSDIR}/net/net6
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/devel/ois/Makefile b/devel/ois/Makefile
index f4e9d8998edb..f73071584b33 100644
--- a/devel/ois/Makefile
+++ b/devel/ois/Makefile
@@ -17,7 +17,7 @@ COMMENT= Object Oriented Input System
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool:env aclocal:env autoheader:env automake:env autoconf:env
USE_XORG= x11 xaw
USE_LDCONFIG= yes
diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile
index 7780bc3a2207..b5b2c783ab8a 100644
--- a/devel/pcre/Makefile
+++ b/devel/pcre/Makefile
@@ -19,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS= --enable-utf --enable-unicode-properties \
--enable-pcre8 --enable-pcre16 --enable-pcre32
diff --git a/devel/popt/Makefile b/devel/popt/Makefile
index 604b4b7a21f1..d3065f0055bf 100644
--- a/devel/popt/Makefile
+++ b/devel/popt/Makefile
@@ -19,7 +19,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
USE_LDCONFIG= yes
diff --git a/devel/py-dbus/Makefile b/devel/py-dbus/Makefile
index 3d0de3bd494a..97eb5100c307 100644
--- a/devel/py-dbus/Makefile
+++ b/devel/py-dbus/Makefile
@@ -19,7 +19,7 @@ COMMENT= Python bindings for the D-BUS messaging system
LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
USE_GETTEXT= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PYTHON= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
diff --git a/devel/py-gamin/Makefile b/devel/py-gamin/Makefile
index 198edf7d4a6b..5ca1af0e69e3 100644
--- a/devel/py-gamin/Makefile
+++ b/devel/py-gamin/Makefile
@@ -22,7 +22,7 @@ WANT_FAM_SYSTEM=gamin
GAMIN_SLAVE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PYTHON= yes
CONFIGURE_ARGS= --with-python=${LOCALBASE} \
--disable-gtk-doc --with-html-dir=${PREFIX}/share/doc
diff --git a/devel/rlog/Makefile b/devel/rlog/Makefile
index 659e94993498..03e52ca3cbae 100644
--- a/devel/rlog/Makefile
+++ b/devel/rlog/Makefile
@@ -16,7 +16,7 @@ COMMENT= A flexible message logging facility for C++
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/devel/ucommon/Makefile b/devel/ucommon/Makefile
index ec0a1c869d0b..b5e4c4cea47c 100644
--- a/devel/ucommon/Makefile
+++ b/devel/ucommon/Makefile
@@ -12,7 +12,7 @@ COMMENT= Very lightweight C++ design pattern library
LICENSE= LGPL3
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index e19972d5cb56..bc779dabe440 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -35,7 +35,7 @@ MPI_DESC= Enable build of MPI wrappers
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index 0f1d9a45fb43..4be8615aafbd 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -33,7 +33,7 @@ MPI_DESC= Enable build of MPI wrappers
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/devel/varconf/Makefile b/devel/varconf/Makefile
index ec7fa6288bf5..a50424b5652f 100644
--- a/devel/varconf/Makefile
+++ b/devel/varconf/Makefile
@@ -13,7 +13,7 @@ LIB_DEPENDS= sigc-2.0:${PORTSDIR}/devel/libsigc++20
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_LDCONFIG= yes
diff --git a/devel/vstr/Makefile b/devel/vstr/Makefile
index 770dbedd3e05..424bf158696e 100644
--- a/devel/vstr/Makefile
+++ b/devel/vstr/Makefile
@@ -21,7 +21,7 @@ GNU_CONFIGURE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_CSTD= gnu89
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
diff --git a/devel/zmq-devel/Makefile b/devel/zmq-devel/Makefile
index e49fd235b010..e60c4d42fc23 100644
--- a/devel/zmq-devel/Makefile
+++ b/devel/zmq-devel/Makefile
@@ -17,7 +17,7 @@ COMMENT= Open source message queue optimised for performance
MAKE_JOBS_SAFE= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
CONFLICTS= zmq-[0-9]*
diff --git a/devel/zmq/Makefile b/devel/zmq/Makefile
index 28d54f340be7..f89e9ba25214 100644
--- a/devel/zmq/Makefile
+++ b/devel/zmq/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= gslin@gslin.org
COMMENT= Open source message queue optimised for performance
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
CONFLICTS= zmq-devel-[0-9]*
diff --git a/devel/zziplib/Makefile b/devel/zziplib/Makefile
index afabbac44db7..9dcc42989941 100644
--- a/devel/zziplib/Makefile
+++ b/devel/zziplib/Makefile
@@ -21,7 +21,7 @@ BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
OPTIONS_DEFINE= SDL
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PYTHON_BUILD= yes
USE_AUTOTOOLS= libtool
USE_PKGCONFIG= yes
diff --git a/finance/aqbanking/Makefile b/finance/aqbanking/Makefile
index 5fc4130ad6e8..636635ce3fc1 100644
--- a/finance/aqbanking/Makefile
+++ b/finance/aqbanking/Makefile
@@ -25,7 +25,7 @@ USE_GMAKE= yes
USE_GETTEXT= yes
USE_PKGCONFIG= build
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-release="yes"
diff --git a/finance/ktoblzcheck/Makefile b/finance/ktoblzcheck/Makefile
index 9638056549a3..87fd48e0140d 100644
--- a/finance/ktoblzcheck/Makefile
+++ b/finance/ktoblzcheck/Makefile
@@ -15,7 +15,7 @@ COMMENT= Check bank codes of German banks
LICENSE= GPLv2
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/ftp/curl/Makefile b/ftp/curl/Makefile
index c8aa10b45238..091eb2f89bb0 100644
--- a/ftp/curl/Makefile
+++ b/ftp/curl/Makefile
@@ -40,7 +40,7 @@ CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
GNU_CONFIGURE= yes
MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
MAKE_JOBS_SAFE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PERL5_BUILD= yes
USE_XZ= yes
diff --git a/ftp/curlpp/Makefile b/ftp/curlpp/Makefile
index 4af59e4b4f0c..e7fdb711618c 100644
--- a/ftp/curlpp/Makefile
+++ b/ftp/curlpp/Makefile
@@ -23,7 +23,7 @@ CONFIGURE_ARGS= --disable-ewarning
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
diff --git a/games/abuse_sdl/Makefile b/games/abuse_sdl/Makefile
index 14a0ba40ad85..df36edc86fd5 100644
--- a/games/abuse_sdl/Makefile
+++ b/games/abuse_sdl/Makefile
@@ -13,7 +13,7 @@ COMMENT= SDL port of the Abuse game engine
LICENSE= GPLv2
-USE_GNOME= gnomehack
+USES= pathfix
USE_GL= gl
USE_SDL= mixer sdl
GNU_CONFIGURE= yes
diff --git a/games/ember/Makefile b/games/ember/Makefile
index b09d737e8ea5..407f2972d792 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -36,7 +36,7 @@ USE_LDCONFIG= YES
USE_LUA= 5.1
LUA_COMPS= toluaxx
USE_OPENAL= al alut
-USE_GNOME= gnomehack
+USES= pathfix
USE_BZIP2= YES
CPPFLAGS+= -DBR_NO_MACROS
MAKE_JOBS_SAFE= yes
diff --git a/games/hinversi/Makefile b/games/hinversi/Makefile
index 51f05acbf7ee..2f6c194ef6fd 100644
--- a/games/hinversi/Makefile
+++ b/games/hinversi/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= NLS
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/games/libfov/Makefile b/games/libfov/Makefile
index 268c8a284633..2ddc9f75300d 100644
--- a/games/libfov/Makefile
+++ b/games/libfov/Makefile
@@ -12,7 +12,7 @@ COMMENT= C library for calculating fields of view on low resolution rasters
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_PKGCONFIG= yes
CONFIGURE_ENV= ac_cv_prog_doxygen=no ac_cv_path_SDL_CONFIG=no
diff --git a/games/libggz/Makefile b/games/libggz/Makefile
index 105eb973de4f..72324a07823b 100644
--- a/games/libggz/Makefile
+++ b/games/libggz/Makefile
@@ -17,7 +17,7 @@ COMMENT= The GGZ Gaming Zone - Base Library
LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-debug
USE_LDCONFIG= yes
diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index c511013f8e51..c23e19bf3d7f 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv2
LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2
USE_XORG= x11
-USE_GNOME= gnomehack
+USES= pathfix
USE_SDL= sdl
USE_GMAKE= yes
USE_PKGCONFIG= yes
diff --git a/graphics/autotrace/Makefile b/graphics/autotrace/Makefile
index 3b407e2822f1..65e0f69eaee5 100644
--- a/graphics/autotrace/Makefile
+++ b/graphics/autotrace/Makefile
@@ -20,7 +20,7 @@ OPTIONS_DEFAULT= IMAGEMAGICK PSTOEDIT
MING_DESC= Enable swf interface
PSTOEDIT_DESC= Convert postscript to other formats
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/graphics/cairo-java/Makefile b/graphics/cairo-java/Makefile
index f41a22ccd996..a8d18b0f0b9f 100644
--- a/graphics/cairo-java/Makefile
+++ b/graphics/cairo-java/Makefile
@@ -22,7 +22,7 @@ GNU_CONFIGURE= yes
USE_JAVA= yes
JAVA_VERSION= 1.6+
JAVA_OS= native
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS= --without-gcj-compile --with-jardir=${JAVAJARDIR}
CPPFLAGS+= -I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd
CAIRO_API_VERSION= 1.0
diff --git a/graphics/cegui/Makefile b/graphics/cegui/Makefile
index 0a42730c0d41..2d2102494e5a 100644
--- a/graphics/cegui/Makefile
+++ b/graphics/cegui/Makefile
@@ -33,7 +33,7 @@ USE_GL= yes
USE_LUA= 5.1
LUA_COMPS= toluaxx
USE_PYTHON= 2.6+
-USE_GNOME= gnomehack
+USES= pathfix
PLIST_SUB+= WITH_OGRE=""
.include <bsd.port.options.mk>
diff --git a/graphics/djvulibre/Makefile b/graphics/djvulibre/Makefile
index 283d11e56234..dfb8f5a3ffb0 100644
--- a/graphics/djvulibre/Makefile
+++ b/graphics/djvulibre/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS+= jpeg:${PORTSDIR}/graphics/jpeg \
tiff:${PORTSDIR}/graphics/tiff
USE_ICONV= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ENV= JPEG_CFLAGS="-I${LOCALBASE}/include" \
JPEG_LIBS="-L${LOCALBASE}/lib -ljpeg" \
diff --git a/graphics/epeg/Makefile b/graphics/epeg/Makefile
index f72fc48eaea8..2cf10a9a2aa3 100644
--- a/graphics/epeg/Makefile
+++ b/graphics/epeg/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/graphics/ftgl/Makefile b/graphics/ftgl/Makefile
index 8504ef269058..d88cbf81c7bf 100644
--- a/graphics/ftgl/Makefile
+++ b/graphics/ftgl/Makefile
@@ -22,7 +22,7 @@ USE_XORG= x11 xext xmu
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gl-inc="${LOCALBASE}/include" \
--without-glut-inc
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/graphics/geglmm/Makefile b/graphics/geglmm/Makefile
index b7db58dd0f40..950e262f9436 100644
--- a/graphics/geglmm/Makefile
+++ b/graphics/geglmm/Makefile
@@ -22,7 +22,7 @@ BROKEN= does not compile
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PERL5_BUILD= yes
USE_LDCONFIG= yes
diff --git a/graphics/giblib/Makefile b/graphics/giblib/Makefile
index 9b8371b00027..4f7fe952f8e8 100644
--- a/graphics/giblib/Makefile
+++ b/graphics/giblib/Makefile
@@ -15,7 +15,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A utility library that includes a wrapper for imlib2
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_EFL= imlib2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/graphics/glitz/Makefile b/graphics/glitz/Makefile
index 01b89a45b3af..e008c44816da 100644
--- a/graphics/glitz/Makefile
+++ b/graphics/glitz/Makefile
@@ -13,7 +13,7 @@ COMMENT= OpenGL image compositing library
USE_GL= yes
USE_XORG= xt
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/graphics/goom/Makefile b/graphics/goom/Makefile
index 7764a4aeca1d..552acf56d85a 100644
--- a/graphics/goom/Makefile
+++ b/graphics/goom/Makefile
@@ -17,7 +17,7 @@ COMMENT= Visual effects library
USE_AUTOTOOLS= libtool
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S|.|-|}
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/graphics/gstreamer-plugins-gl/Makefile b/graphics/gstreamer-plugins-gl/Makefile
index b004db76e981..67533fba7505 100644
--- a/graphics/gstreamer-plugins-gl/Makefile
+++ b/graphics/gstreamer-plugins-gl/Makefile
@@ -22,7 +22,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GSTREAMER= yes
USE_XORG= ice x11
USE_GL= gl glu glew
diff --git a/graphics/imlib2_loaders/Makefile b/graphics/imlib2_loaders/Makefile
index 3ca86d7a8571..4ed202708be8 100644
--- a/graphics/imlib2_loaders/Makefile
+++ b/graphics/imlib2_loaders/Makefile
@@ -18,7 +18,7 @@ COMMENT= Extra image loader plugins for Imlib 2
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_EFL= imlib2 libtool_hack
OPTIONS= EDB "Enable edb loader" on \
diff --git a/graphics/libart_lgpl/Makefile b/graphics/libart_lgpl/Makefile
index d2015e406f7e..430120002e3b 100644
--- a/graphics/libart_lgpl/Makefile
+++ b/graphics/libart_lgpl/Makefile
@@ -15,7 +15,7 @@ COMMENT= Library for high-performance 2D graphics
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
diff --git a/graphics/libcdr/Makefile b/graphics/libcdr/Makefile
index e7f4fca8a2f8..1bf2c105212f 100644
--- a/graphics/libcdr/Makefile
+++ b/graphics/libcdr/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= icui18n:${PORTSDIR}/devel/icu \
USE_XZ= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-werror --without-docs
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/graphics/libsvg-cairo/Makefile b/graphics/libsvg-cairo/Makefile
index 1d43046ffecc..d6227d412ee2 100644
--- a/graphics/libsvg-cairo/Makefile
+++ b/graphics/libsvg-cairo/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
PLIST_FILES= include/svg-cairo.h \
lib/libsvg-cairo.a \
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
index 2f860e1ef043..cb47ca979f9d 100644
--- a/graphics/libvisual/Makefile
+++ b/graphics/libvisual/Makefile
@@ -17,7 +17,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Abstraction library that sits between apps and visual plugin
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
diff --git a/graphics/passepartout/Makefile b/graphics/passepartout/Makefile
index 96da913ce9c0..c9c768ebf7d8 100644
--- a/graphics/passepartout/Makefile
+++ b/graphics/passepartout/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/graphics/pstoedit/Makefile b/graphics/pstoedit/Makefile
index eabad1e12016..438e53d214c8 100644
--- a/graphics/pstoedit/Makefile
+++ b/graphics/pstoedit/Makefile
@@ -20,7 +20,7 @@ EMF_DESC= Enable emf interface
MING_DESC= Enable swf interface
PLOTUTILS_DESC= Enable libplot interface
-USE_GNOME= gnomehack
+USES= pathfix
USE_GHOSTSCRIPT= yes
USE_PKGCONFIG= build
USE_AUTOTOOLS= libtool
diff --git a/graphics/py-cairo/Makefile b/graphics/py-cairo/Makefile
index 0ee609cd7323..8503a90a36a3 100644
--- a/graphics/py-cairo/Makefile
+++ b/graphics/py-cairo/Makefile
@@ -22,7 +22,7 @@ LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo
WRKSRC= ${WRKDIR}/py${PORTNAME}-${PORTVERSION}
USE_PYTHON= 2.6-2.7
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/graphics/quesoglc/Makefile b/graphics/quesoglc/Makefile
index d9ccfa937a07..0ab2c7c86e08 100644
--- a/graphics/quesoglc/Makefile
+++ b/graphics/quesoglc/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= fribidi.3:${PORTSDIR}/converters/fribidi \
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GL= gl glu glut
USE_LDCONFIG= yes
diff --git a/graphics/reallyslick/Makefile b/graphics/reallyslick/Makefile
index 0cee4212ab65..054dfe784b25 100644
--- a/graphics/reallyslick/Makefile
+++ b/graphics/reallyslick/Makefile
@@ -24,7 +24,7 @@ GLEW_DESC= Enable GLEW support
USE_BZIP2= yes
USE_GL= glut
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/graphics/sage/Makefile b/graphics/sage/Makefile
index b4ae3c025a18..eeb03a404988 100644
--- a/graphics/sage/Makefile
+++ b/graphics/sage/Makefile
@@ -17,7 +17,7 @@ COMMENT= OpenGL extension library
CONFIGURE_ARGS= --program-transform-name=
GNU_CONFIGURE= yes
USE_GL= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_SDL= sdl
diff --git a/graphics/sampleicc/Makefile b/graphics/sampleicc/Makefile
index 9d52745fc77c..912c1afd1a3a 100644
--- a/graphics/sampleicc/Makefile
+++ b/graphics/sampleicc/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile
index 1c1e18829c84..d07e2d0c7448 100644
--- a/graphics/sane-backends/Makefile
+++ b/graphics/sane-backends/Makefile
@@ -30,7 +30,7 @@ USB_DESC= USB support
GPHOTO2_DESC= gPhoto2 support
IEEE1284_DESC= libieee1284 support
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/graphics/simage/Makefile b/graphics/simage/Makefile
index d350e5a69071..886e4fda5802 100644
--- a/graphics/simage/Makefile
+++ b/graphics/simage/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \
gif.5:${PORTSDIR}/graphics/giflib \
png15:${PORTSDIR}/graphics/png
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-mpeg2enc
USE_LDCONFIG= yes
diff --git a/irc/charybdis/Makefile b/irc/charybdis/Makefile
index b2925ff26873..1220563ccb8f 100644
--- a/irc/charybdis/Makefile
+++ b/irc/charybdis/Makefile
@@ -29,7 +29,7 @@ PORTDOCS= charybdis-oper-guide.pdf
USE_LDCONFIG= yes
USE_AUTOTOOLS= autoconf
-USE_GNOME= gnomehack
+USES= pathfix
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
USERS= ircd
diff --git a/irc/smartirc4net/Makefile b/irc/smartirc4net/Makefile
index 50c178fb6764..2c0d0beaad5e 100644
--- a/irc/smartirc4net/Makefile
+++ b/irc/smartirc4net/Makefile
@@ -19,6 +19,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
USE_PKGCONFIG= build
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/irc/xaric/Makefile b/irc/xaric/Makefile
index b09fd1edbb5c..88c1d3029690 100644
--- a/irc/xaric/Makefile
+++ b/irc/xaric/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= http://xaric.org/software/xaric/releases/
MAINTAINER= sylvio@FreeBSD.org
COMMENT= IRC Client similer to BitchX or ircII
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index 79a237d3f24e..a348ccb9671f 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -16,7 +16,7 @@ COMMENT= Libjit implements Just-In-Time compilation functionality
LICENSE= LGPL21 LGPL3
LICENSE_COMB= dual
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
diff --git a/lang/librep/Makefile b/lang/librep/Makefile
index c65ce9eed7d7..3f377e6589f4 100644
--- a/lang/librep/Makefile
+++ b/lang/librep/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
USE_CSTD= gnu89
USE_XZ= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GETTEXT= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
diff --git a/lang/ofc/Makefile b/lang/ofc/Makefile
index 25665eb905d2..16787e2664a7 100644
--- a/lang/ofc/Makefile
+++ b/lang/ofc/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 \
USE_SDL= sdl
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng15 ${PTHREAD_CFLAGS}
diff --git a/lang/qore/Makefile b/lang/qore/Makefile
index c5a929e6fe7c..23b25cac6e0a 100644
--- a/lang/qore/Makefile
+++ b/lang/qore/Makefile
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
USE_OPENSSL= yes
USE_LDCONFIG= yes
diff --git a/lang/see-devel/Makefile b/lang/see-devel/Makefile
index 8b970f63b9ad..f01fb3f5776c 100644
--- a/lang/see-devel/Makefile
+++ b/lang/see-devel/Makefile
@@ -23,7 +23,7 @@ OPTIONS= GC "Use Boehm-Weiser garbage collection package" on \
CONFLICTS= see-[0-9]*
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PERL5_BUILD=yes
GNU_CONFIGURE= yes
diff --git a/mail/up-imapproxy/Makefile b/mail/up-imapproxy/Makefile
index e7f53e01ca51..8586be3d0537 100644
--- a/mail/up-imapproxy/Makefile
+++ b/mail/up-imapproxy/Makefile
@@ -18,7 +18,7 @@ OPTIONS_DEFINE= DOVECOT DOCS
DOVECOT_DESC= Use with dovecot2
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_OPENSSL= yes
USE_AUTOTOOLS= autoheader
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE}
diff --git a/math/blitz++/Makefile b/math/blitz++/Makefile
index 28935d5c10ce..af96af9625d5 100644
--- a/math/blitz++/Makefile
+++ b/math/blitz++/Makefile
@@ -26,7 +26,7 @@ MAKE_ARGS= NOPORTDOCS=yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS= --with-cxx=gcc --disable-doxygen
MAKE_ARGS+= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index ea8eb51fdf95..9fafb2925de5 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -19,7 +19,7 @@ FFTW3_FLAVOR?= default
FFTW3_SUFX=
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PERL5_BUILD=yes
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
diff --git a/math/lapack++/Makefile b/math/lapack++/Makefile
index a1d7a3174aba..d5e917dfb28a 100644
--- a/math/lapack++/Makefile
+++ b/math/lapack++/Makefile
@@ -24,7 +24,7 @@ MAINTAINER= maho@FreeBSD.org
COMMENT= Linear Algebra PACKage in C++, a wrapper for LAPACK
WANT_GNOME= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.pre.mk>
diff --git a/math/muparser/Makefile b/math/muparser/Makefile
index ee38e40d26f5..979eaae0c1af 100644
--- a/math/muparser/Makefile
+++ b/math/muparser/Makefile
@@ -16,7 +16,7 @@ COMMENT= Mathematical expressions parser library written in C++
LICENSE= MIT
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared=no
.if defined(NOPORTEXAMPLES)
diff --git a/math/wfmath/Makefile b/math/wfmath/Makefile
index 342daa63c4e6..0226fb6e3ce7 100644
--- a/math/wfmath/Makefile
+++ b/math/wfmath/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= Worldforge math library
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/misc/iso-codes/Makefile b/misc/iso-codes/Makefile
index b3e053d9e6c0..7ddaf9e16838 100644
--- a/misc/iso-codes/Makefile
+++ b/misc/iso-codes/Makefile
@@ -12,7 +12,7 @@ COMMENT= Lists of the country, language, and currency iso names
LICENSE= LGPL21
USE_XZ= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GETTEXT= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile
index 7c0a32a7382a..e046f7efecf4 100644
--- a/multimedia/gavl/Makefile
+++ b/multimedia/gavl/Makefile
@@ -12,7 +12,7 @@ COMMENT= A library for handling uncompressed video and audio data
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
MAKE_JOBS_SAFE= yes
diff --git a/multimedia/gmerlin-avdecoder/Makefile b/multimedia/gmerlin-avdecoder/Makefile
index 4e606df3d3f3..77e21e6eeb88 100644
--- a/multimedia/gmerlin-avdecoder/Makefile
+++ b/multimedia/gmerlin-avdecoder/Makefile
@@ -29,7 +29,7 @@ DVDREAD_DESC= libdvdread support
GMERLIN_DESC= gmerlin support
SAMBA_DESC= Samba support using libsmbclient
-USE_GNOME= gnomehack
+USES= pathfix
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-cpuflags=none --without-doxygen
diff --git a/multimedia/libass/Makefile b/multimedia/libass/Makefile
index eaba2adf9d07..5fbdfaac1c4c 100644
--- a/multimedia/libass/Makefile
+++ b/multimedia/libass/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= freetype:${PORTSDIR}/print/freetype2 \
expat:${PORTSDIR}/textproc/expat2 \
fribidi:${PORTSDIR}/converters/fribidi
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_XZ= yes
USE_LDCONFIG= yes
diff --git a/multimedia/libdc1394/Makefile b/multimedia/libdc1394/Makefile
index d93a709f3eb2..20dd13f47866 100644
--- a/multimedia/libdc1394/Makefile
+++ b/multimedia/libdc1394/Makefile
@@ -16,7 +16,7 @@ COMMENT= 1394-based DC Control Library
LICENSE= LGPL21
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAN1= dc1394_multiview.1 \
diff --git a/multimedia/libdvbpsi/Makefile b/multimedia/libdvbpsi/Makefile
index 404c9d154353..ca9f244c08c9 100644
--- a/multimedia/libdvbpsi/Makefile
+++ b/multimedia/libdvbpsi/Makefile
@@ -18,7 +18,7 @@ COMMENT= A library for MPEG TS and DVB PSI tables decoding and generation
LICENSE= LGPL21
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
.if defined(WITH_DEBUG)
diff --git a/net-im/gloox/Makefile b/net-im/gloox/Makefile
index f2b2ff32a9bc..2ad6f76a9cc9 100644
--- a/net-im/gloox/Makefile
+++ b/net-im/gloox/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn \
USE_AUTOTOOLS= libtool
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CPPFLAGS+= ${CXXFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/net-p2p/libtorrent-devel/Makefile b/net-p2p/libtorrent-devel/Makefile
index 8dac2fdb3f5a..fb629d98e6b4 100644
--- a/net-p2p/libtorrent-devel/Makefile
+++ b/net-p2p/libtorrent-devel/Makefile
@@ -18,7 +18,7 @@ CONFLICTS= libtorrent-[0-9]* \
rblibtorrent-devel-[0-9]*
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_OPENSSL= yes
USE_LDCONFIG= yes
diff --git a/net-p2p/libtorrent-rasterbar-15/Makefile b/net-p2p/libtorrent-rasterbar-15/Makefile
index fe2e33633391..c94730ebfa34 100644
--- a/net-p2p/libtorrent-rasterbar-15/Makefile
+++ b/net-p2p/libtorrent-rasterbar-15/Makefile
@@ -22,7 +22,7 @@ BUILD_DEPENDS= pkgconf>0:${PORTSDIR}/devel/pkgconf
LIB_DEPENDS+= boost_date_time:${PORTSDIR}/devel/boost-libs \
GeoIP.5:${PORTSDIR}/net/GeoIP
-USE_GNOME= gnomehack
+USES= pathfix
USE_OPENSSL= yes
GNU_CONFIGURE= yes
diff --git a/net-p2p/libtorrent-rasterbar-16/Makefile b/net-p2p/libtorrent-rasterbar-16/Makefile
index 4a1bfd30c015..5d20151af292 100644
--- a/net-p2p/libtorrent-rasterbar-16/Makefile
+++ b/net-p2p/libtorrent-rasterbar-16/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS+= boost_date_time:${PORTSDIR}/devel/boost-libs \
GeoIP:${PORTSDIR}/net/GeoIP
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
USE_LDCONFIG= yes
USE_OPENSSL= yes
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile
index 51fb6ebc4752..6217d9f4dd05 100644
--- a/net-p2p/libtorrent/Makefile
+++ b/net-p2p/libtorrent/Makefile
@@ -18,7 +18,7 @@ CONFLICTS?= libtorrent-devel-[0-9]* \
rblibtorrent-devel-[0-9]*
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_OPENSSL= yes
USE_LDCONFIG= yes
diff --git a/net/cyphesis/Makefile b/net/cyphesis/Makefile
index 2fcdbb313c1d..3cec10fbf2ff 100644
--- a/net/cyphesis/Makefile
+++ b/net/cyphesis/Makefile
@@ -22,7 +22,7 @@ CONFIGURE_ARGS= --with-python=${LOCALBASE}
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_PGSQL= yes
diff --git a/net/libvncserver/Makefile b/net/libvncserver/Makefile
index 20844094c9c9..31408b1f6f6a 100644
--- a/net/libvncserver/Makefile
+++ b/net/libvncserver/Makefile
@@ -16,7 +16,7 @@ LICENSE= GPLv2
LIB_DEPENDS= jpeg:${PORTSDIR}/graphics/jpeg \
png15:${PORTSDIR}/graphics/png
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/net/net6/Makefile b/net/net6/Makefile
index 21ed152945a4..cad9b1759ff3 100644
--- a/net/net6/Makefile
+++ b/net/net6/Makefile
@@ -19,7 +19,7 @@ LICENSE= GPLv2
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
gnutls.26:${PORTSDIR}/security/gnutls
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index 0df2ee39376a..ec6698851324 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -21,7 +21,7 @@ LATEST_LINK= ${PORTNAME}-dev
GNU_CONFIGURE= yes
USE_AUTOTOOLS= automake libtool
-USE_GNOME= gnomehack
+USES= pathfix
MAN5= ntp.conf.5 ntp.keys.5
MAN8= ntp-keygen.8 ntpd.8 ntpdc.8 ntpq.8 sntp.8 ntp-wait.8
diff --git a/net/openpgm/Makefile b/net/openpgm/Makefile
index 1c840051c7fa..ef72479b3f31 100644
--- a/net/openpgm/Makefile
+++ b/net/openpgm/Makefile
@@ -15,7 +15,7 @@ LICENSE= LGPL3
GNU_CONFIGURE= yes
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PERL5= yes
USE_PYTHON= yes
diff --git a/net/skstream/Makefile b/net/skstream/Makefile
index 975f1ac74f46..0843aeda75ce 100644
--- a/net/skstream/Makefile
+++ b/net/skstream/Makefile
@@ -10,7 +10,7 @@ MAINTAINER= oliver@FreeBSD.org
COMMENT= An iostream based C++ socket library
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/net/ulxmlrpcpp/Makefile b/net/ulxmlrpcpp/Makefile
index f0c7b5b28227..faa5304f480d 100644
--- a/net/ulxmlrpcpp/Makefile
+++ b/net/ulxmlrpcpp/Makefile
@@ -20,7 +20,7 @@ LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
USE_OPENSSL= yes
USE_AUTOTOOLS= libtool
diff --git a/net/vde2/Makefile b/net/vde2/Makefile
index aace9d343249..5ae562227fe4 100644
--- a/net/vde2/Makefile
+++ b/net/vde2/Makefile
@@ -21,7 +21,7 @@ OPTIONS_DEFAULT= PYTHON
CONFLICTS= vde-[0-9]*
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/palm/synce-librapi2/Makefile b/palm/synce-librapi2/Makefile
index 7954ab8e4ffc..a52fdfb483cf 100644
--- a/palm/synce-librapi2/Makefile
+++ b/palm/synce-librapi2/Makefile
@@ -20,7 +20,7 @@ CONFLICTS= popular-[0-9]*
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_ICONV= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-libiconv="${LOCALBASE}" \
--with-libsynce="${LOCALBASE}"
diff --git a/palm/synce-librra/Makefile b/palm/synce-librra/Makefile
index b1e57c0c1f40..53719ed552a2 100644
--- a/palm/synce-librra/Makefile
+++ b/palm/synce-librra/Makefile
@@ -25,7 +25,7 @@ GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_ICONV= yes
USE_LDCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS+= --with-libsynce="${LOCALBASE}" \
--with-libmimedir="${LOCALBASE}"
diff --git a/palm/synce-libsynce/Makefile b/palm/synce-libsynce/Makefile
index 80d9da66a344..5a295d43ae61 100644
--- a/palm/synce-libsynce/Makefile
+++ b/palm/synce-libsynce/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \
GNU_CONFIGURE= yes
USE_AUTOTOOLS= libtool
USE_ICONV= yes
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS+= --with-libiconv-prefix="${LOCALBASE}" \
--enable-dccm-file-support=no \
--enable-hal-support=yes \
diff --git a/polish/ekg/Makefile b/polish/ekg/Makefile
index 0b8353467f5b..048aa5b1525b 100644
--- a/polish/ekg/Makefile
+++ b/polish/ekg/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo \
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_PKGCONFIG= build
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-libungif \
diff --git a/print/libmspub/Makefile b/print/libmspub/Makefile
index 11a5d7c2d628..9c217fca2756 100644
--- a/print/libmspub/Makefile
+++ b/print/libmspub/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= icui18n:${PORTSDIR}/devel/icu \
wpd-0.9:${PORTSDIR}/textproc/libwpd
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
USE_XZ= yes
diff --git a/print/panda/Makefile b/print/panda/Makefile
index ca81fdb917c4..8a2e6503ac5a 100644
--- a/print/panda/Makefile
+++ b/print/panda/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_BDB= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
diff --git a/science/cdo/Makefile b/science/cdo/Makefile
index 1dd7bddec83f..2bc439fe4df7 100644
--- a/science/cdo/Makefile
+++ b/science/cdo/Makefile
@@ -22,7 +22,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
CONFIGURE_ARGS= --enable-cdi-lib --program-transform-name="" --with-zlib=/usr
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
HDF5_VER?= 18
diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile
index d874367e620f..6d08fd611996 100644
--- a/science/libghemical/Makefile
+++ b/science/libghemical/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS+= mpqc:${PORTSDIR}/science/mpqc \
f2c:${PORTSDIR}/lang/f2c
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GL= gl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/science/liboglappth/Makefile b/science/liboglappth/Makefile
index d3e43881d949..379a06b866b0 100644
--- a/science/liboglappth/Makefile
+++ b/science/liboglappth/Makefile
@@ -16,7 +16,7 @@ COMMENT= Support libraries of science/ghemical port
GNU_CONFIGURE= yes
USE_GL= glut
-USE_GNOME= gnomehack
+USES= pathfix
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/science/netcdf4/Makefile b/science/netcdf4/Makefile
index b5a0057781c8..170714f0cf4a 100644
--- a/science/netcdf4/Makefile
+++ b/science/netcdf4/Makefile
@@ -31,7 +31,7 @@ GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib
LIB_DEPENDS= hdf5.7:${PORTSDIR}/science/hdf5-18
MAKE_ENV= INFODIR="${PREFIX}/${INFO_PATH}" MAKEINFOFLAGS="--no-split"
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
INFO= netcdf netcdf-c netcdf-cxx netcdf-f77 netcdf-f90 \
diff --git a/science/peekabot/Makefile b/science/peekabot/Makefile
index 7936ec5f238e..1b95444ce337 100644
--- a/science/peekabot/Makefile
+++ b/science/peekabot/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= boost_regex:${PORTSDIR}/devel/boost-libs \
gtkglextmm-x11-1.2:${PORTSDIR}/x11-toolkits/gtkglextmm
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GCC= 4.6+
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/security/libntlm/Makefile b/security/libntlm/Makefile
index f072c7ce44b1..477fe7fbb1d9 100644
--- a/security/libntlm/Makefile
+++ b/security/libntlm/Makefile
@@ -11,7 +11,7 @@ COMMENT= Library that implement Microsoft's NTLM authentication
LICENSE= LGPL21
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
USE_PKGCONFIG= build
USE_LDCONFIG= yes
diff --git a/security/libprelude/Makefile b/security/libprelude/Makefile
index 1949030c0ed1..92a69bf56b58 100644
--- a/security/libprelude/Makefile
+++ b/security/libprelude/Makefile
@@ -27,7 +27,7 @@ USE_GMAKE= yes
USE_PKGCONFIG= build
USE_ICONV= yes
USE_GETTEXT= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
diff --git a/security/oath-toolkit/Makefile b/security/oath-toolkit/Makefile
index 6ef5c8ba69f2..9e90b2d3d3e2 100644
--- a/security/oath-toolkit/Makefile
+++ b/security/oath-toolkit/Makefile
@@ -11,7 +11,7 @@ MAINTAINER= ale@FreeBSD.org
COMMENT= Library, tools, and PAM module for OATH authentication
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/security/openconnect/Makefile b/security/openconnect/Makefile
index f4a3b349dd93..284789925cde 100644
--- a/security/openconnect/Makefile
+++ b/security/openconnect/Makefile
@@ -20,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-nls --with-vpnc-script=${LOCALBASE}/sbin/vpnc-script \
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_AUTOTOOLS= aclocal autoconf libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= yes
USE_GMAKE= yes
USE_OPENSSL= yes
diff --git a/security/razorback-api/Makefile b/security/razorback-api/Makefile
index 8c96f3daac51..bd48e4db6bc6 100644
--- a/security/razorback-api/Makefile
+++ b/security/razorback-api/Makefile
@@ -30,7 +30,7 @@ STOMP_DEBUG_DESC= Enable STOMP Debug
.include <bsd.port.options.mk>
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/security/razorback-dispatcher/Makefile b/security/razorback-dispatcher/Makefile
index 2babe6864d0b..f7638cd8c4e7 100644
--- a/security/razorback-dispatcher/Makefile
+++ b/security/razorback-dispatcher/Makefile
@@ -29,7 +29,7 @@ ACTIVEMQ_DESC= ActiveMQ runs locally
.include <bsd.port.options.mk>
-USE_GNOME= gnomehack
+USES= pathfix
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
USE_MYSQL= yes
diff --git a/sysutils/consolekit/Makefile b/sysutils/consolekit/Makefile
index ccb0bbfb4f0c..661d33739c89 100644
--- a/sysutils/consolekit/Makefile
+++ b/sysutils/consolekit/Makefile
@@ -21,7 +21,7 @@ WRKSRC= ${WRKDIR}/ConsoleKit-${PORTVERSION}
USE_BZIP2= yes
USE_GETTEXT= yes
USE_XORG= x11
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
diff --git a/sysutils/hal-info/Makefile b/sysutils/hal-info/Makefile
index 85a3a8358823..f473196ee33f 100644
--- a/sysutils/hal-info/Makefile
+++ b/sysutils/hal-info/Makefile
@@ -20,7 +20,7 @@ BUILD_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
RUN_DEPENDS+= ${LIB_PC_DEPENDS:C|^|${LOCALBASE}/libdata/pkgconfig/|g}
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/sysutils/userspace-rcu/Makefile b/sysutils/userspace-rcu/Makefile
index ae8065dfdd06..79ce9621def4 100644
--- a/sysutils/userspace-rcu/Makefile
+++ b/sysutils/userspace-rcu/Makefile
@@ -15,7 +15,7 @@ PORTDOCS= ChangeLog README cds-api.txt rcu-api.txt uatomic-api.txt
USE_BZIP2= yes
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/textproc/aiksaurus/Makefile b/textproc/aiksaurus/Makefile
index 433ae245faa7..cfd311147b6e 100644
--- a/textproc/aiksaurus/Makefile
+++ b/textproc/aiksaurus/Makefile
@@ -13,7 +13,7 @@ COMMENT?= A set of libraries and applications which provide a thesaurus
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_CSTD= gnu89
-USE_GNOME?= gnomehack
+USE_GNOME?= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS?=--without-gtk
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index dcc380733eaf..c4fef8fd6c77 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/hunspell/Makefile
@@ -17,7 +17,7 @@ LICENSE_COMB= dual
CONFIGURE_ARGS= --disable-nls --with-libiconv-prefix=${LOCALBASE} --with-readline --with-ui
GNU_CONFIGURE= yes
MAKE_JOBS_SAFE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_ICONV= yes
USE_LDCONFIG= yes
USE_NCURSES= yes
diff --git a/textproc/hyphen/Makefile b/textproc/hyphen/Makefile
index 0dda411c85ca..6ba95cddffbb 100644
--- a/textproc/hyphen/Makefile
+++ b/textproc/hyphen/Makefile
@@ -17,7 +17,7 @@ COMMENT= Library for high quality hyphenation and justification
BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PERL5_BUILD= yes
diff --git a/textproc/libexttextcat/Makefile b/textproc/libexttextcat/Makefile
index a73544eea15f..b2f3a0339537 100644
--- a/textproc/libexttextcat/Makefile
+++ b/textproc/libexttextcat/Makefile
@@ -13,7 +13,7 @@ LICENSE= BSD
USE_XZ= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
PORTDOCS= README README.libtextcat TODO
diff --git a/textproc/libmrss/Makefile b/textproc/libmrss/Makefile
index 3253e95f9421..116fb8603ad2 100644
--- a/textproc/libmrss/Makefile
+++ b/textproc/libmrss/Makefile
@@ -19,6 +19,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/textproc/libvisio/Makefile b/textproc/libvisio/Makefile
index b00596a275db..73d2b284522c 100644
--- a/textproc/libvisio/Makefile
+++ b/textproc/libvisio/Makefile
@@ -21,7 +21,7 @@ CONFIGURE_ARGS= --disable-werror
CPPFLAGS+= -I${LOCALBASE}/include
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
USE_PKGCONFIG= build
diff --git a/textproc/libyaml/Makefile b/textproc/libyaml/Makefile
index 29ca31c1cded..6c9bdc2b2a70 100644
--- a/textproc/libyaml/Makefile
+++ b/textproc/libyaml/Makefile
@@ -18,7 +18,7 @@ MAINTAINER= jpaetzel@FreeBSD.org
COMMENT= A YAML 1.1 parser and emitter written in C
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
.include <bsd.port.mk>
diff --git a/textproc/mxml/Makefile b/textproc/mxml/Makefile
index 7cbe4e84016e..e97055b64738 100644
--- a/textproc/mxml/Makefile
+++ b/textproc/mxml/Makefile
@@ -18,7 +18,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
CONFIGURE_ARGS= --with-docdir=no
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
diff --git a/textproc/mythes/Makefile b/textproc/mythes/Makefile
index 056faa9955f2..db90cdc41e96 100644
--- a/textproc/mythes/Makefile
+++ b/textproc/mythes/Makefile
@@ -16,7 +16,7 @@ COMMENT= Simple thesaurus library
LIB_DEPENDS= hunspell-1.3:${PORTSDIR}/textproc/hunspell
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_LDCONFIG= yes
diff --git a/textproc/xerces-c3/Makefile b/textproc/xerces-c3/Makefile
index 016df363ba17..1338f0ecf279 100644
--- a/textproc/xerces-c3/Makefile
+++ b/textproc/xerces-c3/Makefile
@@ -19,7 +19,7 @@ COMMENT= Validating XML parser from the Apache XML Project
CONFLICTS= xerces_c-[0-9]* xerces-c2-[0-9]*
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig \
diff --git a/www/cherokee/Makefile b/www/cherokee/Makefile
index 3472b96eb667..8031dfe7f570 100644
--- a/www/cherokee/Makefile
+++ b/www/cherokee/Makefile
@@ -11,7 +11,7 @@ MASTER_SITE_SUBDIR=cherokee/1.2/${PORTVERSION}
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= Extremely fast and flexible web server
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_OPENSSL= yes
USE_LDCONFIG= yes
diff --git a/www/serf/Makefile b/www/serf/Makefile
index 9ffa00da5c21..f05521cff182 100644
--- a/www/serf/Makefile
+++ b/www/serf/Makefile
@@ -17,7 +17,7 @@ MAKE_JOBS_SAFE= yes
PROJECTHOST= serf
USE_BZIP2= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \
diff --git a/www/xsp/Makefile b/www/xsp/Makefile
index 2367b21d300e..bcaf9e9bf44c 100644
--- a/www/xsp/Makefile
+++ b/www/xsp/Makefile
@@ -20,7 +20,7 @@ MAKE_JOBS_UNSAFE= yes
USE_SQLITE= 3
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_GMAKE= yes
diff --git a/x11-drivers/xf86-input-synaptics/Makefile b/x11-drivers/xf86-input-synaptics/Makefile
index 170f54620b7e..8a5e57cfb4c4 100644
--- a/x11-drivers/xf86-input-synaptics/Makefile
+++ b/x11-drivers/xf86-input-synaptics/Makefile
@@ -16,7 +16,7 @@ CONFLICTS= synaptics-[0-9]*
LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
-USE_GNOME= gnomehack
+USES= pathfix
USE_XORG= x11 xextproto videoproto
XORG_CAT= driver
diff --git a/x11-toolkits/SoXt/Makefile b/x11-toolkits/SoXt/Makefile
index ee3ced43de61..c6a4167dda4b 100644
--- a/x11-toolkits/SoXt/Makefile
+++ b/x11-toolkits/SoXt/Makefile
@@ -23,7 +23,7 @@ USE_XORG= xi
GNU_CONFIGURE= yes
CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS+= --with-pthread=yes --with-coin=${LOCALBASE}
-USE_GNOME= gnomehack
+USES= pathfix
# avoid renaming of soxt-config and soxt-config.1
USE_LDCONFIG= yes
MAN1= soxt-config.1
diff --git a/x11-toolkits/fox17/Makefile b/x11-toolkits/fox17/Makefile
index 34f7a523f6f5..4336adc6617c 100644
--- a/x11-toolkits/fox17/Makefile
+++ b/x11-toolkits/fox17/Makefile
@@ -23,7 +23,7 @@ DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${MAJORVER}
USE_GL= glut
USE_XORG= sm
-USE_GNOME= gnomehack
+USES= pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
diff --git a/x11-toolkits/fxscintilla/Makefile b/x11-toolkits/fxscintilla/Makefile
index 22fe012845ea..a5f109a202ee 100644
--- a/x11-toolkits/fxscintilla/Makefile
+++ b/x11-toolkits/fxscintilla/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared
USE_LDCONFIG= yes
diff --git a/x11-toolkits/libsexymm/Makefile b/x11-toolkits/libsexymm/Makefile
index 9a15a91b7862..5f8b4de589e4 100644
--- a/x11-toolkits/libsexymm/Makefile
+++ b/x11-toolkits/libsexymm/Makefile
@@ -16,7 +16,7 @@ LIB_DEPENDS= gtkmm-2:${PORTSDIR}/x11-toolkits/gtkmm24 \
sexy:${PORTSDIR}/x11-toolkits/libsexy
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
diff --git a/x11-toolkits/soqt/Makefile b/x11-toolkits/soqt/Makefile
index 95b8f593540a..d81fb14700da 100644
--- a/x11-toolkits/soqt/Makefile
+++ b/x11-toolkits/soqt/Makefile
@@ -19,7 +19,7 @@ COMMENT= Qt4 toolkit library for Coin
LIB_DEPENDS= Coin.61:${PORTSDIR}/graphics/Coin
USE_AUTOTOOLS= libtool
-USE_GNOME= gnomehack
+USES= pathfix
USE_QT4= corelib opengl moc_build
USE_GMAKE= yes
CPPFLAGS+= -I${QT_INCDIR} -I${QT_INCDIR}/Qt -I${LOCALBASE}/include
diff --git a/x11-wm/ede/Makefile b/x11-wm/ede/Makefile
index 5d717c4d74bc..18f7007d8101 100644
--- a/x11-wm/ede/Makefile
+++ b/x11-wm/ede/Makefile
@@ -28,7 +28,7 @@ OPTIONS_DEFINE= HAL
HAL_DESC= Enable HAL support
USE_XORG= xcomposite xft xinerama xpm xrandr
-USE_GNOME= gnomehack
+USES= pathfix
USE_PYTHON= yes
USE_FAM= yes
USE_GETTEXT= yes
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index 3d3b723dcb3c..d5aa63ca8cbf 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -27,7 +27,7 @@ OPTIONS_DEFINE= NLS XRANDR
USE_GCC= any
USE_XORG= xft xinerama xmu xpm
-USE_GNOME= gnomehack
+USES= pathfix
USE_PKGCONFIG= build
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-pixmapdir=${PREFIX}/include/X11/pixmaps \
diff --git a/x11/fluxbg/Makefile b/x11/fluxbg/Makefile
index 629450cdba65..c6e8135ba4cb 100644
--- a/x11/fluxbg/Makefile
+++ b/x11/fluxbg/Makefile
@@ -17,7 +17,7 @@ COMMENT= Background changer for fluxbox/blackbox
LIB_DEPENDS= gtkmm-2.0:${PORTSDIR}/x11-toolkits/gtkmm20
GNU_CONFIGURE= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.pre.mk>
diff --git a/x11/libXtrans/Makefile b/x11/libXtrans/Makefile
index aea8fa914b94..d5bb50549b54 100644
--- a/x11/libXtrans/Makefile
+++ b/x11/libXtrans/Makefile
@@ -17,6 +17,6 @@ COMMENT= Network API translation layer for X applications and libraries
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
-USE_GNOME= gnomehack
+USES= pathfix
.include <bsd.port.mk>
diff --git a/x11/libxcb/Makefile b/x11/libxcb/Makefile
index 1f41da6f3cab..80822da91407 100644
--- a/x11/libxcb/Makefile
+++ b/x11/libxcb/Makefile
@@ -25,7 +25,7 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_XORG= xau xdmcp
diff --git a/x11/xbitmaps/Makefile b/x11/xbitmaps/Makefile
index dcedb4996292..f0e568126b05 100644
--- a/x11/xbitmaps/Makefile
+++ b/x11/xbitmaps/Makefile
@@ -14,7 +14,7 @@ COMMENT= X.Org bitmaps data
LICENSE= MIT
-USE_GNOME= gnomehack
+USES= pathfix
XORG_CAT= data
diff --git a/x11/xcb-proto/Makefile b/x11/xcb-proto/Makefile
index 5d77f4134203..ecbc56073722 100644
--- a/x11/xcb-proto/Makefile
+++ b/x11/xcb-proto/Makefile
@@ -19,7 +19,7 @@ COMMENT= The X protocol C-language Binding (XCB) protocol
BUILD_DEPENDS= xmllint:${PORTSDIR}/textproc/libxml2
USE_BZIP2= yes
-USE_GNOME= gnomehack
+USES= pathfix
USE_PYTHON= 2.5+
GNU_CONFIGURE= yes
diff --git a/x11/xpyb/Makefile b/x11/xpyb/Makefile
index 9fdf3f82021f..a7f8d5f534c7 100644
--- a/x11/xpyb/Makefile
+++ b/x11/xpyb/Makefile
@@ -21,7 +21,7 @@ LIB_DEPENDS= xcb.2:${PORTSDIR}/x11/libxcb
USE_BZIP2= yes
USE_PYTHON= 2.5+
-USE_GNOME= gnomehack
+USES= pathfix
PORTDOCS= README COPYING INSTALL NEWS XcbPythonBinding.txt
GNU_CONFIGURE= yes