diff options
author | jdolecek <jdolecek@pkgsrc.org> | 2004-10-10 12:33:35 +0000 |
---|---|---|
committer | jdolecek <jdolecek@pkgsrc.org> | 2004-10-10 12:33:35 +0000 |
commit | 205c322bd205b3e64bcfd5a6f3cb09efd2461b3c (patch) | |
tree | d1f77bc7b7975dfc7893e035425891f31b8444ef | |
parent | 019e594a1eff25996b0ad4ee47959e06c704d09a (diff) | |
download | pkgsrc-205c322bd205b3e64bcfd5a6f3cb09efd2461b3c.tar.gz |
Add patches necessary to build PL/Python, based on information provided
in PR pkg/23349 by Michal Pasternak.
-rw-r--r-- | databases/postgresql74/distinfo | 4 | ||||
-rw-r--r-- | databases/postgresql74/patches/patch-ad | 13 | ||||
-rw-r--r-- | databases/postgresql74/patches/patch-ae | 14 |
3 files changed, 30 insertions, 1 deletions
diff --git a/databases/postgresql74/distinfo b/databases/postgresql74/distinfo index 7a5d3002e57..fb659d2a211 100644 --- a/databases/postgresql74/distinfo +++ b/databases/postgresql74/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.7 2004/10/10 07:30:22 jdolecek Exp $ +$NetBSD: distinfo,v 1.8 2004/10/10 12:33:35 jdolecek Exp $ SHA1 (postgresql-7.4.5.tar.bz2) = 42582179398106fb9cfd5fac44f9fc7c614b07ef Size (postgresql-7.4.5.tar.bz2) = 10180504 bytes SHA1 (patch-aa) = e9b99b04c02b3f04d21144a22489618948c378a8 SHA1 (patch-ab) = f44a544c56452bad197a88cb827e88624c54656c SHA1 (patch-ac) = 39ce96f3ea9fc1167c8d21168fd1536077898d58 +SHA1 (patch-ad) = d0701dd5c629433606c364f2179ae111604008c6 +SHA1 (patch-ae) = f0e0ad98ebdc972e7c40afd805fbb0d909d5ef3b diff --git a/databases/postgresql74/patches/patch-ad b/databases/postgresql74/patches/patch-ad new file mode 100644 index 00000000000..4bc8d259062 --- /dev/null +++ b/databases/postgresql74/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2004/10/10 12:33:35 jdolecek Exp $ + +--- src/Makefile.global.in.orig 2004-10-10 11:49:29.000000000 +0200 ++++ src/Makefile.global.in 2004-10-10 11:50:05.000000000 +0200 +@@ -133,7 +133,7 @@ + enable_thread_safety = @enable_thread_safety@ + + python_includespec = @python_includespec@ +-python_libspec = @python_libspec@ ++python_libspec = -Wl,-R${PREFIX}/lib -L${PREFIX} @python_libspec@ + python_configdir = @python_configdir@ + + krb_srvtab = @krb_srvtab@ diff --git a/databases/postgresql74/patches/patch-ae b/databases/postgresql74/patches/patch-ae new file mode 100644 index 00000000000..c5a92e34f96 --- /dev/null +++ b/databases/postgresql74/patches/patch-ae @@ -0,0 +1,14 @@ +$NetBSD: patch-ae,v 1.1 2004/10/10 12:33:35 jdolecek Exp $ + +--- src/pl/plpython/Makefile.orig 2004-10-10 12:07:44.000000000 +0200 ++++ src/pl/plpython/Makefile 2004-10-10 13:07:03.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. |