aboutsummaryrefslogtreecommitdiffstats
path: root/comms/svxlink
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /comms/svxlink
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'comms/svxlink')
-rw-r--r--comms/svxlink/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/comms/svxlink/Makefile b/comms/svxlink/Makefile
index 41e8f650d9e8..21213f45f950 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: