summaryrefslogtreecommitdiff
path: root/databases/postgresql93-client
diff options
context:
space:
mode:
authorjoerg <joerg>2013-10-04 18:23:40 +0000
committerjoerg <joerg>2013-10-04 18:23:40 +0000
commit5a9a1493a474098ca2fd8fd47d8a9d3c8b6909cd (patch)
treea65039e91e1be69a421dc22851b5324ef849c64c /databases/postgresql93-client
parentb7a3075ff7f4a63fab3139f90524275a4b4c4f5d (diff)
downloadpkgsrc-5a9a1493a474098ca2fd8fd47d8a9d3c8b6909cd.tar.gz
Fix build of postgresql93-client for Cygwin, including correct
generation of DLLs.
Diffstat (limited to 'databases/postgresql93-client')
-rw-r--r--databases/postgresql93-client/Makefile8
-rw-r--r--databases/postgresql93-client/PLIST.Cygwin5
2 files changed, 11 insertions, 2 deletions
diff --git a/databases/postgresql93-client/Makefile b/databases/postgresql93-client/Makefile
index 04ea906dcdb..fd672dcd25d 100644
--- a/databases/postgresql93-client/Makefile
+++ b/databases/postgresql93-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/09/10 15:32:32 adam Exp $
+# $NetBSD: Makefile,v 1.2 2013/10/04 18:23:40 joerg Exp $
PKGNAME= ${DISTNAME:C/-/93-client-/}
COMMENT= PostgreSQL database client programs
@@ -10,6 +10,10 @@ CONFIGURE_ARGS+= --with-openssl
CONFIGURE_ARGS+= --with-readline
CONFIGURE_ARGS+= --with-zlib
+.if ${OPSYS} == "Cygwin"
+INSTALLATION_DIRS+= bin
+.endif
+
# 1. The thread-safety test in ${WRSRC}/src/tools/thread does not pass on
# NetBSD earler than 4.0 or DragonFly.
# 2. configure with --enable-thread-safety fails on OpenBSD.
@@ -28,9 +32,9 @@ CONFIGURE_ARGS+= --enable-thread-safety
.endif
INSTALL_DIRS= src/include
+INSTALL_DIRS+= src/common
INSTALL_DIRS+= src/interfaces
INSTALL_DIRS+= src/bin
-INSTALL_DIRS+= src/common
INSTALL_DIRS+= src/port
BUILD_DIRS= ${INSTALL_DIRS}
# Without this, the Darwin build fails (related to -bundle_loader).
diff --git a/databases/postgresql93-client/PLIST.Cygwin b/databases/postgresql93-client/PLIST.Cygwin
new file mode 100644
index 00000000000..2db2dfb4b40
--- /dev/null
+++ b/databases/postgresql93-client/PLIST.Cygwin
@@ -0,0 +1,5 @@
+@comment
+bin/cygecpg_compat-3.dll
+bin/cygecpg-6.dll
+bin/cygpgtypes-3.dll
+bin/cygpq-5.dll