aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-python
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-01-06 05:14:09 +0800
committerknu <knu@FreeBSD.org>2001-01-06 05:14:09 +0800
commit9c509128fde2ec4c4fea91355934edc9503b99b9 (patch)
tree3182fe28f1a680a9601ba826d223a6dbb8c0b077 /lang/ruby-python
parent6bbfa98979200a39d4eb213df0b025a979871177 (diff)
downloadfreebsd-ports-gnome-9c509128fde2ec4c4fea91355934edc9503b99b9.tar.gz
freebsd-ports-gnome-9c509128fde2ec4c4fea91355934edc9503b99b9.tar.zst
freebsd-ports-gnome-9c509128fde2ec4c4fea91355934edc9503b99b9.zip
Link against libreadline. I wonder from when and why it came to
require linking libreadline... ?-( Found by: bento
Diffstat (limited to 'lang/ruby-python')
-rw-r--r--lang/ruby-python/files/patch-aa6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/ruby-python/files/patch-aa b/lang/ruby-python/files/patch-aa
index c234b7cafff8..98ced7a4bad5 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 Mon Sep 11 04:31:30 2000
++++ extconf.rb Sat Jan 6 06:11:27 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,13 @@
+@@ -59,11 +65,15 @@
end
$LOCAL_LIBS << py_extralibs
@@ -77,6 +77,8 @@
- $CFLAGS += " -DDEBUG"
- end
- create_makefile("python")
++have_library("readline", "readline")
++
+if !have_library(py_name, "Py_Initialize") || !have_header("Python.h")
+ exit(1)
+end