summaryrefslogtreecommitdiffstats
path: root/comms/svxlink/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/svxlink/Makefile')
-rw-r--r--comms/svxlink/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/comms/svxlink/Makefile b/comms/svxlink/Makefile
index 41e8f65..21213f4 100644
--- a/comms/svxlink/Makefile
+++ b/comms/svxlink/Makefile
@@ -55,8 +55,6 @@ DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen \
OPTIONS_SUB= yes
PORTDOCS= *
-.include <bsd.port.options.mk>
-
post-patch:
@${GREP} -lr /dev/ttyS0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
${REINPLACE_CMD} -e 's|/dev/ttyS0|/dev/ttyu0|'
@@ -70,12 +68,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/lib|${PREFIX}/lib|' \
${WRKSRC}/src/doc/man/svxlink.conf.5 \
${WRKSRC}/src/svxlink/svxlink/svxlink.conf.in
-.if ${PORT_OPTIONS:MOSS}
+post-patch-OSS-on:
@${GREP} -lr alsa:default ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
${REINPLACE_CMD} -e 's|alsa:default|oss:/dev/dsp|'
@${GREP} -lr alsa:plughw:0 ${WRKSRC} | ${GREP} -v .bak | ${GREP} -v .orig | ${XARGS} \
${REINPLACE_CMD} -e 's|alsa:plughw:0|oss:/dev/dsp|'
-.endif
.if ${PORTNAME}==svxlink
post-stage:
OpenPOWER on IntegriCloud