Modify include paths order to prevent postgis from using system wide
devel/uthash headers if they are installed. OK landry@
This commit is contained in:
parent
1e3f235e4a
commit
b12beb061b
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.57 2019/10/31 19:49:15 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.58 2019/11/09 15:19:50 fcambus Exp $
|
||||
|
||||
V = 3.0.0
|
||||
COMMENT= geographic objects support for PostgreSQL
|
||||
DISTNAME= postgis-${V}
|
||||
REVISION= 0
|
||||
CATEGORIES= geo databases
|
||||
|
||||
SHARED_LIBS += lwgeom 0.0 lwgeom-3.0 0.0 # 4.0
|
||||
|
17
geo/postgis/patches/patch-postgis_Makefile_in
Normal file
17
geo/postgis/patches/patch-postgis_Makefile_in
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-postgis_Makefile_in,v 1.1 2019/11/09 15:19:50 fcambus Exp $
|
||||
|
||||
Modify include paths order to prevent postgis from using system wide
|
||||
devel/uthash headers if they are installed.
|
||||
|
||||
Index: postgis/Makefile.in
|
||||
--- postgis/Makefile.in.orig
|
||||
+++ postgis/Makefile.in
|
||||
@@ -142,7 +142,7 @@ OBJS=$(PG_OBJS)
|
||||
# to an existing liblwgeom.so in the PostgreSQL $libdir supplied by an
|
||||
# older version of PostGIS, rather than with the static liblwgeom.a
|
||||
# supplied with newer versions of PostGIS
|
||||
-PG_CPPFLAGS += -I../liblwgeom @CFLAGS@ -I../libpgcommon $(WAYGU_INCLUDE) $(UTHASH_INCLUDE) @CPPFLAGS@ @PICFLAGS@
|
||||
+PG_CPPFLAGS += -I../liblwgeom $(UTHASH_INCLUDE) @CFLAGS@ -I../libpgcommon $(WAYGU_INCLUDE) @CPPFLAGS@ @PICFLAGS@
|
||||
SHLIB_LINK_F = $(WAYGU_LIB) ../libpgcommon/libpgcommon.a ../liblwgeom/.libs/liblwgeom.a @SHLIB_LINK@
|
||||
|
||||
# Add SFCGAL Flags if defined
|
Loading…
x
Reference in New Issue
Block a user