diff options
author | hans <hans@pkgsrc.org> | 2011-10-12 19:43:26 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-10-12 19:43:26 +0000 |
commit | d230fd95ade5faed8715dbfd806180bf3ed1fa3e (patch) | |
tree | e1a66ea756663ee23f80be252722bc8afacee0b2 /databases/postgresql90 | |
parent | c0afd7d84505595dc49ade027ee78c61234e3e18 (diff) | |
download | pkgsrc-d230fd95ade5faed8715dbfd806180bf3ed1fa3e.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'databases/postgresql90')
-rw-r--r-- | databases/postgresql90/Makefile.common | 3 | ||||
-rw-r--r-- | databases/postgresql90/distinfo | 4 | ||||
-rw-r--r-- | databases/postgresql90/patches/patch-src_makefiles_Makefile.solaris | 10 | ||||
-rw-r--r-- | databases/postgresql90/patches/patch-src_pl_plperl_plperl.h | 26 |
4 files changed, 41 insertions, 2 deletions
diff --git a/databases/postgresql90/Makefile.common b/databases/postgresql90/Makefile.common index 915e2393380..b878980c6b3 100644 --- a/databases/postgresql90/Makefile.common +++ b/databases/postgresql90/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.12 2011/09/27 11:04:42 adam Exp $ +# $NetBSD: Makefile.common,v 1.13 2011/10/12 19:45:25 hans Exp $ # # used by databases/postgresql90-adminpack/Makefile # used by databases/postgresql90-client/Makefile @@ -105,6 +105,7 @@ USE_LIBLTDL?= yes USE_LIBLTDL?= no .include "../../devel/gettext-lib/buildlink3.mk" +LIBS.SunOS+= -lintl .if !defined(META_PACKAGE) post-extract: diff --git a/databases/postgresql90/distinfo b/databases/postgresql90/distinfo index 1ae84b8c616..dd5827efcee 100644 --- a/databases/postgresql90/distinfo +++ b/databases/postgresql90/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2011/09/27 11:04:42 adam Exp $ +$NetBSD: distinfo,v 1.8 2011/10/12 19:45:25 hans Exp $ SHA1 (postgresql-9.0.5.tar.bz2) = 1c71be5b1a7d519eff33bb60768776f47b44acf3 RMD160 (postgresql-9.0.5.tar.bz2) = c5f4f37808f7e24d91a6c95d41fc89330624e26f @@ -13,3 +13,5 @@ SHA1 (patch-ah) = 25102dce1b9b22385353af23500636fb18e3bf64 SHA1 (patch-ai) = 0d6f536f7593e362ec216eafa73c718ad6bed8fc SHA1 (patch-ao) = 4d7c40d107d4c13c63ef2908d9a02be319863657 SHA1 (patch-src_Makefile.shlib) = b5f66154482df3d14af5ecbb524eeff6c246d049 +SHA1 (patch-src_makefiles_Makefile.solaris) = 0168f5bc105ffc89d5db40907a08966d8465f5a0 +SHA1 (patch-src_pl_plperl_plperl.h) = 8e2d954642cb68dc6c6fd08debd058d053566826 diff --git a/databases/postgresql90/patches/patch-src_makefiles_Makefile.solaris b/databases/postgresql90/patches/patch-src_makefiles_Makefile.solaris new file mode 100644 index 00000000000..c09714685f6 --- /dev/null +++ b/databases/postgresql90/patches/patch-src_makefiles_Makefile.solaris @@ -0,0 +1,10 @@ +$NetBSD: patch-src_makefiles_Makefile.solaris,v 1.1 2011/10/12 19:45:25 hans Exp $ + +--- src/makefiles/Makefile.solaris.orig 2011-09-23 00:00:48.000000000 +0200 ++++ src/makefiles/Makefile.solaris 2011-10-11 11:53:51.948565783 +0200 +@@ -23,5 +23,3 @@ ifeq ($(GCC), yes) + else + $(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_SL) -G -o $@ $< + endif +- +-sqlmansect = 5sql diff --git a/databases/postgresql90/patches/patch-src_pl_plperl_plperl.h b/databases/postgresql90/patches/patch-src_pl_plperl_plperl.h new file mode 100644 index 00000000000..df9b26efcb0 --- /dev/null +++ b/databases/postgresql90/patches/patch-src_pl_plperl_plperl.h @@ -0,0 +1,26 @@ +$NetBSD: patch-src_pl_plperl_plperl.h,v 1.1 2011/10/12 19:45:25 hans Exp $ + +--- ./src/pl/plperl/plperl.h.orig 2011-09-23 00:00:48.000000000 +0200 ++++ ./src/pl/plperl/plperl.h 2011-10-12 20:27:46.998594412 +0200 +@@ -26,11 +26,21 @@ + #endif + #endif + ++#ifdef __sun ++#define list_head sun_list_head ++#define list_tail sun_list_tail ++#endif ++ + /* required for perl API */ + #include "EXTERN.h" + #include "perl.h" + #include "XSUB.h" + ++#ifdef __sun ++#undef list_head ++#undef list_tail ++#endif ++ + /* perl version and platform portability */ + #define NEED_eval_pv + #define NEED_newRV_noinc |