1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/audio/xoscope/Makefile
Diane Bruce b9c7e063d6 - As described by Mamoru Iwaki <1wkmmr@gmail.com> in email
> I have just looked around audio/xoscope, not compiling it yet.  Then, I
> found a strange line in files/patch-ser_unix.c, as follows:
>
> 34   +#ifdef BSD
> 35   +    if (tcgetattr(fd, &svbuf) < 0 ) {
> 36   +#else
> 37        if (ioctl(fd, TCSETA, &svbuf) < 0) {
> 38   +#endif
>
> I wonder tcgetattr(...) in line 35 should be tcsetattr(...).

It should be, but the fd involved was for hardware that is no longer
made but it is a trivial fix so fixed anyway.

- Convert to stagedir while in here.

Submitted by:	1wkmmr@gmail.com (for tcsetattr note)
2013-11-05 23:28:09 +00:00

21 lines
368 B
Makefile

# $FreeBSD$
PORTNAME= xoscope
PORTVERSION= 2.0
CATEGORIES= audio hamradio
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= db@FreeBSD.org
COMMENT= Sound card oscilloscope
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${STAGEDIR}${PREFIX} --sysconfdir=${STAGEDIR}${PREFIX}
USES= gmake pkgconfig
USE_GNOME= gtk20
USE_XORG= x11
MAN1= xoscope.1
.include <bsd.port.mk>