pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/xlockmore Fix execution of 'configure' under shell...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69d39861c199
branches:  trunk
changeset: 400281:69d39861c199
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Thu Oct 15 21:24:26 2009 +0000

description:
Fix execution of 'configure' under shells that dislike if-fi with no
intermediate block (Linux here, but probably Solaris too).

Whilst here, remove a cosmetic patch hunk.

diffstat:

 x11/xlockmore/distinfo         |   4 ++--
 x11/xlockmore/patches/patch-ab |  39 +++++++++++++++++++--------------------
 2 files changed, 21 insertions(+), 22 deletions(-)

diffs (81 lines):

diff -r 4a471965ce66 -r 69d39861c199 x11/xlockmore/distinfo
--- a/x11/xlockmore/distinfo    Thu Oct 15 12:41:41 2009 +0000
+++ b/x11/xlockmore/distinfo    Thu Oct 15 21:24:26 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.43 2009/09/30 14:59:06 tnn Exp $
+$NetBSD: distinfo,v 1.44 2009/10/15 21:24:26 dsainty Exp $
 
 SHA1 (xlockmore-5.28.tar.bz2) = a6fd4786d678a090c454a9993c8880a03160634f
 RMD160 (xlockmore-5.28.tar.bz2) = f75f2dea6fa747c4299a8c7c5ee9462f238f5e0b
 Size (xlockmore-5.28.tar.bz2) = 1901583 bytes
 SHA1 (patch-aa) = 548646fe62b2d201328ca25a067e19998d58eb18
-SHA1 (patch-ab) = fb7ef9e3ba1eef9ec7326854dc80c95703812e8f
+SHA1 (patch-ab) = ad28c034c773027343e2867fe1f5d4ec26232404
 SHA1 (patch-ac) = e05f4956c0b4bd9b90c86e5a1174aab5e474115f
 SHA1 (patch-ad) = a76c7d9f17dec5cf2a3de6d0c3343c80cf53d314
 SHA1 (patch-ae) = b78d7d148c9a62dbdf72e05aeec8d22d10ab9cce
diff -r 4a471965ce66 -r 69d39861c199 x11/xlockmore/patches/patch-ab
--- a/x11/xlockmore/patches/patch-ab    Thu Oct 15 12:41:41 2009 +0000
+++ b/x11/xlockmore/patches/patch-ab    Thu Oct 15 21:24:26 2009 +0000
@@ -1,16 +1,7 @@
-$NetBSD: patch-ab,v 1.21 2009/09/30 14:59:06 tnn Exp $
+$NetBSD: patch-ab,v 1.22 2009/10/15 21:24:26 dsainty Exp $
 
 --- configure.orig     2008-08-29 01:55:43.000000000 +0200
 +++ configure
-@@ -6754,7 +6754,7 @@ else
-     # Make sure to not put "make" in the Imakefile rules, since we grep it out.
-     cat > Imakefile <<'EOF'
- acfindx:
--  @echo 'ac_x_app_defaults="${XAPPLOADDIR}"'
-+      @echo 'ac_x_app_defaults="${XAPPLOADDIR}"'
- EOF
-     if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
-       # GNU make sometimes prints "make[1]: Entering...", which'd confuse us.
 @@ -6763,139 +6763,6 @@ EOF
      cd ..
      rm -fr conftestdir
@@ -160,25 +151,33 @@
      test "x$mesa_includes" = xNONE && mesa_includes=$ac_mesa_includes
      test "x$mesa_libraries" = xNONE && mesa_libraries=$ac_mesa_libraries
      case "${canonical}" in
-@@ -10533,8 +10400,8 @@ _ACEOF
+@@ -10532,10 +10399,10 @@ _ACEOF
+         dirname=`which gcc`
          dirname=`dirname $dirname`
          dirname=`dirname $dirname`/lib
-       if test "$dirname" != "/lib"; then
+-      if test "$dirname" != "/lib"; then
 -          XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
 -          XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
-+#         XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
-+#         XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
-       fi
+-      fi
++#     if test "$dirname" != "/lib"; then
++#         XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
++#         XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
++#     fi
      fi
      XLOCKLDFLAGS="-Wl,-R${XLOCK_LDFLAGS}"
-@@ -10834,8 +10701,8 @@ _ACEOF
+     XMLOCKLDFLAGS="-Wl,-R${XMLOCK_LDFLAGS}"
+@@ -10833,10 +10700,10 @@ _ACEOF
+         dirname=`which gcc`
          dirname=`dirname $dirname`
          dirname=`dirname $dirname`/lib
-       if test "$dirname" != "/lib"; then
+-      if test "$dirname" != "/lib"; then
 -          XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
 -          XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
-+#         XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
-+#         XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
-       fi
+-      fi
++#     if test "$dirname" != "/lib"; then
++#         XLOCK_LDFLAGS="${XLOCK_LDFLAGS}:$dirname"
++#         XMLOCK_LDFLAGS="${XMLOCK_LDFLAGS}:$dirname"
++#     fi
      fi
      XLOCKLDFLAGS="-R${XLOCK_LDFLAGS}"
+     XMLOCKLDFLAGS="-R${XMLOCK_LDFLAGS}"



Home | Main Index | Thread Index | Old Index