From 1ad73a0fb275795408dda9b46d8907f3dd70832b Mon Sep 17 00:00:00 2001 From: Alan Eldridge Date: Wed, 14 Aug 2002 08:48:43 +0000 Subject: Fix failure to build package due to apparent source tarball change. No idea how long it's been broken. Maintainer email address bounces. Committing w/o timeout because of package failure and upcoming 4.7 release. PR: 41656 --- databases/db/Makefile | 5 +++-- databases/db2/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'databases') diff --git a/databases/db/Makefile b/databases/db/Makefile index 48c920ecd8ad..260660428f73 100644 --- a/databases/db/Makefile +++ b/databases/db/Makefile @@ -23,10 +23,11 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + @-${RM} -fr ${PREFIX}/share/examples/db2 ${MKDIR} ${PREFIX}/share/examples/db2 cd ${WRKSRC}/..; \ - tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ - ( cd ${PREFIX}/share/examples/db2; tar xf - ) + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/. \ + | ( cd ${PREFIX}/share/examples/db2; tar xf - ) @${ECHO_MSG} "" @${ECHO_MSG} "Java support for ${PKGNAME} is *not* built by default, and requires that you" @${ECHO_MSG} "have a working copy of the JDK (v1.1) installed." diff --git a/databases/db2/Makefile b/databases/db2/Makefile index 48c920ecd8ad..260660428f73 100644 --- a/databases/db2/Makefile +++ b/databases/db2/Makefile @@ -23,10 +23,11 @@ CONFIGURE_ARGS= --enable-compat185 \ --enable-dump185 --enable-cxx post-install: + @-${RM} -fr ${PREFIX}/share/examples/db2 ${MKDIR} ${PREFIX}/share/examples/db2 cd ${WRKSRC}/..; \ - tar -cf - --exclude tags examples/ examples_cxx/ examples_java/ | \ - ( cd ${PREFIX}/share/examples/db2; tar xf - ) + tar -cf - --exclude tags examples/ examples_cxx/ examples_java/. \ + | ( cd ${PREFIX}/share/examples/db2; tar xf - ) @${ECHO_MSG} "" @${ECHO_MSG} "Java support for ${PKGNAME} is *not* built by default, and requires that you" @${ECHO_MSG} "have a working copy of the JDK (v1.1) installed." -- cgit v1.2.3