- Fix the build with GCC 4.2 [1]

- Drop old-school USE_GETOPT_LONG
- Tidy up Makefile and pkg-descr

Reported by:	pointyhat (logs) [1]
This commit is contained in:
Alexey Dokuchaev 2007-07-02 15:41:11 +00:00
parent 1995c66e00
commit 3bd162063c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194659
2 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# New ports collection makefile for: rioutil
# Date created: 01 July 2001
# Whom: greid
# New ports collection makefile for: rioutil
# Date created: 01 July 2001
# Whom: George Reid <greid@FreeBSD.org>
#
# $FreeBSD$
#
@ -13,12 +13,11 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A program to inferface with the Rio600, Rio800 and psa[play devices
COMMENT= A program to inferface with the Rio600, Rio800, and psa[play devices
LIB_DEPENDS= usb-0.1.8:${PORTSDIR}/devel/libusb
USE_AUTOTOOLS= libtool:15
USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@ -32,5 +31,8 @@ LDFLAGS= -L${LOCALBASE}/lib
post-extract:
@${RM} -f ${WRKSRC}/src/getopt*
# Fix for GCC 4.2
@${REINPLACE_CMD} -e 's,read_buffer = .*),(&),' \
${WRKSRC}/librioutil/rio.c
.include <bsd.port.mk>

View file

@ -4,7 +4,4 @@ Blue/dnna's third, fourth, and fifth generations of flash MP3 players
On many players, it goes beyond the packaged software by providing
downloading.
WWW: http://rioutil.sourceforge.net/
- George Reid
greid@FreeBSD.org
WWW: http://rioutil.sourceforge.net/