summaryrefslogtreecommitdiff
path: root/accessibility/speech-dispatcher/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'accessibility/speech-dispatcher/Makefile')
-rw-r--r--accessibility/speech-dispatcher/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/accessibility/speech-dispatcher/Makefile b/accessibility/speech-dispatcher/Makefile
index bb6fa63c0eeb..d3e1295d82d5 100644
--- a/accessibility/speech-dispatcher/Makefile
+++ b/accessibility/speech-dispatcher/Makefile
@@ -84,7 +84,16 @@ CONFIGURE_ARGS+= --with-pulseaudio
CONFIGURE_ARGS+= --without-pulseaudio
.endif
-pre-patch:
+.if ${OSVERSION} < 800000
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-*
+.endif
+
+post-extract:
+.if ${OSVERSION} < 800000
+ ${CP} ${FILESDIR}/getline.* ${WRKSRC}/src
+.endif
+
+post-patch:
@${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/g' \
${WRKSRC}/ltmain.sh
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \