diff options
author | erwin <erwin@FreeBSD.org> | 2008-02-29 00:52:52 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2008-02-29 00:52:52 +0800 |
commit | f5a3b4694b339f0a517e99cf35690d2b2877357d (patch) | |
tree | a327f694522e4a0579d938b2c94a1acf54c125a7 /devel | |
parent | d8bdb9a6577960bf68ceafd99a4f782845004bd4 (diff) | |
download | freebsd-ports-gnome-f5a3b4694b339f0a517e99cf35690d2b2877357d.tar.gz freebsd-ports-gnome-f5a3b4694b339f0a517e99cf35690d2b2877357d.tar.zst freebsd-ports-gnome-f5a3b4694b339f0a517e99cf35690d2b2877357d.zip |
Fix the homegrew ar(1) detection on 8.0 by adding FreeBSD to
the list of platforms with native ar(1).
Submitted by: kaiw
Diffstat (limited to 'devel')
-rw-r--r-- | devel/rhtvision/files/patch-conflib.pl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/rhtvision/files/patch-conflib.pl b/devel/rhtvision/files/patch-conflib.pl new file mode 100644 index 000000000000..5248120969a8 --- /dev/null +++ b/devel/rhtvision/files/patch-conflib.pl @@ -0,0 +1,22 @@ +On Thu, Jan 31, 2008 at 02:02:31PM +0100, Erwin Lansing wrote: +> This looks like the port itself needs fixing, either by making it use +> bsdar, or having a mechanism to install GNU ar from a port. Anyway, not +> a problem with bsdar itself :-) + +This one is less-common, it has a its own perl script to grep string +"GNU ar" out of `ar --version`. However later it listed acceptable 'ar' of +several OSes. So I tried a fix like this and it works: + +--- conflib.pl.orig 2008-01-31 20:44:29.000000000 +0100 ++++ conflib.pl 2008-01-31 20:45:31.000000000 +0100 +@@ -1407,7 +1407,7 @@ + } + # I think all ar tools are usable but ... + if (($OSf eq 'Darwin') || ($OSf eq 'HP-UX') || ($OSf eq 'Tru64') || +- ($OSf eq 'Solaris')) ++ ($OSf eq 'Solaris') || ($OSf eq 'FreeBSD')) + { + $conf{'GNU_AR'}='ar'; + $conf{'UseRanLib'}=1; + + |