Annotation of pkgsrc/databases/postgresql96-contrib/Makefile, Revision 1.3
1.3 ! adam 1: # $NetBSD: Makefile,v 1.2 2016/11/23 15:22:48 fhajny Exp $
1.1 adam 2:
3: PKGNAME= ${DISTNAME:C/-/96-contrib-/}
4: COMMENT= Contrib subtree of tools and plug-ins
5:
6: .include "../../databases/postgresql96/Makefile.common"
7:
8: DEPENDS+= postgresql96-server>=${PKGVERSION_NOREV}:../../databases/postgresql96-server
9:
10: BUILD_MAKE_FLAGS= USE_PGXS=1
11:
12: BUILD_DIRS+= contrib/adminpack
13: BUILD_DIRS+= contrib/auth_delay
14: BUILD_DIRS+= contrib/auto_explain
15: BUILD_DIRS+= contrib/btree_gin
16: BUILD_DIRS+= contrib/btree_gist
17: BUILD_DIRS+= contrib/chkpass
18: BUILD_DIRS+= contrib/citext
19: BUILD_DIRS+= contrib/cube
20: BUILD_DIRS+= contrib/dblink
21: BUILD_DIRS+= contrib/dict_int
22: BUILD_DIRS+= contrib/dict_xsyn
23: BUILD_DIRS+= contrib/earthdistance
24: BUILD_DIRS+= contrib/file_fdw
25: BUILD_DIRS+= contrib/fuzzystrmatch
26: BUILD_DIRS+= contrib/hstore
27: BUILD_DIRS+= contrib/intagg
28: BUILD_DIRS+= contrib/intarray
29: BUILD_DIRS+= contrib/isn
30: BUILD_DIRS+= contrib/lo
31: BUILD_DIRS+= contrib/ltree
32: BUILD_DIRS+= contrib/oid2name
33: BUILD_DIRS+= contrib/pageinspect
34: BUILD_DIRS+= contrib/passwordcheck
35: BUILD_DIRS+= contrib/pg_buffercache
36: BUILD_DIRS+= contrib/pg_freespacemap
37: BUILD_DIRS+= contrib/pg_prewarm
38: BUILD_DIRS+= contrib/pg_standby
39: BUILD_DIRS+= contrib/pg_stat_statements
40: BUILD_DIRS+= contrib/pg_trgm
41: BUILD_DIRS+= contrib/pgcrypto
42: BUILD_DIRS+= contrib/pgrowlocks
43: BUILD_DIRS+= contrib/pgstattuple
44: BUILD_DIRS+= contrib/postgres_fdw
45: BUILD_DIRS+= contrib/seg
46: BUILD_DIRS+= contrib/spi
47: BUILD_DIRS+= contrib/sslinfo
48: BUILD_DIRS+= contrib/tablefunc
49: BUILD_DIRS+= contrib/tcn
50: BUILD_DIRS+= contrib/test_decoding
51: BUILD_DIRS+= contrib/tsearch2
52: BUILD_DIRS+= contrib/tsm_system_rows
53: BUILD_DIRS+= contrib/tsm_system_time
54: BUILD_DIRS+= contrib/unaccent
55: BUILD_DIRS+= contrib/vacuumlo
56:
57: CONFIGURE_ARGS+= --with-openssl
58:
59: PLIST_VARS+= uuid
1.2 fhajny 60: .if ${OPSYS:M*BSD} || ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
1.1 adam 61: PLIST.uuid= yes
1.2 fhajny 62: BUILD_DIRS+= contrib/uuid-ossp
63: . if ${OPSYS:M*BSD}
64: BUILD_MAKE_FLAGS+= PG_CPPFLAGS="-DHAVE_UUID_H -DHAVE_UUID_BSD -DSHA1_RESULTLEN=20"
65: CONFIGURE_ARGS+= --with-uuid=bsd
66: . elif ${OPSYS} == "Linux"
67: BUILD_MAKE_FLAGS+= PG_CPPFLAGS="-DHAVE_UUID_UUID_H -DHAVE_UUID_E2FS"
68: CONFIGURE_ARGS+= --with-uuid=e2fs
69: . elif ${OPSYS} == "SunOS"
70: BUILD_MAKE_FLAGS+= PG_CPPFLAGS="-DHAVE_UUID_H -DHAVE_UUID_OSSP"
1.1 adam 71: CONFIGURE_ARGS+= --with-uuid=ossp
1.2 fhajny 72: BUILD_MAKE_FLAGS+= UUID_LIBS=-lossp-uuid
73: . include "../../devel/ossp-uuid/buildlink3.mk"
74: . endif
1.1 adam 75: .endif
76:
77: PRINT_PLIST_AWK+= {if ($$0 ~ /uuid-ossp/) {$$0 = "$${PLIST.uuid}" $$0;}}
78:
79: .include "../../databases/postgresql96-client/buildlink3.mk"
80: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>