aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-18 20:06:41 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-18 20:06:41 +0000
commitc28df6e317ac1fb852527fc076d00666b25d8bfa (patch)
treea21aaf009c7148b1bc70a8db93efdc23a08cccf5 /lang
parent86bd115438157d928b9ba9db035907281c4338bc (diff)
downloadports-c28df6e317ac1fb852527fc076d00666b25d8bfa.tar.gz
ports-c28df6e317ac1fb852527fc076d00666b25d8bfa.zip
Notes
Diffstat (limited to 'lang')
-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 98ced7a4bad5..bb64b29e35b8 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