Fri Dec 18 01:10:15 2015 UTC ()
"test ==" portability fix.


(asau)
diff -r1.16 -r1.17 pkgsrc/lang/racket/distinfo
diff -r0 -r1.3 pkgsrc/lang/racket/patches/patch-src_configure
diff -r0 -r1.1 pkgsrc/lang/racket/patches/patch-src_racket_configure.ac

cvs diff -r1.16 -r1.17 pkgsrc/lang/racket/distinfo (expand / switch to unified diff)

--- pkgsrc/lang/racket/distinfo 2015/12/12 21:49:05 1.16
+++ pkgsrc/lang/racket/distinfo 2015/12/18 01:10:14 1.17
@@ -1,6 +1,8 @@ @@ -1,6 +1,8 @@
1$NetBSD: distinfo,v 1.16 2015/12/12 21:49:05 asau Exp $ 1$NetBSD: distinfo,v 1.17 2015/12/18 01:10:14 asau Exp $
2 2
3SHA1 (racket-6.3-src.tgz) = 6def7372bc1a92e0eb15540dc5d427219104f63e 3SHA1 (racket-6.3-src.tgz) = 6def7372bc1a92e0eb15540dc5d427219104f63e
4RMD160 (racket-6.3-src.tgz) = 2389103623078aedc8e79e2e91ef769dc37ce09b 4RMD160 (racket-6.3-src.tgz) = 2389103623078aedc8e79e2e91ef769dc37ce09b
5SHA512 (racket-6.3-src.tgz) = 5d17c413ff61a0edf7b26c5b4dcab32992bc974d14cdf777c86bd2c6b9232133d2a57528edf2fb5cc605806b922e2f0361d9cd2ebe3b83bd586b3fc6b9bb8deb 5SHA512 (racket-6.3-src.tgz) = 5d17c413ff61a0edf7b26c5b4dcab32992bc974d14cdf777c86bd2c6b9232133d2a57528edf2fb5cc605806b922e2f0361d9cd2ebe3b83bd586b3fc6b9bb8deb
6Size (racket-6.3-src.tgz) = 20684967 bytes 6Size (racket-6.3-src.tgz) = 20684967 bytes
 7SHA1 (patch-src_configure) = 84d54af7677a051d9277ac22180eaefcac155d3b
 8SHA1 (patch-src_racket_configure.ac) = 35dd7d738b9bdcac567700e43f6c5ffb583f1a13

File Added: pkgsrc/lang/racket/patches/Attic/patch-src_configure
$NetBSD: patch-src_configure,v 1.3 2015/12/18 01:10:14 asau Exp $

--- src/configure.orig	2015-10-20 15:10:35.000000000 +0000
+++ src/configure
@@ -3098,7 +3098,7 @@ if test "${enable_sysroot}" != "" ; then
 fi
 
 if test "${enable_racket}" != "" ; then
-  if test "${enable_racket}" == "auto" ; then
+  if test "${enable_racket}" = "auto" ; then
      echo "=== Creating and using local Racket executable"
   else
      echo "=== Using Racket executable ${enable_racket}"
@@ -4662,7 +4662,7 @@ case "$host_os" in
     skip_iconv_check=yes
     check_for_mprotect=no
     # ".a" is typically not useful, since we always build a DLL:
-    if test "${enable_libs}" == "" ; then
+    if test "${enable_libs}" = "" ; then
       INSTALL_LIBS_ENABLE=no-install
     fi
 
@@ -4717,7 +4717,7 @@ else
   has_winpthread=no
 fi
 
-    if test "${has_winpthread}" == "yes" ; then
+    if test "${has_winpthread}" = "yes" ; then
       LIBS="${LIBS} -Wl,-Bstatic -lwinpthread"
     fi
     case "$build_os" in
@@ -4793,7 +4793,7 @@ fi
     try_kqueue_syscall=yes
 
     # ".a" is typically not useful, since we always build a ".dylib":
-    if test "${enable_libs}" == "" ; then
+    if test "${enable_libs}" = "" ; then
       INSTALL_LIBS_ENABLE=no-install
     fi
 

File Added: pkgsrc/lang/racket/patches/Attic/patch-src_racket_configure.ac
$NetBSD: patch-src_racket_configure.ac,v 1.1 2015/12/18 01:10:14 asau Exp $

--- src/racket/configure.ac.orig	2015-10-20 15:10:35.000000000 +0000
+++ src/racket/configure.ac
@@ -369,7 +369,7 @@ if test "${enable_sysroot}" != "" ; then
 fi
 
 if test "${enable_racket}" != "" ; then
-  if test "${enable_racket}" == "auto" ; then
+  if test "${enable_racket}" = "auto" ; then
      echo "=== Creating and using local Racket executable"
   else
      echo "=== Using Racket executable ${enable_racket}"
@@ -786,7 +786,7 @@ case "$host_os" in
     skip_iconv_check=yes
     check_for_mprotect=no
     # ".a" is typically not useful, since we always build a DLL:
-    if test "${enable_libs}" == "" ; then
+    if test "${enable_libs}" = "" ; then
       INSTALL_LIBS_ENABLE=no-install
     fi
     AC_DEFINE(HAVE_STDINT_H,1,[Have stdint.h])
@@ -798,7 +798,7 @@ case "$host_os" in
     fi
 
     AC_CHECK_LIB(winpthread, pthread_create, has_winpthread=yes, has_winpthread=no)
-    if test "${has_winpthread}" == "yes" ; then
+    if test "${has_winpthread}" = "yes" ; then
       LIBS="${LIBS} -Wl,-Bstatic -lwinpthread"
     fi
     case "$build_os" in
@@ -874,7 +874,7 @@ case "$host_os" in
     try_kqueue_syscall=yes
 
     # ".a" is typically not useful, since we always build a ".dylib":
-    if test "${enable_libs}" == "" ; then
+    if test "${enable_libs}" = "" ; then
       INSTALL_LIBS_ENABLE=no-install
     fi