summaryrefslogtreecommitdiffstats
path: root/lang/ruby-python
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-01-18 20:06:41 +0000
committerknu <knu@FreeBSD.org>2001-01-18 20:06:41 +0000
commitf06a7f58aaa2adedacbc5a8c32390198ba170cf3 (patch)
tree90d9ec6f8bca322427f43a568c9394ee68027d00 /lang/ruby-python
parenteeda107383b6f02f402286de41c2d1ef2bb189b3 (diff)
downloadFreeBSD-ports-f06a7f58aaa2adedacbc5a8c32390198ba170cf3.zip
FreeBSD-ports-f06a7f58aaa2adedacbc5a8c32390198ba170cf3.tar.gz
The previous problem was found to be due to mkmf.rb's bug. Now fixed.
Diffstat (limited to 'lang/ruby-python')
-rw-r--r--lang/ruby-python/files/patch-aa6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/ruby-python/files/patch-aa b/lang/ruby-python/files/patch-aa
index 98ced7a..bb64b29 100644
--- a/lang/ruby-python/files/patch-aa
+++ b/lang/ruby-python/files/patch-aa
@@ -1,5 +1,5 @@
--- extconf.rb.orig Mon Sep 11 01:14:42 2000
-+++ extconf.rb Sat Jan 6 06:11:27 2001
++++ extconf.rb Fri Jan 19 04:43:51 2001
@@ -1,35 +1,41 @@
require 'mkmf'
@@ -66,7 +66,7 @@
# If python is linked with extra libraries (e.g. -lpthread on Linux,
# -lsocket on Solaris, etc.), have_library test will fail and built
-@@ -59,11 +65,15 @@
+@@ -59,11 +65,13 @@
end
$LOCAL_LIBS << py_extralibs
@@ -77,8 +77,6 @@
- $CFLAGS += " -DDEBUG"
- end
- create_makefile("python")
-+have_library("readline", "readline")
-+
+if !have_library(py_name, "Py_Initialize") || !have_header("Python.h")
+ exit(1)
+end
OpenPOWER on IntegriCloud