blob: a4a04e42413312935b0dd6dfe1d1ebc812cdcd82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-ad,v 1.1 2010/03/05 14:55:21 gdt Exp $
There is confusion in the pkgsrc-provided Makefile.shlib about what's
a shared library vs a module. This patch is wrong, but fits with the
existing problems to create a consistent build. All that really
matters is that the postgis module be dlopenable and everything think
it is in the same place.
--- postgis/Makefile.pgxs.orig 2010-01-12 10:33:49.000000000 +0000
+++ postgis/Makefile.pgxs
@@ -55,7 +55,7 @@ ifdef SCRIPTS_built
done
endif # SCRIPTS_built
ifdef MODULE_big
- $(INSTALL_SHLIB) $(shlib) '$(DESTDIR)$(pkglibdir)/$(MODULE_big)$(DLSUFFIX)'
+ $(INSTALL_SHLIB) $(shlib) '$(DESTDIR)$(libdir)/lib$(MODULE_big)$(DLSUFFIX)'
endif # MODULE_big
installdirs:
|