aboutsummaryrefslogtreecommitdiffstats
path: root/databases/db
diff options
context:
space:
mode:
Diffstat (limited to 'databases/db')
-rw-r--r--databases/db/Makefile5
1 files changed, 3 insertions, 2 deletions
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."