diff options
author | db <db@FreeBSD.org> | 2007-04-23 21:35:01 +0000 |
---|---|---|
committer | db <db@FreeBSD.org> | 2007-04-23 21:35:01 +0000 |
commit | ea2eb21b1046b036a2f33f774a4c07ccbf31b23e (patch) | |
tree | b99825bf6d4a0e088c44d9014e5108faa18d4a4b /comms/soundmodem | |
parent | 1770f76c4acba035579752e32aa486e1b57224fe (diff) | |
download | FreeBSD-ports-ea2eb21b1046b036a2f33f774a4c07ccbf31b23e.zip FreeBSD-ports-ea2eb21b1046b036a2f33f774a4c07ccbf31b23e.tar.gz |
- Remove support for EOL FreeBSD releases. [1]
- Fix to use correct parallel port
PR: ports/111947 [1]
Approved by: ehaupt (mentor)
Diffstat (limited to 'comms/soundmodem')
-rw-r--r-- | comms/soundmodem/Makefile | 8 | ||||
-rw-r--r-- | comms/soundmodem/files/patch-soundcard_ptt.c | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/comms/soundmodem/Makefile b/comms/soundmodem/Makefile index 6787967..516a48e 100644 --- a/comms/soundmodem/Makefile +++ b/comms/soundmodem/Makefile @@ -7,6 +7,7 @@ PORTNAME= soundmodem PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= http://www.baycom.org/~tom/ham/soundmodem/ \ http://chronos.org.uk/distfiles/ @@ -40,9 +41,4 @@ post-patch: post-install: ${INSTALL_SCRIPT} ${WRKSRC}/soundmodem ${PREFIX}/etc/rc.d -.include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= Does not compile on FreeBSD 4.x -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/comms/soundmodem/files/patch-soundcard_ptt.c b/comms/soundmodem/files/patch-soundcard_ptt.c index e922663..92ba9cf 100644 --- a/comms/soundmodem/files/patch-soundcard_ptt.c +++ b/comms/soundmodem/files/patch-soundcard_ptt.c @@ -1,5 +1,5 @@ --- soundcard/ptt.c.orig Sat Nov 9 10:31:53 2002 -+++ soundcard/ptt.c Mon Nov 6 00:17:03 2006 ++++ soundcard/ptt.c Mon Apr 23 10:24:36 2007 @@ -48,6 +48,9 @@ #ifdef HAVE_LINUX_PPDEV_H @@ -15,7 +15,7 @@ struct modemparams pttparams[] = { { "file", "PTT Driver", "Path name of the serial or parallel port driver for outputting PTT", "none", MODEMPAR_COMBO, +#ifdef __FreeBSD__ -+ { c: { { "none", "/dev/ttyd0", "/dev/ttyd1", "/dev/lp0", "/dev/lp1" } } } }, ++ { c: { { "none", "/dev/ttyd0", "/dev/ttyd1", "/dev/ppi0", "/dev/ppi1" } } } }, +#else { c: { { "none", "/dev/ttyS0", "/dev/ttyS1", "/dev/parport0", "/dev/parport1" } } } }, +#endif |