aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-1.1-devel
diff options
context:
space:
mode:
authormbr <mbr@FreeBSD.org>2002-03-08 22:27:12 +0800
committermbr <mbr@FreeBSD.org>2002-03-08 22:27:12 +0800
commit709d9c18bf27a99a5bc85ddd4b49c012f8c46c8c (patch)
tree1bf2027918cdee87a523f3fcd79d14e106f495c1 /editors/openoffice-1.1-devel
parent7003f8d50b1706ff6b18aa5e50053161b6f0032c (diff)
downloadfreebsd-ports-gnome-709d9c18bf27a99a5bc85ddd4b49c012f8c46c8c.tar.gz
freebsd-ports-gnome-709d9c18bf27a99a5bc85ddd4b49c012f8c46c8c.tar.zst
freebsd-ports-gnome-709d9c18bf27a99a5bc85ddd4b49c012f8c46c8c.zip
Substitute .cxx files too in the nas-patch. Also add a missing backslash,
since we do not want to scan dirs.
Diffstat (limited to 'editors/openoffice-1.1-devel')
-rw-r--r--editors/openoffice-1.1-devel/Makefile2
-rw-r--r--editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch2
-rw-r--r--editors/openoffice-1.1-devel/files/patch-nas:nas-1.4.1.patch2
3 files changed, 3 insertions, 3 deletions
diff --git a/editors/openoffice-1.1-devel/Makefile b/editors/openoffice-1.1-devel/Makefile
index e85455b51ad0..2f81232898a1 100644
--- a/editors/openoffice-1.1-devel/Makefile
+++ b/editors/openoffice-1.1-devel/Makefile
@@ -81,7 +81,7 @@ post-extract:
${CP} ${WRKDIR}/NETBSDGCCIinc.zip ${WRKSRC}/../moz/zipped/FREEBSDGCCIinc.zip
${CP} ${WRKDIR}/NETBSDGCCIlib.zip ${WRKSRC}/../moz/zipped/FREEBSDGCCIlib.zip
${CP} ${WRKDIR}/NETBSDGCCIruntime.zip ${WRKSRC}/../moz/zipped/FREEBSDGCCIruntime.zip
- @${FIND} ${WRKSRC}/.. | ${EGREP} ".(cxx|h|c)$$" | ${XARGS} \
+ @${FIND} ${WRKSRC}/.. | ${EGREP} "\.(cxx|h|c)$$" | ${XARGS} \
${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
do-build:
diff --git a/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch b/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch
index f46c19ac78f3..6f2635c639f7 100644
--- a/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch
+++ b/editors/openoffice-1.1-devel/files/patch-nas+nas-1.4.1.patch
@@ -10,7 +10,7 @@
+ @echo ""
+ Date
+ @echo ""
-++ @find . -name '*.[ch]' | xargs \
+++ @find . | egrep "\.(cxx|h|c)$$" | xargs \
++ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
+ $(MAKE) $(MFLAGS) Makefiles
+ $(MAKE) $(MFLAGS) clean
diff --git a/editors/openoffice-1.1-devel/files/patch-nas:nas-1.4.1.patch b/editors/openoffice-1.1-devel/files/patch-nas:nas-1.4.1.patch
index f46c19ac78f3..6f2635c639f7 100644
--- a/editors/openoffice-1.1-devel/files/patch-nas:nas-1.4.1.patch
+++ b/editors/openoffice-1.1-devel/files/patch-nas:nas-1.4.1.patch
@@ -10,7 +10,7 @@
+ @echo ""
+ Date
+ @echo ""
-++ @find . -name '*.[ch]' | xargs \
+++ @find . | egrep "\.(cxx|h|c)$$" | xargs \
++ ${PERL} -pi -e "s|<malloc.h>|<stdlib.h>|g"
+ $(MAKE) $(MFLAGS) Makefiles
+ $(MAKE) $(MFLAGS) clean