b1d04b2162
returns -1 on error and sets errno. So we need to do the same. bump PKGREVISION
30 lines
767 B
Makefile
30 lines
767 B
Makefile
# $NetBSD: Makefile,v 1.12 2006/03/01 15:58:03 drochner Exp $
|
|
#
|
|
|
|
DISTNAME= librfuncs-1.0.7
|
|
PKGREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.johnrshannon.com/NetBSD/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
|
HOMEPAGE= http://www.johnrshannon.com/NetBSD/
|
|
COMMENT= Provides missing POSIX *_r functions
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
TEST_TARGET= check
|
|
PTHREAD_AUTO_VARS= no
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
|
|
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}
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|