| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.3 2010/11/05 14:56:49 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2010/11/15 16:55:27 joerg Exp $ |
2 | | | 2 | |
3 | PKGNAME= postgresql90-server-${BASE_VERS} | | 3 | PKGNAME= postgresql90-server-${BASE_VERS} |
4 | PKGREVISION= 1 | | 4 | PKGREVISION= 1 |
5 | COMMENT= PostgreSQL database server programs | | 5 | COMMENT= PostgreSQL database server programs |
6 | | | 6 | |
7 | PKG_DESTDIR_SUPPORT= user-destdir | | 7 | PKG_DESTDIR_SUPPORT= user-destdir |
8 | | | 8 | |
9 | # mips has no TAS implementation | | 9 | # mips has no TAS implementation |
10 | NOT_FOR_PLATFORM= *-*-mips | | 10 | NOT_FOR_PLATFORM= *-*-mips |
11 | | | 11 | |
12 | .include "../../databases/postgresql90/Makefile.common" | | 12 | .include "../../databases/postgresql90/Makefile.common" |
13 | | | 13 | |
14 | # Use shlibtool (invoked as "$(LIBTOOL)") to build modules. | | 14 | # Use shlibtool (invoked as "$(LIBTOOL)") to build modules. |
| @@ -47,26 +47,28 @@ DL_LIBS+= -lltdl | | | @@ -47,26 +47,28 @@ DL_LIBS+= -lltdl |
47 | | | 47 | |
48 | # PGUSER username of the database administrator | | 48 | # PGUSER username of the database administrator |
49 | # PGGROUP group of the database administrator | | 49 | # PGGROUP group of the database administrator |
50 | # PGHOME home directory of the database administrator and location of | | 50 | # PGHOME home directory of the database administrator and location of |
51 | # the databases | | 51 | # the databases |
52 | PGUSER?= pgsql | | 52 | PGUSER?= pgsql |
53 | PGGROUP?= pgsql | | 53 | PGGROUP?= pgsql |
54 | PGHOME?= ${PREFIX}/${PGUSER} | | 54 | PGHOME?= ${PREFIX}/${PGUSER} |
55 | FILES_SUBST+= PGUSER=${PGUSER} | | 55 | FILES_SUBST+= PGUSER=${PGUSER} |
56 | FILES_SUBST+= PGGROUP=${PGGROUP} | | 56 | FILES_SUBST+= PGGROUP=${PGGROUP} |
57 | FILES_SUBST+= PGHOME=${PGHOME} | | 57 | FILES_SUBST+= PGHOME=${PGHOME} |
58 | BUILD_DEFS+= PGHOME | | 58 | BUILD_DEFS+= PGHOME |
59 | | | 59 | |
| | | 60 | ALL_ENV+= INSTALLED_LIBPQ=yes |
| | | 61 | |
60 | PKG_GROUPS_VARS+= PGGROUP | | 62 | PKG_GROUPS_VARS+= PGGROUP |
61 | PKG_USERS_VARS+= PGUSER | | 63 | PKG_USERS_VARS+= PGUSER |
62 | | | 64 | |
63 | PKG_GROUPS= ${PGGROUP} | | 65 | PKG_GROUPS= ${PGGROUP} |
64 | PKG_USERS= ${PGUSER}:${PGGROUP} | | 66 | PKG_USERS= ${PGUSER}:${PGGROUP} |
65 | PKG_GECOS.${PGUSER}= PostgreSQL database administrator | | 67 | PKG_GECOS.${PGUSER}= PostgreSQL database administrator |
66 | PKG_HOME.${PGUSER}= ${PGHOME} | | 68 | PKG_HOME.${PGUSER}= ${PGHOME} |
67 | PKG_SHELL.${PGUSER}= ${SH} | | 69 | PKG_SHELL.${PGUSER}= ${SH} |
68 | | | 70 | |
69 | RCD_SCRIPTS= pgsql | | 71 | RCD_SCRIPTS= pgsql |
70 | | | 72 | |
71 | .include "../../databases/postgresql90-client/buildlink3.mk" | | 73 | .include "../../databases/postgresql90-client/buildlink3.mk" |
72 | .include "../../security/openssl/buildlink3.mk" | | 74 | .include "../../security/openssl/buildlink3.mk" |