From c2b8a4981f1e1ba283037deefa6a8b610ea1c46c Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 24 Feb 2013 06:55:29 +0000 Subject: On Cygwin, shared libraries will be installed in `bin', and symbolic links will not be created. --- databases/db4/Makefile | 8 +++++++- databases/db4/PLIST | 10 +++++----- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'databases/db4') 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 -- cgit v1.2.3