aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-05 21:14:09 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-05 21:14:09 +0000
commit01eb5364e5f2b265f9f9c77e4bfb6bf2bcd078e8 (patch)
tree6a5e20132fc4c293cd7435569b0fd35fbb150562 /lang
parenta1b258baea3762aec7f29de6e4af952699ddedf0 (diff)
downloadports-01eb5364e5f2b265f9f9c77e4bfb6bf2bcd078e8.tar.gz
ports-01eb5364e5f2b265f9f9c77e4bfb6bf2bcd078e8.zip
Notes
Diffstat (limited to 'lang')
-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