pkgsrc/audio/libopendaap/Makefile
joerg c01ba26746 Replace hard-wired -lpthread with the normal pthread logic.
Since this changes nothing for platforms with working -lpthread
and others didn't work before, don't bump the revision.
2005-11-11 18:18:28 +00:00

23 lines
646 B
Makefile

# $NetBSD: Makefile,v 1.9 2005/11/11 18:18:28 joerg Exp $
DISTNAME= libopendaap-0.4.0
CATEGORIES= audio
MASTER_SITES= http://craz.net/programs/itunes/files/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://craz.net/programs/itunes/libopendaap.html
COMMENT= DAAP client library
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
USE_TOOLS+= pkg-config
SUBST_CLASSES+= pthread
SUBST_STAGE.pthread= pre-configure
SUBST_FILES.pthread= opendaap.pc.in
SUBST_SED.pthread= -e 's|@@PTHREAD@@|${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}|'
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"