pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/py-psycopg DESTDIR support
details: https://anonhg.NetBSD.org/pkgsrc/rev/48fb2436c5ea
branches: trunk
changeset: 554607:48fb2436c5ea
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Feb 16 19:36:42 2009 +0000
description:
DESTDIR support
diffstat:
databases/py-psycopg/Makefile | 6 +++++-
databases/py-psycopg/distinfo | 4 ++--
databases/py-psycopg/patches/patch-aa | 17 +++++++++++++----
3 files changed, 20 insertions(+), 7 deletions(-)
diffs (68 lines):
diff -r 14369592b806 -r 48fb2436c5ea databases/py-psycopg/Makefile
--- a/databases/py-psycopg/Makefile Mon Feb 16 19:28:45 2009 +0000
+++ b/databases/py-psycopg/Makefile Mon Feb 16 19:36:42 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2009/02/09 21:09:20 joerg Exp $
+# $NetBSD: Makefile,v 1.32 2009/02/16 19:36:42 joerg Exp $
#
DISTNAME= psycopg-1.1.21
@@ -11,6 +11,8 @@
HOMEPAGE= http://initd.org/projects/psycopg1/
COMMENT= PostgreSQL database adapter for Python
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-python=${PYTHONBIN:Q}
CONFIGURE_ARGS+= \
@@ -20,6 +22,8 @@
PY_PATCHPLIST= yes
+INSTALLATION_DIRS= ${PYSITELIB}
+
.include "../../lang/python/extension.mk"
.include "../../time/py-mxDateTime/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
diff -r 14369592b806 -r 48fb2436c5ea databases/py-psycopg/distinfo
--- a/databases/py-psycopg/distinfo Mon Feb 16 19:28:45 2009 +0000
+++ b/databases/py-psycopg/distinfo Mon Feb 16 19:36:42 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/11/11 23:10:19 joerg Exp $
+$NetBSD: distinfo,v 1.7 2009/02/16 19:36:42 joerg Exp $
SHA1 (psycopg-1.1.21.tar.gz) = 02d8a8b5dd682306117896c7c63a9a1b518997b6
RMD160 (psycopg-1.1.21.tar.gz) = de74a70b16353f69de7e898059a7a1d8418ad2ee
Size (psycopg-1.1.21.tar.gz) = 213753 bytes
-SHA1 (patch-aa) = 6423305271831d3d493dc3e47b42b5641f9149a0
+SHA1 (patch-aa) = c83311b3b52c4b28d5c139b8655b7c6cff70d2fd
diff -r 14369592b806 -r 48fb2436c5ea databases/py-psycopg/patches/patch-aa
--- a/databases/py-psycopg/patches/patch-aa Mon Feb 16 19:28:45 2009 +0000
+++ b/databases/py-psycopg/patches/patch-aa Mon Feb 16 19:36:42 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2004/04/16 17:21:34 drochner Exp $
+$NetBSD: patch-aa,v 1.3 2009/02/16 19:36:42 joerg Exp $
---- Makefile.pre.in.orig 2003-08-01 12:12:38.000000000 +0200
-+++ Makefile.pre.in 2003-08-01 18:33:45.000000000 +0200
-@@ -119,7 +119,7 @@
+--- Makefile.pre.in.orig 2005-10-01 02:14:45.000000000 +0200
++++ Makefile.pre.in
+@@ -120,7 +120,7 @@ LIBC= @LIBC@
RANLIB= @RANLIB@
MACHDEP= @MACHDEP@
SO= @SO@
@@ -11,3 +11,12 @@
BLDSHARED= @LDSHARED@
CCSHARED= @CCSHARED@
LINKFORSHARED= @LINKFORSHARED@
+@@ -179,7 +179,7 @@ install-shmods: $(SHAREDMODS)
+ @if [ -n "$(SHAREDMODS)" ]; then \
+ for mod in $(SHAREDMODS); do \
+ echo " install -m 555 $$mod $(PY_MOD_DIR)"; \
+- $(INSTALL) @INSTALLOPTS@ -m 555 $$mod $(PY_MOD_DIR); \
++ $(INSTALL) @INSTALLOPTS@ -m 555 $$mod ${DESTDIR}$(PY_MOD_DIR); \
+ done; \
+ fi
+
Home |
Main Index |
Thread Index |
Old Index