aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rioutil
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2007-07-02 23:41:11 +0800
committerdanfe <danfe@FreeBSD.org>2007-07-02 23:41:11 +0800
commit44877d8f77a73ee46b5a8cc09068d26c19774c13 (patch)
tree39f64d26e71b6b612b8665e6335c8f248c43976a /audio/rioutil
parent145f3f01c29ae4edf39ca02e4ceee334a3e77cdc (diff)
downloadfreebsd-ports-gnome-44877d8f77a73ee46b5a8cc09068d26c19774c13.tar.gz
freebsd-ports-gnome-44877d8f77a73ee46b5a8cc09068d26c19774c13.tar.zst
freebsd-ports-gnome-44877d8f77a73ee46b5a8cc09068d26c19774c13.zip
- 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]
Diffstat (limited to 'audio/rioutil')
-rw-r--r--audio/rioutil/Makefile12
-rw-r--r--audio/rioutil/pkg-descr5
2 files changed, 8 insertions, 9 deletions
diff --git a/audio/rioutil/Makefile b/audio/rioutil/Makefile
index 030ff15dda6e..fc0f00778301 100644
--- a/audio/rioutil/Makefile
+++ b/audio/rioutil/Makefile
@@ -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>
diff --git a/audio/rioutil/pkg-descr b/audio/rioutil/pkg-descr
index bbfb58a44290..0aaa48a60252 100644
--- a/audio/rioutil/pkg-descr
+++ b/audio/rioutil/pkg-descr
@@ -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/