postgresql95-contrib: Drop uuid-ossp dependency on BSD. (Use --with-uuid=bsd as per documentation section F.43.2) Also probably fix the UUID extension on Solaris and Linux, but untested.diff -r1.5 -r1.6 pkgsrc/databases/postgresql95/distinfo
(tnn)
@@ -1,20 +1,19 @@ | @@ -1,20 +1,19 @@ | |||
1 | $NetBSD: distinfo,v 1.5 2016/10/29 19:41:54 adam Exp $ | 1 | $NetBSD: distinfo,v 1.6 2016/11/21 01:42:54 tnn Exp $ | |
2 | 2 | |||
3 | SHA1 (postgresql-9.5.5.tar.bz2) = daf67622692f066d78150a2c4ffae1ec6568ced8 | 3 | SHA1 (postgresql-9.5.5.tar.bz2) = daf67622692f066d78150a2c4ffae1ec6568ced8 | |
4 | RMD160 (postgresql-9.5.5.tar.bz2) = 87a90023bdae604f1356e9f0e5a9b7f4c333c847 | 4 | RMD160 (postgresql-9.5.5.tar.bz2) = 87a90023bdae604f1356e9f0e5a9b7f4c333c847 | |
5 | SHA512 (postgresql-9.5.5.tar.bz2) = 727ab57796cd393ec3755e9aabf515ebbdc3152b4062c20e64511e866a7e7038ba5c5e2843f13f3a79e2263296451f0e93108346b6f638611fba2449394e338e | 5 | SHA512 (postgresql-9.5.5.tar.bz2) = 727ab57796cd393ec3755e9aabf515ebbdc3152b4062c20e64511e866a7e7038ba5c5e2843f13f3a79e2263296451f0e93108346b6f638611fba2449394e338e | |
6 | Size (postgresql-9.5.5.tar.bz2) = 18525082 bytes | 6 | Size (postgresql-9.5.5.tar.bz2) = 18525082 bytes | |
7 | SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813 | 7 | SHA1 (patch-config_missing) = c2d7d742922ba6861e7660c75b7b53f09e564813 | |
8 | SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5 | 8 | SHA1 (patch-config_perl.m4) = e035132b1c281a75752d570ac5e29a11176c25c5 | |
9 | SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632 | 9 | SHA1 (patch-configure) = 59fe9a768caf8a5d308acac60c28bc6bb2c40632 | |
10 | SHA1 (patch-contrib_dblink_dblink.c) = a6f87ab9f2c28a72608d70267b71bd77437b0921 | 10 | SHA1 (patch-contrib_dblink_dblink.c) = a6f87ab9f2c28a72608d70267b71bd77437b0921 | |
11 | SHA1 (patch-contrib_uuid-ossp_uuid-ossp.c) = efaffec2f51de70823430ca162d499b2886a9190 | |||
12 | SHA1 (patch-src_Makefile.global.in) = 2ab3affedc77b202f6749964287438d6179ca23a | 11 | SHA1 (patch-src_Makefile.global.in) = 2ab3affedc77b202f6749964287438d6179ca23a | |
13 | SHA1 (patch-src_Makefile.shlib) = 46b3a8591678f92892d3837cd31fa44e8a7e21b3 | 12 | SHA1 (patch-src_Makefile.shlib) = 46b3a8591678f92892d3837cd31fa44e8a7e21b3 | |
14 | SHA1 (patch-src_backend_Makefile) = b70b38ea23af6cdde9d2349f2441a429078cfaca | 13 | SHA1 (patch-src_backend_Makefile) = b70b38ea23af6cdde9d2349f2441a429078cfaca | |
15 | SHA1 (patch-src_backend_utils_adt_datetime.c) = d1ea70986634d3bfb663eff789425252656e1289 | 14 | SHA1 (patch-src_backend_utils_adt_datetime.c) = d1ea70986634d3bfb663eff789425252656e1289 | |
16 | SHA1 (patch-src_interfaces_ecpg_pgtypeslib_interval.c) = a15012ae34d4ecd1eb2bc29e4d2c40098ea236fd | 15 | SHA1 (patch-src_interfaces_ecpg_pgtypeslib_interval.c) = a15012ae34d4ecd1eb2bc29e4d2c40098ea236fd | |
17 | SHA1 (patch-src_interfaces_libpq_Makefile) = 61bcf84eb69b6ec9faabab0b61913766f4b20f8c | 16 | SHA1 (patch-src_interfaces_libpq_Makefile) = 61bcf84eb69b6ec9faabab0b61913766f4b20f8c | |
18 | SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0 | 17 | SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0 | |
19 | SHA1 (patch-src_pl_plperl_GNUmakefile) = 6ee3e431f46ce5c2a94df499504b2b8bd458bbef | 18 | SHA1 (patch-src_pl_plperl_GNUmakefile) = 6ee3e431f46ce5c2a94df499504b2b8bd458bbef | |
20 | SHA1 (patch-src_pl_plperl_plperl.h) = bd663fa80a47f7b82ce689060750fa6e631fbc61 | 19 | SHA1 (patch-src_pl_plperl_plperl.h) = bd663fa80a47f7b82ce689060750fa6e631fbc61 |
@@ -1,16 +1,17 @@ | @@ -1,16 +1,17 @@ | |||
1 | # $NetBSD: Makefile,v 1.1 2016/06/19 20:48:29 fhajny Exp $ | 1 | # $NetBSD: Makefile,v 1.2 2016/11/21 01:42:54 tnn Exp $ | |
2 | 2 | |||
3 | PKGNAME= ${DISTNAME:C/-/95-contrib-/} | 3 | PKGNAME= ${DISTNAME:C/-/95-contrib-/} | |
4 | PKGREVISION= 1 | |||
4 | COMMENT= Contrib subtree of tools and plug-ins | 5 | COMMENT= Contrib subtree of tools and plug-ins | |
5 | 6 | |||
6 | .include "../../databases/postgresql95/Makefile.common" | 7 | .include "../../databases/postgresql95/Makefile.common" | |
7 | 8 | |||
8 | DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server | 9 | DEPENDS+= postgresql95-server>=${PKGVERSION_NOREV}:../../databases/postgresql95-server | |
9 | 10 | |||
10 | BUILD_MAKE_FLAGS= USE_PGXS=1 | 11 | BUILD_MAKE_FLAGS= USE_PGXS=1 | |
11 | 12 | |||
12 | BUILD_DIRS+= contrib/adminpack | 13 | BUILD_DIRS+= contrib/adminpack | |
13 | BUILD_DIRS+= contrib/auth_delay | 14 | BUILD_DIRS+= contrib/auth_delay | |
14 | BUILD_DIRS+= contrib/auto_explain | 15 | BUILD_DIRS+= contrib/auto_explain | |
15 | BUILD_DIRS+= contrib/btree_gin | 16 | BUILD_DIRS+= contrib/btree_gin | |
16 | BUILD_DIRS+= contrib/btree_gist | 17 | BUILD_DIRS+= contrib/btree_gist | |
@@ -47,26 +48,34 @@ BUILD_DIRS+= contrib/spi | @@ -47,26 +48,34 @@ BUILD_DIRS+= contrib/spi | |||
47 | BUILD_DIRS+= contrib/sslinfo | 48 | BUILD_DIRS+= contrib/sslinfo | |
48 | BUILD_DIRS+= contrib/tablefunc | 49 | BUILD_DIRS+= contrib/tablefunc | |
49 | BUILD_DIRS+= contrib/tcn | 50 | BUILD_DIRS+= contrib/tcn | |
50 | BUILD_DIRS+= contrib/test_decoding | 51 | BUILD_DIRS+= contrib/test_decoding | |
51 | BUILD_DIRS+= contrib/tsearch2 | 52 | BUILD_DIRS+= contrib/tsearch2 | |
52 | BUILD_DIRS+= contrib/tsm_system_rows | 53 | BUILD_DIRS+= contrib/tsm_system_rows | |
53 | BUILD_DIRS+= contrib/tsm_system_time | 54 | BUILD_DIRS+= contrib/tsm_system_time | |
54 | BUILD_DIRS+= contrib/unaccent | 55 | BUILD_DIRS+= contrib/unaccent | |
55 | BUILD_DIRS+= contrib/vacuumlo | 56 | BUILD_DIRS+= contrib/vacuumlo | |
56 | 57 | |||
57 | CONFIGURE_ARGS+= --with-openssl | 58 | CONFIGURE_ARGS+= --with-openssl | |
58 | 59 | |||
59 | PLIST_VARS+= uuid | 60 | PLIST_VARS+= uuid | |
60 | .if ${OPSYS} != "Darwin" | 61 | .if ${OPSYS:M*BSD} || ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" | |
61 | PLIST.uuid= yes | 62 | PLIST.uuid= yes | |
62 | CONFIGURE_ARGS+= --with-uuid=ossp | |||
63 | BUILD_DIRS+= contrib/uuid-ossp | 63 | BUILD_DIRS+= contrib/uuid-ossp | |
64 | # because global pg_config.h is included, we have to define this | 64 | . if ${OPSYS:M*BSD} | |
65 | BUILD_MAKE_FLAGS+= PG_CPPFLAGS=-DHAVE_UUID_H | 65 | BUILD_MAKE_FLAGS+= PG_CPPFLAGS="-DHAVE_UUID_H -DHAVE_UUID_BSD -DSHA1_RESULTLEN=20" | |
66 | .include "../../devel/ossp-uuid/buildlink3.mk" | 66 | CONFIGURE_ARGS+= --with-uuid=bsd | |
67 | . elif ${OPSYS} == "Linux" | |||
68 | BUILD_MAKE_FLAGS+= PG_CPPFLAGS="-DHAVE_UUID_UUID_H -DHAVE_UUID_E2FS" | |||
69 | CONFIGURE_ARGS+= --with-uuid=e2fs | |||
70 | . elif ${OPSYS} == "SunOS" | |||
71 | BUILD_MAKE_FLAGS+= PG_CPPFLAGS="-DHAVE_UUID_H -DHAVE_UUID_OSSP" | |||
72 | CONFIGURE_ARGS+= --with-uuid=ossp | |||
73 | BUILD_MAKE_FLAGS+= UUID_LIBS=-lossp-uuid | |||
74 | . include "../../devel/ossp-uuid/buildlink3.mk" | |||
75 | . endif | |||
67 | .endif | 76 | .endif | |
68 | 77 | |||
69 | PRINT_PLIST_AWK+= {if ($$0 ~ /uuid-ossp/) {$$0 = "$${PLIST.uuid}" $$0;}} | 78 | PRINT_PLIST_AWK+= {if ($$0 ~ /uuid-ossp/) {$$0 = "$${PLIST.uuid}" $$0;}} | |
70 | 79 | |||
71 | .include "../../databases/postgresql95-client/buildlink3.mk" | 80 | .include "../../databases/postgresql95-client/buildlink3.mk" | |
72 | .include "../../mk/bsd.pkg.mk" | 81 | .include "../../mk/bsd.pkg.mk" |