aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-10-14 02:36:40 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-10-14 02:36:40 +0000
commitdef9ab7a1ffacc1cfcdaa04964b37897666ae960 (patch)
tree141446d5fd62be96f60944c31f8f2e10cd0fdc42 /comms
parentc85ebc35044f0b7d8b46f91a4eb1dac2a565ae56 (diff)
downloadports-def9ab7a1ffacc1cfcdaa04964b37897666ae960.tar.gz
ports-def9ab7a1ffacc1cfcdaa04964b37897666ae960.zip
Deal with "cc -version" reporting "2.7.2.1" or any other junk that might
end up appended (eg: "2.7.2p" or the like). Reported by: jhs@freebsd.org (who also suggested a different, larger patch)
Notes
Notes: svn path=/head/; revision=3973
Diffstat (limited to 'comms')
-rw-r--r--comms/hylafax/files/patch-ae17
1 files changed, 17 insertions, 0 deletions
diff --git a/comms/hylafax/files/patch-ae b/comms/hylafax/files/patch-ae
new file mode 100644
index 000000000000..25d0feef09c2
--- /dev/null
+++ b/comms/hylafax/files/patch-ae
@@ -0,0 +1,17 @@
+Deal with cc -version reporting "2.7.2.1" or any other junk following the
+third number.
+
+Inspired by a larger patch from <jhs@freebsd.org> and apparently
+Andreas Klemm <andreas@klemm.gtn.com>
+
+--- configure.dist Mon Oct 14 10:17:10 1996
++++ configure Mon Oct 14 10:18:20 1996
+@@ -446,7 +446,7 @@
+ {
+ app=$1; shift
+ eval `$app -v 2>&1 | \
+- sed -n -e '/version/s/.* \([0-9]*\)\.\([0-9]*\).\([0-9]*\)/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'`
++ sed -n -e '/version/s/.* \([0-9]*\)\.\([0-9]*\).\([0-9]*\).*/GCCdist=\1;GCCmajor=\2;GCCminor=\3/p'`
+ GCCversion="${GCCdist}.${GCCmajor}.${GCCminor}"; export GCCversion
+ required="$1$2$3"
+ actual="${GCCdist}${GCCmajor}${GCCminor}"