pkgsrc-wip/libSM/Makefile
Jeremy C. Reed cde2a3a932 libSM uses XTHREADS is seen in the cflags from the pkg-config for
its dependencies; this means if libX11 was built with it, then this is
built with it.

So include pthread.buildlink2.mk.
Although this doesn't have configure choice for xthreads (like libX11 does).
2003-11-27 19:11:00 +00:00

28 lines
751 B
Makefile

# $NetBSD: Makefile,v 1.2 2003/11/27 19:11:00 jeremy-c-reed Exp $
#
DISTNAME= libSM-6.0.1
CATEGORIES= x11 devel
MASTER_SITES= http://freedesktop.org/~xlibs/dist/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://freedesktop.org/
COMMENT= SM Extension
USE_BUILDLINK2= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
PKGCONFIG_OVERRIDE+= ${WRKSRC}/sm.pc.in
# XXX does not have an option to disable xthread;
# XXX it is based on how libX11 was built.
#PTHREAD_OPTS+= require
.include "../../mk/pthread.buildlink2.mk"
.include "../../wip/libICE/buildlink2.mk"
.include "../../wip/libX11/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"