summaryrefslogtreecommitdiff
path: root/www/epiphany/patches/patch-aa
blob: 7c6bc07176f82de33ef68dee16546d7c25998d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.5 2004/09/21 17:07:58 jmmv Exp $

--- configure.orig	2004-09-13 11:24:48.000000000 +0200
+++ configure
@@ -21909,7 +21909,11 @@ if test $MOZILLA_VERSION = "trunk"; then
 	MOZILLA_VERSION=9.0 # use a high number
 fi
 
+if test `uname` = NetBSD; then
+version=$(echo $MOZILLA_VERSION | sed -E -e 's/([0-9]+|[a-z]+)/\1 /g' -e 's/\.//g')
+else
 version=$(echo $MOZILLA_VERSION | sed -e 's/\([0-9]\+\|[a-z]\+\)/\1 /g' -e 's/\.//g')
+fi
 
 set -- $version;