summaryrefslogtreecommitdiff
path: root/databases/db4/Makefile
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/Makefile
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/Makefile')
-rw-r--r--databases/db4/Makefile8
1 files changed, 7 insertions, 1 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.