summaryrefslogtreecommitdiff
path: root/comms/gsmlib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-09-15 06:53:24 +0000
committerjlam <jlam@pkgsrc.org>2004-09-15 06:53:24 +0000
commitc45574ef18060f188d21f999c0ea37c143e6b95f (patch)
treec191e5e45895f3f964950e5615e4e49380b3ddaf /comms/gsmlib
parentc683215537347a3eca5d865c68c213623560556a (diff)
downloadpkgsrc-c45574ef18060f188d21f999c0ea37c143e6b95f.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/gsmlib')
-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"