summaryrefslogtreecommitdiff
path: root/databases/db4
diff options
context:
space:
mode:
authorobache <obache>2013-02-24 06:55:29 +0000
committerobache <obache>2013-02-24 06:55:29 +0000
commitc2b8a4981f1e1ba283037deefa6a8b610ea1c46c (patch)
tree8a9a9ea89a01f3b6ce1e942edef6426025e87c97 /databases/db4
parent3dce6b8f45233db7edb180a032c4727bb7abd429 (diff)
downloadpkgsrc-c2b8a4981f1e1ba283037deefa6a8b610ea1c46c.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