summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorhira <hira@pkgsrc.org>2008-10-31 09:40:58 +0000
committerhira <hira@pkgsrc.org>2008-10-31 09:40:58 +0000
commit491308139b036d77d04ce04656e79c0ee2e2a0b9 (patch)
treeac947d799ea8ddcdb06d06b8cb93c68a28c214e6 /misc
parent040a300f136edb704c37533fd60b793c9254c87c (diff)
downloadpkgsrc-491308139b036d77d04ce04656e79c0ee2e2a0b9.tar.gz
- Fix build with USE_BUILTIN.openssl=no.
- Fix configure with builtin openssl on FreeBSD.
Diffstat (limited to 'misc')
-rw-r--r--misc/openoffice3/Makefile3
-rw-r--r--misc/openoffice3/distinfo4
-rw-r--r--misc/openoffice3/patches/patch-ba8
3 files changed, 8 insertions, 7 deletions
diff --git a/misc/openoffice3/Makefile b/misc/openoffice3/Makefile
index 3dfea781587..24c62144b15 100644
--- a/misc/openoffice3/Makefile
+++ b/misc/openoffice3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/10/30 11:30:34 hira Exp $
+# $NetBSD: Makefile,v 1.14 2008/10/31 09:40:58 hira Exp $
#
OO_VER= 3.0.0
@@ -82,6 +82,7 @@ CONFIGURE_ENV+= BLNK_PREFIX_db4=${BUILDLINK_PREFIX.db4}
CONFIGURE_ENV+= ac_cv_path_SYSTEM_GENBRK=${PREFIX}/bin/genbrk
CONFIGURE_ENV+= ac_cv_path_SYSTEM_GENCCODE=${PREFIX}/sbin/genccode
CONFIGURE_ENV+= ac_cv_path_SYSTEM_GENCMN=${PREFIX}/sbin/gencmn
+CONFIGURE_ENV+= USE_BUILTIN_openssl=${USE_BUILTIN.openssl}
CONFIGURE_ARGS+= --with-use-shell=bash
CONFIGURE_ARGS+= --enable-binfilter
diff --git a/misc/openoffice3/distinfo b/misc/openoffice3/distinfo
index 30ca23f64d8..5f5b2f00130 100644
--- a/misc/openoffice3/distinfo
+++ b/misc/openoffice3/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2008/10/30 11:30:34 hira Exp $
+$NetBSD: distinfo,v 1.14 2008/10/31 09:40:58 hira Exp $
SHA1 (openoffice-3.0.0/OOo_3.0.0_src_binfilter.tar.bz2) = 09ff91fd871f00c696befa8064fe04d7a88a3c8a
RMD160 (openoffice-3.0.0/OOo_3.0.0_src_binfilter.tar.bz2) = edc71b8b0596d63e60431c7266140bf5188abc6d
@@ -29,7 +29,7 @@ SHA1 (patch-aq) = 651dad01336dce6901f1aacebe438b565a321be0
SHA1 (patch-ar) = e3592ddc51a311a90d727ef8b595944a0ac3e623
SHA1 (patch-as) = 6f6992430e3cea8a914ad3dcbe9ebcdf288ddc2a
SHA1 (patch-aw) = fdd1665c729cd17d8381ab39f2e6672164a058ad
-SHA1 (patch-ba) = c3b27c83c69b515d2774acb88d56370eb263f872
+SHA1 (patch-ba) = f7fc5e04a5af2f6ee8bdb4689b8b5b897eb43912
SHA1 (patch-bb) = a2fe8b7aff8c875bdf15c70619b430f1fdbfa053
SHA1 (patch-bd) = 8faf878760e476ed13a4506f0615f8b544a2abd4
SHA1 (patch-bf) = d2e2363e7e08d675e3a6b9356d1ffac6d10148de
diff --git a/misc/openoffice3/patches/patch-ba b/misc/openoffice3/patches/patch-ba
index 1a4eeba7792..3325076f7a8 100644
--- a/misc/openoffice3/patches/patch-ba
+++ b/misc/openoffice3/patches/patch-ba
@@ -1,7 +1,7 @@
-$NetBSD: patch-ba,v 1.2 2008/10/16 23:16:46 hira Exp $
+$NetBSD: patch-ba,v 1.3 2008/10/31 09:40:58 hira Exp $
--- config_office/configure.orig 2008-09-01 20:50:01.000000000 +0900
-+++ config_office/configure 2008-10-16 19:07:22.000000000 +0900
++++ config_office/configure 2008-10-31 18:07:22.000000000 +0900
@@ -4183,11 +4183,11 @@
test_randr=no
_os=OSF1
@@ -126,7 +126,7 @@ $NetBSD: patch-ba,v 1.2 2008/10/16 23:16:46 hira Exp $
BUILD_TYPE="$BUILD_TYPE NEON"
fi
-if test "$_os" = "Darwin" && test "$with_system_openssl" != "no"; then
-+if test "$_os" = "Darwin" -o "$_os" = "NetBSD" && test "$with_system_openssl" != "no"; then
++if test "$USE_BUILTIN_openssl" = "yes" && test "$_os" = "Darwin" -o "$_os" = "FreeBSD" -o "$_os" = "NetBSD" && test "$with_system_openssl" != "no"; then
with_system_openssl=yes
fi
{ echo "$as_me:$LINENO: checking which libssl to use" >&5
@@ -135,7 +135,7 @@ $NetBSD: patch-ba,v 1.2 2008/10/16 23:16:46 hira Exp $
# Mac OS builds should get out without extra stuff is the Mac porters'
# wish. And pkg-config is although Xcode ships a .pc for openssl
- if test "$_os" = "Darwin"; then
-+ if test "$_os" = "Darwin" -o "$_os" = "NetBSD" ; then
++ if test "$_os" = "Darwin" -o "$_os" = "FreeBSD" -o "$_os" = "NetBSD" ; then
OPENSSL_CFLAGS=
OPENSSL_LIBS="-lssl -lcrypto"
else