diff options
author | obache <obache@pkgsrc.org> | 2011-10-16 08:18:52 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-10-16 08:18:52 +0000 |
commit | c9d19eecd1dd95417906d9f3d80f1a018c69ca1a (patch) | |
tree | 61c532e911b974000e982537ee94b6710a4efe9a | |
parent | e6c4346c89886e306e2c25b6788794c708a01748 (diff) | |
download | pkgsrc-c9d19eecd1dd95417906d9f3d80f1a018c69ca1a.tar.gz |
Add DragonFly BSD support.
PR pkg/45475 by Samuel J. Greear.
-rw-r--r-- | devel/poco/Makefile | 6 | ||||
-rw-r--r-- | devel/poco/Makefile.common | 4 | ||||
-rw-r--r-- | devel/poco/distinfo | 3 | ||||
-rw-r--r-- | devel/poco/patches/patch-Foundation_include_Poco_Platform.h | 17 |
4 files changed, 26 insertions, 4 deletions
diff --git a/devel/poco/Makefile b/devel/poco/Makefile index 91131c0b275..568e5316f42 100644 --- a/devel/poco/Makefile +++ b/devel/poco/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2011/02/06 06:08:07 schnoebe Exp $ +# $NetBSD: Makefile,v 1.3 2011/10/16 08:18:52 obache Exp $ # PKGNAME= poco-${POCO_VERSION} @@ -18,6 +18,10 @@ CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.pcre}/include CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.zlib}/include CONFIGURE_ARGS+= --include-path=${BUILDLINK_PREFIX.openssl}/include +# remove pach backup files. +pre-install: + ${RM} -f ${WRKSRC}/Foundation/include/Poco/Platform.h.orig + .include "../../devel/pcre/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" diff --git a/devel/poco/Makefile.common b/devel/poco/Makefile.common index 42a03569936..ff039bbf721 100644 --- a/devel/poco/Makefile.common +++ b/devel/poco/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.3 2011/02/06 18:54:50 schnoebe Exp $ +# $NetBSD: Makefile.common,v 1.4 2011/10/16 08:18:52 obache Exp $ # # used by devel/poco/Makefile # used by databases/poco-data/Makefile @@ -30,7 +30,7 @@ CONFIGURE_ARGS+= --unbundled .include "../../mk/bsd.prefs.mk" -.if !empty(OPSYS:M*BSD) +.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" CONFIGURE_ARGS+= --config=FreeBSD .endif diff --git a/devel/poco/distinfo b/devel/poco/distinfo index c484e8152b2..993a07cc2da 100644 --- a/devel/poco/distinfo +++ b/devel/poco/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.2 2011/02/06 07:14:21 schnoebe Exp $ +$NetBSD: distinfo,v 1.3 2011/10/16 08:18:52 obache Exp $ SHA1 (poco-1.4.0-all.tar.gz) = 6e7dbf895d76227047974ba7b3390d5452a0a7c7 RMD160 (poco-1.4.0-all.tar.gz) = ee3ddbe0311b7aaca61046e964ef6550e52634d5 Size (poco-1.4.0-all.tar.gz) = 3858463 bytes +SHA1 (patch-Foundation_include_Poco_Platform.h) = a7d81c20902af7e23ce8a10eb90fc1a98d7cc412 SHA1 (patch-aa) = be1c72c9c63b65e8d4211abab9dd036255ed6233 SHA1 (patch-ab) = 0709ba35fe938f7efc94650dde4afd84c427de0f SHA1 (patch-ac) = e3ee4b43e458f1ab1227aa029a00fcebf5f53541 diff --git a/devel/poco/patches/patch-Foundation_include_Poco_Platform.h b/devel/poco/patches/patch-Foundation_include_Poco_Platform.h new file mode 100644 index 00000000000..5f80948042c --- /dev/null +++ b/devel/poco/patches/patch-Foundation_include_Poco_Platform.h @@ -0,0 +1,17 @@ +$NetBSD: patch-Foundation_include_Poco_Platform.h,v 1.1 2011/10/16 08:18:53 obache Exp $ + +* DragonFly BSD support + +--- Foundation/include/Poco/Platform.h.orig 2010-12-16 05:43:25 +0000 ++++ Foundation/include/Poco/Platform.h +@@ -93,6 +93,10 @@ + #define POCO_OS_FAMILY_UNIX 1 + #define POCO_OS_FAMILY_BSD 1 + #define POCO_OS POCO_OS_OPEN_BSD ++#elif defined(__DragonFly__) ++ #define POCO_OS_FAMILY_UNIX 1 ++ #define POCO_OS_FAMILY_BSD 1 ++ #define POCO_OS POCO_OS_FREE_BSD + #elif defined(sgi) || defined(__sgi) + #define POCO_OS_FAMILY_UNIX 1 + #define POCO_OS POCO_OS_IRIX |