diff options
author | rillig <rillig@pkgsrc.org> | 2007-02-15 14:24:23 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-02-15 14:24:23 +0000 |
commit | 1f820e1947936ed13a8ef7ab579d6dbe1620de8a (patch) | |
tree | 06124a7195df93c0bb9af9ca6def6be1bd217d1f /devel | |
parent | eddb43d561cbdabe88baf1340dbba19ed94935a5 (diff) | |
download | pkgsrc-1f820e1947936ed13a8ef7ab579d6dbe1620de8a.tar.gz |
Fixed pkglint warnings and added a patch that prints an error message if
ttyname_r does not work.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/librfuncs/Makefile | 6 | ||||
-rw-r--r-- | devel/librfuncs/buildlink3.mk | 5 | ||||
-rw-r--r-- | devel/librfuncs/distinfo | 3 | ||||
-rw-r--r-- | devel/librfuncs/patches/patch-ab | 13 |
4 files changed, 20 insertions, 7 deletions
diff --git a/devel/librfuncs/Makefile b/devel/librfuncs/Makefile index cc5a823514d..7039a698a70 100644 --- a/devel/librfuncs/Makefile +++ b/devel/librfuncs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/03/01 15:58:03 drochner Exp $ +# $NetBSD: Makefile,v 1.13 2007/02/15 14:24:23 rillig Exp $ # DISTNAME= librfuncs-1.0.7 @@ -23,8 +23,8 @@ PTHREAD_AUTO_VARS= no CONFIGURE_ARGS+= --disable-threads .else CONFIGURE_ARGS+= --enable-threads -CONFIGURE_ARGS+= --with-thread-cflags=${PTHREAD_CFLAGS:Q} -CONFIGURE_ARGS+= --with-thread-ldflags=${PTHREAD_LDFLAGS:Q} +CONFIGURE_ARGS+= --with-thread-cflags=${PTHREAD_CFLAGS:M*:Q} +CONFIGURE_ARGS+= --with-thread-ldflags=${PTHREAD_LDFLAGS:M*:Q} .endif .include "../../mk/bsd.pkg.mk" diff --git a/devel/librfuncs/buildlink3.mk b/devel/librfuncs/buildlink3.mk index b5f20af2662..b43aa779366 100644 --- a/devel/librfuncs/buildlink3.mk +++ b/devel/librfuncs/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.8 2006/07/08 23:10:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.9 2007/02/15 14:24:24 rillig Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ LIBRFUNCS_BUILDLINK3_MK:= ${LIBRFUNCS_BUILDLINK3_MK}+ @@ -14,8 +14,7 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}librfuncs .if !empty(LIBRFUNCS_BUILDLINK3_MK:M+) BUILDLINK_API_DEPENDS.librfuncs+= librfuncs>=1.0.4 BUILDLINK_PKGSRCDIR.librfuncs?= ../../devel/librfuncs -.endif # LIBRFUNCS_BUILDLINK3_MK - BUILDLINK_LDFLAGS.librfuncs+= -lrfuncs +.endif # LIBRFUNCS_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/librfuncs/distinfo b/devel/librfuncs/distinfo index 35f8f774feb..21c8ce8ad61 100644 --- a/devel/librfuncs/distinfo +++ b/devel/librfuncs/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.10 2006/03/01 15:58:03 drochner Exp $ +$NetBSD: distinfo,v 1.11 2007/02/15 14:24:24 rillig Exp $ SHA1 (librfuncs-1.0.7.tar.bz2) = af25987e33b7cee65ff159ca3767827c490b8cb3 RMD160 (librfuncs-1.0.7.tar.bz2) = fbe3716ca424ed28380645c107dd14d7523d6289 Size (librfuncs-1.0.7.tar.bz2) = 485448 bytes SHA1 (patch-aa) = 7ac79fdd00c2fc0bade0b2b7e711ba6a95c9f5e7 +SHA1 (patch-ab) = 0ba6f77a4bf3e4c0c1c438d4d74133c9174b75f0 diff --git a/devel/librfuncs/patches/patch-ab b/devel/librfuncs/patches/patch-ab new file mode 100644 index 00000000000..5edd2b12c28 --- /dev/null +++ b/devel/librfuncs/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2007/02/15 14:24:24 rillig Exp $ + +--- test/test_ttyname_r.c.orig 2004-10-24 13:51:35.000000000 +0200 ++++ test/test_ttyname_r.c 2006-10-06 10:31:49.000000000 +0200 +@@ -10,6 +10,7 @@ int main() + { + printf("%s\n", dft_ttyname); + return (0); +- } ++ } else ++ perror("ttyname_r"); + return (err); + } |