summaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-02-24 06:55:29 +0000
committerobache <obache@pkgsrc.org>2013-02-24 06:55:29 +0000
commitdb6cd96b5a0ef08dba6b53c61dd6899cdf00c2bc (patch)
tree8a9a9ea89a01f3b6ce1e942edef6426025e87c97 /databases/db4
parent699247c185d1d60980dbbec9ba5e5bf9d9457109 (diff)
downloadpkgsrc-db6cd96b5a0ef08dba6b53c61dd6899cdf00c2bc.tar.gz
On Cygwin, shared libraries will be installed in `bin', and symbolic links
will not be created.
Diffstat (limited to 'databases/db4')
-rw-r--r--databases/db4/Makefile8
-rw-r--r--databases/db4/PLIST10
2 files changed, 12 insertions, 6 deletions
diff --git a/databases/db4/Makefile b/databases/db4/Makefile
index 1b00c2a95e1..b6ae9e69fe8 100644
--- a/databases/db4/Makefile
+++ b/databases/db4/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.63 2012/12/13 00:19:37 gdt Exp $
+# $NetBSD: Makefile,v 1.64 2013/02/24 06:55:29 obache Exp $
#
# NOTE:
# When updating this package, a change in the minor (4.n -> 4.(n+1))
@@ -37,6 +37,12 @@ OPSYSVARS+= LIBSO_LIBS
LIBSO_LIBS.SunOS+= -lnsl -lrt
CONFIGURE_ENV+= LIBSO_LIBS=${LIBSO_LIBS:Q}
+.include "../../mk/bsd.prefs.mk"
+PLIST_VARS+= norm_so
+.if ${OPSYS} != "Cygwin"
+PLIST.norm_so= yes
+.endif
+
# DB4 only want pthreads because it's really after POSIX 1003.1
# inter-process mutexes. In this case, we only care to use the native
# threads.
diff --git a/databases/db4/PLIST b/databases/db4/PLIST
index 6f692c9f99b..b16ed0fb947 100644
--- a/databases/db4/PLIST
+++ b/databases/db4/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2010/06/02 12:06:21 adam Exp $
+@comment $NetBSD: PLIST,v 1.16 2013/02/24 06:55:29 obache Exp $
bin/db4_archive
bin/db4_checkpoint
bin/db4_deadlock
@@ -15,13 +15,13 @@ include/db4/db.h
include/db4/db_185.h
include/db4/db_cxx.h
lib/libdb4-4.8.la
-lib/libdb4-4.so
+${PLIST.norm_so}lib/libdb4-4.so
lib/libdb4.a
-lib/libdb4.so
+${PLIST.norm_so}lib/libdb4.so
lib/libdb4_cxx-4.8.la
-lib/libdb4_cxx-4.so
+${PLIST.norm_so}lib/libdb4_cxx-4.so
lib/libdb4_cxx.a
-lib/libdb4_cxx.so
+${PLIST.norm_so}lib/libdb4_cxx.so
share/doc/db4/api_reference/C/BDB-C_APIReference.pdf
share/doc/db4/api_reference/C/DB_MULTIPLE_INIT.html
share/doc/db4/api_reference/C/DB_MULTIPLE_KEY_NEXT.html