summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3-RC
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2009-05-16 04:29:27 +0000
committerMaho Nakata <maho@FreeBSD.org>2009-05-16 04:29:27 +0000
commit37376ef0916c697a4189479ab3ba671f4027ff13 (patch)
treefef1005cacf2c2a7d316df8fde6c99849ac270cf /editors/openoffice.org-3-RC
parent- Fix download location (diff)
Workaround for CRLF issue for some patchfiles.
Diffstat (limited to 'editors/openoffice.org-3-RC')
-rw-r--r--editors/openoffice.org-3-RC/Makefile7
-rw-r--r--editors/openoffice.org-3-RC/files/patch-i8454914
2 files changed, 14 insertions, 7 deletions
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile
index 67c1777de1a7..5c208da78ce2 100644
--- a/editors/openoffice.org-3-RC/Makefile
+++ b/editors/openoffice.org-3-RC/Makefile
@@ -177,7 +177,13 @@ pre-everything::
@${TOUCH} ${BUILD_COOKIE}
.endif
+#issue XXXXXX not raised yet...
+CRLFFILES=curl/curl*patch neon/neon*patch
+
post-extract:
+ for i in ${CRLFFILES}; do \
+ cd ${WRKSRC} ; ${REINPLACE_CMD} -e 's# ##g' $$i ; \
+ done
@${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
.if defined(WITH_CWS)
cd ${WRKSRC} ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${CWSARCHIVE}
@@ -190,6 +196,7 @@ post-extract:
.if !defined(WITHOUT_MOZILLA)
@${CP} ${DISTDIR}/${DIST_SUBDIR}/${MOZILLA_SOURCE} ${WRKSRC}/moz/download
.endif
+
pre-configure:
#Workaround for gperf. #i85469#
@${LN} -sf ${LOCALBASE}/bin/gperf ${WRKSRC}/solenv/bin/gperf
diff --git a/editors/openoffice.org-3-RC/files/patch-i84549 b/editors/openoffice.org-3-RC/files/patch-i84549
index 95ec361dcdb1..1d7f6517953b 100644
--- a/editors/openoffice.org-3-RC/files/patch-i84549
+++ b/editors/openoffice.org-3-RC/files/patch-i84549
@@ -6,11 +6,11 @@ diff -u -r1.25 neon.patch
--- neon/neon.patch 22 Jul 2008 17:17:06 -0000 1.25
+++ neon/neon.patch 10 Aug 2008 04:20:27 -0000
@@ -266,7 +266,7 @@
- +#define HAVE_SYS_TYPES_H 1
- +
- +/* Define if the timezone global is available */
--+#ifndef MACOSX
+ +#define HAVE_SYS_TYPES_H 1
+ +
+ +/* Define if the timezone global is available */
+-+#ifndef MACOSX
++#if !defined(MACOSX) && !defined(FREEBSD)
- +#define HAVE_TIMEZONE 1
- +#endif
- +
+ +#define HAVE_TIMEZONE 1
+ +#endif
+ +