diff options
author | obache <obache@pkgsrc.org> | 2006-12-03 23:55:14 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2006-12-03 23:55:14 +0000 |
commit | e2fd7e31f86e6516a982147b20f17410878e99e3 (patch) | |
tree | 2c51643878ec3b6f53673928c60212729de51a85 /devel | |
parent | 63d38e2f2db8ef73cae7029d84a668cac75d4da2 (diff) | |
download | pkgsrc-e2fd7e31f86e6516a982147b20f17410878e99e3.tar.gz |
Fix portability-check.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/swig/distinfo | 3 | ||||
-rw-r--r-- | devel/swig/patches/patch-ab | 29 |
2 files changed, 31 insertions, 1 deletions
diff --git a/devel/swig/distinfo b/devel/swig/distinfo index 24a78c709a5..b1624c7d888 100644 --- a/devel/swig/distinfo +++ b/devel/swig/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2006/12/02 10:15:46 wulf Exp $ +$NetBSD: distinfo,v 1.8 2006/12/03 23:55:14 obache Exp $ SHA1 (swig-1.3.31.tar.gz) = 3369543fa178bdeaa597dba806be04b9c8d0f12c RMD160 (swig-1.3.31.tar.gz) = 7f2c8edec5875bd21138bb00070f214d14ed1894 Size (swig-1.3.31.tar.gz) = 4177499 bytes SHA1 (patch-aa) = 27c6fdcb0394fa6b5f307cc8b46ff4516a2d2fd9 +SHA1 (patch-ab) = c690480ad10256c7198fc19699557e0b3f46b087 diff --git a/devel/swig/patches/patch-ab b/devel/swig/patches/patch-ab new file mode 100644 index 00000000000..23be69d9328 --- /dev/null +++ b/devel/swig/patches/patch-ab @@ -0,0 +1,29 @@ +$NetBSD: patch-ab,v 1.4 2006/12/03 23:55:14 obache Exp $ + +--- configure.orig 2006-11-21 07:31:44.000000000 +0900 ++++ configure +@@ -8010,19 +8010,19 @@ echo $ECHO_N "checking for Ocaml version + isolate_b_regex='\([0-9]\+\).*' + for ver_part in $nodots_a ; do + b_ver_part=`echo "$ver_b" | sed -e 's/'"$isolate_b_regex"'/\1/'` +- if test \( "$ver_part" -lt "$b_ver_part" \) -a \( "x$condition" == "xequal" \) ; then ++ if test \( "$ver_part" -lt "$b_ver_part" \) -a \( "x$condition" = "xequal" \) ; then + condition=less +- elif test \( "$ver_part" -gt "$b_ver_part" \) -a \( "x$condition" == "xequal" \) ; then ++ elif test \( "$ver_part" -gt "$b_ver_part" \) -a \( "x$condition" = "xequal" \) ; then + condition=greater + fi + isolate_b_regex='[0-9]\+\.'"$isolate_b_regex" + done + +- if test "x$condition" == "xequal" ; then ++ if test "x$condition" = "xequal" ; then + : +- elif test "x$condition" == "xless" ; then ++ elif test "x$condition" = "xless" ; then + : +- elif test "x$condition" == "xgreater" ; then ++ elif test "x$condition" = "xgreater" ; then + OCAMLLOC=_loc + fi + |