aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-07-26 13:40:22 +0800
committerbapt <bapt@FreeBSD.org>2012-07-26 13:40:22 +0800
commit8a3f534c898f1045896626964b7f3e3e406f946b (patch)
tree73bea5baa559b61c5e812c50ac96fad638950c75 /misc
parentccde37a9b75ee6a15ed85af7d0f2e60c16c42192 (diff)
downloadfreebsd-ports-gnome-8a3f534c898f1045896626964b7f3e3e406f946b.tar.gz
freebsd-ports-gnome-8a3f534c898f1045896626964b7f3e3e406f946b.tar.zst
freebsd-ports-gnome-8a3f534c898f1045896626964b7f3e3e406f946b.zip
new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide the same set of features as 0.27 and a compatible frontend. A symlink to pkg-config has been added for convenience and compatibility This also introduces a new macro to use pkgconf in your ports: USE_PKGCONFIG it can take the following arguments: - yes (meaning build only dep) - build (meaning build only dep) - run (meaning run only dep) - both (meaning run and build dep) From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG The old gnome macro has been modified to use pkgconf but still the sameway: run and build dep to avoid large breakage. While here fix some ports relying on pkg-config but not specifying it, fix some ports broken because testing wrong .pc files, and fix ports using pkg-config --version to determine pkg-config version instead of pkg-config --modversion pkg-config like recommanded by pkg-config With Hat: portmgr Exp-runs by: bapt (pointhat-west), beat (pointyhat)
Diffstat (limited to 'misc')
-rw-r--r--misc/linm/Makefile3
-rw-r--r--misc/mc-light/Makefile2
-rw-r--r--misc/mc/Makefile3
3 files changed, 3 insertions, 5 deletions
diff --git a/misc/linm/Makefile b/misc/linm/Makefile
index 8214f604e262..5d3cb04b5813 100644
--- a/misc/linm/Makefile
+++ b/misc/linm/Makefile
@@ -16,10 +16,9 @@ DISTNAME= linm_${LINM_VER}-1
MAINTAINER= ports@FreeBSD.org
COMMENT= Clone of Mdir, mc-style terminal file manager
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
-
USE_AUTOTOOLS= libtool
USE_ICONV= yes
+USE_PKGCONFIG= yes
USE_OPENSSL= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
diff --git a/misc/mc-light/Makefile b/misc/mc-light/Makefile
index 53df20299b3d..e9ebf14dabfd 100644
--- a/misc/mc-light/Makefile
+++ b/misc/mc-light/Makefile
@@ -15,7 +15,6 @@ DISTNAME= mc-${PORTVERSION:S/.p9/-pre9/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A lightweight Midnight Commander clone
-BUILD_DEPENDS= pkg-config>0:${PORTSDIR}/devel/pkg-config
RUN_DEPENDS= gawk:${PORTSDIR}/lang/gawk
CONFLICTS= mc-4.7*
@@ -26,6 +25,7 @@ MC_IN_MC_DESC= Allow run mc inside mc (useful for mcedit)
USE_GMAKE= yes
USE_ICONV= yes
+USE_PKGCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-included-slang \
--with-gettext \
diff --git a/misc/mc/Makefile b/misc/mc/Makefile
index 1a217ef9c388..4da09e08b799 100644
--- a/misc/mc/Makefile
+++ b/misc/mc/Makefile
@@ -20,10 +20,9 @@ COMMENT= Midnight Commander, a free Norton Commander Clone
CONFLICTS= mc-light-4*
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
-
USE_GMAKE= yes
USE_GNOME= glib20
+USE_PKGCONFIG= yes
USE_PERL5= yes
USE_XZ= yes
GNU_CONFIGURE= yes