summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam>2004-09-15 06:53:24 +0000
committerjlam <jlam>2004-09-15 06:53:24 +0000
commit6e6971394e0f20e8fa12b6a60b5e41c939237f28 (patch)
treec191e5e45895f3f964950e5615e4e49380b3ddaf /comms
parentdd12abd5f5777acbdf56b4f5810a64e83d5f2f6c (diff)
downloadpkgsrc-6e6971394e0f20e8fa12b6a60b5e41c939237f28.tar.gz
Pass the appropriate flags to build and link code using pthread, since the
GNU configure script doesn't seem to bother with checking for it at all. This fixes the build on NetBSD-1.6.2.
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index 64cf722f327..dc7dbccc539 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2004/03/30 07:03:34 snj Exp $
+# $NetBSD: Makefile,v 1.13 2004/09/15 06:53:24 jlam Exp $
#
DISTNAME= gsmlib-1.10
@@ -17,6 +17,8 @@ USE_PKGLOCALEDIR= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --without-included-gettext
PTHREAD_OPTS+= require
+CFLAGS+= ${PTHREAD_CFLAGS}
+LDFLAGS+= ${PTHREAD_LDFLAGS}
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"