summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorasau <asau>2015-12-18 01:10:14 +0000
committerasau <asau>2015-12-18 01:10:14 +0000
commit2ab5c5a36592cefcaee71f03e51d7f18c55d022e (patch)
treeb4eb0893a5ac179c98f2d295dec6436c56e36218
parent35f96079b63e5f9ba1ffaeb1a1c0326a9e8dc4b7 (diff)
downloadpkgsrc-2ab5c5a36592cefcaee71f03e51d7f18c55d022e.tar.gz
"test ==" portability fix.
-rw-r--r--lang/racket/distinfo4
-rw-r--r--lang/racket/patches/patch-src_configure40
-rw-r--r--lang/racket/patches/patch-src_racket_configure.ac40
3 files changed, 83 insertions, 1 deletions
diff --git a/lang/racket/distinfo b/lang/racket/distinfo
index 123c195b957..53ab86c0ae2 100644
--- a/lang/racket/distinfo
+++ b/lang/racket/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.16 2015/12/12 21:49:05 asau Exp $
+$NetBSD: distinfo,v 1.17 2015/12/18 01:10:14 asau Exp $
SHA1 (racket-6.3-src.tgz) = 6def7372bc1a92e0eb15540dc5d427219104f63e
RMD160 (racket-6.3-src.tgz) = 2389103623078aedc8e79e2e91ef769dc37ce09b
SHA512 (racket-6.3-src.tgz) = 5d17c413ff61a0edf7b26c5b4dcab32992bc974d14cdf777c86bd2c6b9232133d2a57528edf2fb5cc605806b922e2f0361d9cd2ebe3b83bd586b3fc6b9bb8deb
Size (racket-6.3-src.tgz) = 20684967 bytes
+SHA1 (patch-src_configure) = 84d54af7677a051d9277ac22180eaefcac155d3b
+SHA1 (patch-src_racket_configure.ac) = 35dd7d738b9bdcac567700e43f6c5ffb583f1a13
diff --git a/lang/racket/patches/patch-src_configure b/lang/racket/patches/patch-src_configure
new file mode 100644
index 00000000000..2f816b01454
--- /dev/null
+++ b/lang/racket/patches/patch-src_configure
@@ -0,0 +1,40 @@
+$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
+
diff --git a/lang/racket/patches/patch-src_racket_configure.ac b/lang/racket/patches/patch-src_racket_configure.ac
new file mode 100644
index 00000000000..43c47200c33
--- /dev/null
+++ b/lang/racket/patches/patch-src_racket_configure.ac
@@ -0,0 +1,40 @@
+$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
+