pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/comms/gsmlib Pass the appropriate flags to build and l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5461152a5dce
branches:  trunk
changeset: 480571:5461152a5dce
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Sep 15 06:53:24 2004 +0000

description:
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:

 comms/gsmlib/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 6126a6e753d1 -r 5461152a5dce comms/gsmlib/Makefile
--- a/comms/gsmlib/Makefile     Wed Sep 15 06:20:08 2004 +0000
+++ b/comms/gsmlib/Makefile     Wed Sep 15 06:53:24 2004 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index