diff options
-rw-r--r-- | databases/db4/Makefile | 8 | ||||
-rw-r--r-- | databases/db4/pkg-plist | 1 |
2 files changed, 8 insertions, 1 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile index d2fde8bf6cbc..2a08db096c81 100644 --- a/databases/db4/Makefile +++ b/databases/db4/Makefile @@ -34,6 +34,14 @@ INSTALLS_SHLIB= yes INSTALL_TARGET= install install_docs .endif +# the db install_docs target installs an empty directory, kill it +# (it's not packaged and it's not needed): + +.if !defined(NOPORTDOCS) +post-install: + @${RMDIR} ${PREFIX}/share/doc/db4/ref/splash +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT} diff --git a/databases/db4/pkg-plist b/databases/db4/pkg-plist index 9acf173f91e1..56d895c9b400 100644 --- a/databases/db4/pkg-plist +++ b/databases/db4/pkg-plist @@ -860,7 +860,6 @@ lib/libdb4_cxx.so.0 %%PORTDOCS%%@dirrm share/doc/db4/ref/transapp %%PORTDOCS%%@dirrm share/doc/db4/ref/test %%PORTDOCS%%@dirrm share/doc/db4/ref/tcl -%%PORTDOCS%%@dirrm share/doc/db4/ref/splash %%PORTDOCS%%@dirrm share/doc/db4/ref/simple_tut %%PORTDOCS%%@dirrm share/doc/db4/ref/sendmail %%PORTDOCS%%@dirrm share/doc/db4/ref/rpc |