diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-10-10 18:26:00 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-10-10 18:26:00 +0000 |
commit | 4e5aa07f3c8fc972827fa30b4321cdfc4fe653fd (patch) | |
tree | 9edd704df9ccd10a9cae65f939f5c5fec27003e8 /databases/postgresql73/patches | |
parent | 325c14975aaa1fb823dbaefe159a5f54cc609c30 (diff) | |
download | pkgsrc-4e5aa07f3c8fc972827fa30b4321cdfc4fe653fd.tar.gz |
add patches to make it possible to compile PL/Python
Diffstat (limited to 'databases/postgresql73/patches')
-rw-r--r-- | databases/postgresql73/patches/patch-ad | 15 | ||||
-rw-r--r-- | databases/postgresql73/patches/patch-aj | 14 |
2 files changed, 26 insertions, 3 deletions
diff --git a/databases/postgresql73/patches/patch-ad b/databases/postgresql73/patches/patch-ad index 6ce91a0ac71..ef6022a4c55 100644 --- a/databases/postgresql73/patches/patch-ad +++ b/databases/postgresql73/patches/patch-ad @@ -1,7 +1,7 @@ -$NetBSD: patch-ad,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $ +$NetBSD: patch-ad,v 1.2 2004/10/10 18:26:00 jdolecek Exp $ ---- src/Makefile.global.in.orig Thu Sep 5 07:54:18 2002 -+++ src/Makefile.global.in +--- src/Makefile.global.in.orig 2002-09-05 00:54:18.000000000 +0200 ++++ src/Makefile.global.in 2004-10-10 20:20:34.000000000 +0200 @@ -111,6 +111,13 @@ endif endif @@ -24,6 +24,15 @@ $NetBSD: patch-ad,v 1.1.1.1 2004/07/24 22:14:40 recht Exp $ with_tcl = @with_tcl@ with_tk = @with_tk@ enable_shared = @enable_shared@ +@@ -135,7 +143,7 @@ + python_includespec = @python_includespec@ + python_moduledir = @python_moduledir@ + python_moduleexecdir = @python_moduleexecdir@ +-python_libspec = @python_libspec@ ++python_libspec = -Wl,-R${PREFIX}/lib -L${PREFIX}/lib @python_libspec@ + python_configdir = @python_configdir@ + + krb_srvtab = @krb_srvtab@ @@ -285,13 +293,20 @@ libpq_builddir = $(top_builddir)/src/interfaces/libpq libpq = -L$(libpq_builddir) -lpq diff --git a/databases/postgresql73/patches/patch-aj b/databases/postgresql73/patches/patch-aj new file mode 100644 index 00000000000..49c521a953b --- /dev/null +++ b/databases/postgresql73/patches/patch-aj @@ -0,0 +1,14 @@ +$NetBSD: patch-aj,v 1.1 2004/10/10 18:26:00 jdolecek Exp $ + +--- src/pl/plpython/Makefile.orig 2004-10-10 20:14:13.000000000 +0200 ++++ src/pl/plpython/Makefile 2004-10-10 20:14:20.000000000 +0200 +@@ -8,9 +8,7 @@ + # On some platforms we can only build PL/Python if libpython is a + # shared library. Since there is no official way to determine this, + # we see if there is a file that is named like a shared library. +-ifneq (,$(wildcard $(python_configdir)/libpython*$(DLSUFFIX)*)) + shared_libpython = yes +-endif + + # If we don't have a shared library and the platform doesn't allow it + # to work without, we have to skip it. |