summaryrefslogtreecommitdiff
path: root/audio/libopendaap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libopendaap/Makefile')
-rw-r--r--audio/libopendaap/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/audio/libopendaap/Makefile b/audio/libopendaap/Makefile
index eecb0124274..0e9ae080af2 100644
--- a/audio/libopendaap/Makefile
+++ b/audio/libopendaap/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/08/10 20:56:11 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2005/11/11 18:18:28 joerg Exp $
DISTNAME= libopendaap-0.4.0
CATEGORIES= audio
@@ -14,5 +14,10 @@ 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"