037271e078
* From schedctl(8) of NetBSD-5-RC2, setting of priority for the process running at SCHED_OTHER policy is not allowed, so change to skip if SCHED_OTHER is specified. * Use sched_get_priority_min() instead of hard coded DEFAULT_SCHED_PARAM (= 0). * Ajust return code as the "Returns:" section in this function's comment. sched_setscheduler(3) return the previous policy if succeed, it may not be 0. Bump PKGREVISION.
36 lines
766 B
Makefile
36 lines
766 B
Makefile
# $NetBSD: Makefile,v 1.15 2009/02/24 09:36:23 obache Exp $
|
|
#
|
|
|
|
DISTNAME= libupnp-1.6.6
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://pupnp.sourceforge.net/
|
|
COMMENT= Portable Universal Plug and Play (UPnP) SDK
|
|
|
|
USE_LANGUAGES= c
|
|
USE_TOOLS+= pkg-config
|
|
USE_LIBTOOL= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-documentation
|
|
|
|
PKGCONFIG_OVERRIDE+= libupnp.pc.in
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-lcompat
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
|
|
PTHREAD_LIBS+= -lrt
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|