mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
b9c7e063d6
> 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)
21 lines
368 B
Makefile
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>
|