| @@ -1,34 +1,37 @@ | | | @@ -1,34 +1,37 @@ |
1 | # $NetBSD: Makefile,v 1.8 2015/07/07 15:49:48 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.9 2015/07/07 17:26:10 gdt Exp $ |
2 | | | 2 | |
3 | DISTNAME= postgis-2.1.8 | | 3 | DISTNAME= postgis-2.1.8 |
4 | PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} | | 4 | PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} |
5 | CATEGORIES= databases geography | | 5 | CATEGORIES= databases geography |
6 | MASTER_SITES= http://download.osgeo.org/postgis/source/ | | 6 | MASTER_SITES= http://download.osgeo.org/postgis/source/ |
7 | | | 7 | |
8 | MAINTAINER= gdt@NetBSD.org | | 8 | MAINTAINER= gdt@NetBSD.org |
9 | HOMEPAGE= http://postgis.net/ | | 9 | HOMEPAGE= http://postgis.net/ |
10 | COMMENT= Spatial database capabilities for PostgreSQL | | 10 | COMMENT= Spatial database capabilities for PostgreSQL |
11 | | | 11 | |
12 | LICENSE= gnu-gpl-v2 | | 12 | LICENSE= gnu-gpl-v2 |
13 | | | 13 | |
14 | DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server | | 14 | DEPENDS+= postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server |
15 | | | 15 | |
16 | CONFLICTS= postgis-[0-9]* | | 16 | CONFLICTS= postgis-[0-9]* |
17 | | | 17 | |
18 | # TODO section | | 18 | # TODO section |
19 | # 1. File ticket upstream about make->$(MAKE) in doc/html/image_src/Makefile. | | 19 | # 1. File ticket upstream about make->$(MAKE) in doc/html/image_src/Makefile. |
20 | # 2. Update to upstream with fixes for: | | 20 | # 2. Update to upstream with fixes for: |
21 | # http://trac.osgeo.org/postgis/ticket/2909 | | 21 | # http://trac.osgeo.org/postgis/ticket/2909 |
| | | 22 | # 3. Fix installation use of "install -o root" from pgxs.mk, when postgresql |
| | | 23 | # was built as root and postgis is built/installed as a non-root user. |
| | | 24 | # https://lists.osgeo.org/pipermail/postgis-devel/2015-July/025045.html |
22 | | | 25 | |
23 | # gmake complains about adding + to parent rule | | 26 | # gmake complains about adding + to parent rule |
24 | MAKE_JOBS_SAFE= no | | 27 | MAKE_JOBS_SAFE= no |
25 | | | 28 | |
26 | PGSQL_VERSIONS_ACCEPTED= 90 91 92 93 94 | | 29 | PGSQL_VERSIONS_ACCEPTED= 90 91 92 93 94 |
27 | | | 30 | |
28 | USE_GCC_RUNTIME= yes | | 31 | USE_GCC_RUNTIME= yes |
29 | USE_LANGUAGES= c c++ c99 | | 32 | USE_LANGUAGES= c c++ c99 |
30 | USE_LIBTOOL= yes | | 33 | USE_LIBTOOL= yes |
31 | USE_TOOLS+= gmake lex pax perl | | 34 | USE_TOOLS+= gmake lex pax perl |
32 | GNU_CONFIGURE= yes | | 35 | GNU_CONFIGURE= yes |
33 | CONFIGURE_ARGS+= --enable-rpath | | 36 | CONFIGURE_ARGS+= --enable-rpath |
34 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share/postgresql/contrib | | 37 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share/postgresql/contrib |