summaryrefslogtreecommitdiff
path: root/databases/unixodbc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/unixodbc/Makefile')
-rw-r--r--databases/unixodbc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/unixodbc/Makefile b/databases/unixodbc/Makefile
index 8fa4c564f5c..113a6ee9251 100644
--- a/databases/unixodbc/Makefile
+++ b/databases/unixodbc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2010/05/10 16:52:22 taca Exp $
+# $NetBSD: Makefile,v 1.30 2011/01/18 23:12:29 schwarz Exp $
DISTNAME= unixODBC-2.3.0
PKGNAME= ${DISTNAME:S/ODBC/odbc/}
@@ -22,6 +22,8 @@ CONFIGURE_ARGS+= --enable-drivers
CONFIGURE_ARGS+= --enable-threads
PTHREAD_OPTS+= require
+LIBS.SunOS+= -lsocket -lnsl
+
# Override the local definitions that point to the self-contained libtool
# convenience library. We want the one installed by pkgsrc. Also override
# the variable pointing to the (static) libfl.a, which won't link with a