summaryrefslogtreecommitdiff
path: root/databases/py-psycopg/patches/patch-aa
blob: 99f86b8dc3f3c74715196dcfc174efb35040e1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.3 2009/02/16 19:36:42 joerg Exp $

--- 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@
-LDSHARED=	@LDSHARED@
+LDSHARED=	@LDSHARED@ @LDFLAGS@
 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