summaryrefslogtreecommitdiff
path: root/databases/openldap-client
diff options
context:
space:
mode:
authorryoon <ryoon>2014-07-18 11:25:14 +0000
committerryoon <ryoon>2014-07-18 11:25:14 +0000
commit4d734719c7012a439219ec5cbee2aac723065c5a (patch)
treed28a6c5b8b20e324cd3ed5d49777045463a50648 /databases/openldap-client
parent557d27527155c170e0da6c20ac613c3745ead93b (diff)
downloadpkgsrc-4d734719c7012a439219ec5cbee2aac723065c5a.tar.gz
Fix SCO OpenServer 5.0.7/3.2 build.
Diffstat (limited to 'databases/openldap-client')
-rw-r--r--databases/openldap-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/openldap-client/Makefile b/databases/openldap-client/Makefile
index c17c02c8d5c..685fb9d649d 100644
--- a/databases/openldap-client/Makefile
+++ b/databases/openldap-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2014/02/12 23:17:39 tron Exp $
+# $NetBSD: Makefile,v 1.17 2014/07/18 11:31:25 ryoon Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
PKGREVISION= 1
@@ -16,5 +16,10 @@ CNFS= ldap.conf
.include "options.mk"
+.if ${OS_VARIANT} == "SCOOSR5"
+# SCO OpenServer 5.0.7/3.2 has sockelen_t definition in pthread.h of GNU pth.
+CONFIGURE_ENV+= ac_cv_type_socklen_t=yes
+.endif
+
.include "../../databases/openldap/Makefile.common"
.include "../../mk/bsd.pkg.mk"