aboutsummaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-01-06 11:00:27 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-01-06 11:00:27 +0000
commit469ad19e6bb57b3dcd4e597ea67a07a53aeaf1d7 (patch)
treec7c62097383b7da7c0e50a6bda48dfdbaaac298b /databases/db4
parent378aeb8ededf0d30239ef54d424cefb8274a4010 (diff)
downloadports-469ad19e6bb57b3dcd4e597ea67a07a53aeaf1d7.tar.gz
ports-469ad19e6bb57b3dcd4e597ea67a07a53aeaf1d7.zip
Notes
Diffstat (limited to 'databases/db4')
-rw-r--r--databases/db4/Makefile8
-rw-r--r--databases/db4/pkg-plist1
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