summaryrefslogtreecommitdiff
path: root/games/warzone2100/files/patch-configure
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-07-26 05:40:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-07-26 05:40:22 +0000
commit9346b215f04cc84bbb7125ff2fcf03978f859a21 (patch)
tree73bea5baa559b61c5e812c50ac96fad638950c75 /games/warzone2100/files/patch-configure
parentfixed mozc-el build fail (diff)
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)
Notes
Notes: svn path=/head/; revision=301539
Diffstat (limited to 'games/warzone2100/files/patch-configure')
-rw-r--r--games/warzone2100/files/patch-configure22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/warzone2100/files/patch-configure b/games/warzone2100/files/patch-configure
new file mode 100644
index 000000000000..6804debfd238
--- /dev/null
+++ b/games/warzone2100/files/patch-configure
@@ -0,0 +1,22 @@
+--- ./configure.orig 2012-07-25 12:01:59.220711135 +0200
++++ ./configure 2012-07-25 12:02:30.934712586 +0200
+@@ -8603,7 +8603,7 @@
+
+
+ for ac_prog in pkg-config; do
+- ac_prog_version_check=`$ac_prog --version | head -n 1 | sed 's/([^)]*)//g;s/^[a-zA-Z\.\ \-\/]*//;s/ .*$//'`
++ ac_prog_version_check=`$ac_prog --modversion pkg-config | head -n 1 | sed 's/([^)]*)//g;s/^[a-zA-Z\.\ \-\/]*//;s/ .*$//'`
+ ac_prog_major_check=`echo $ac_prog_version_check | cut -d. -f1`
+ ac_prog_minor_check=`echo $ac_prog_version_check | sed s/[-,a-z,A-Z].*// | cut -d. -f2`
+ ac_prog_micro_check=`echo $ac_prog_version_check | sed s/[-,a-z,A-Z].*// | cut -d. -f3`
+--- ./configure.orig 2012-07-25 12:01:59.220711135 +0200
++++ ./configure 2012-07-25 12:02:30.934712586 +0200
+@@ -8603,7 +8603,7 @@
+
+
+ for ac_prog in pkg-config; do
+- ac_prog_version_check=`$ac_prog --version | head -n 1 | sed 's/([^)]*)//g;s/^[a-zA-Z\.\ \-\/]*//;s/ .*$//'`
++ ac_prog_version_check=`$ac_prog --modversion pkg-config | head -n 1 | sed 's/([^)]*)//g;s/^[a-zA-Z\.\ \-\/]*//;s/ .*$//'`
+ ac_prog_major_check=`echo $ac_prog_version_check | cut -d. -f1`
+ ac_prog_minor_check=`echo $ac_prog_version_check | sed s/[-,a-z,A-Z].*// | cut -d. -f2`
+ ac_prog_micro_check=`echo $ac_prog_version_check | sed s/[-,a-z,A-Z].*// | cut -d. -f3`