ports/126656: [update] audio/libgpod - add option to build SysInfo detection utility
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Aug 19 12:20:01 UTC 2008
>Number: 126656
>Category: ports
>Synopsis: [update] audio/libgpod - add option to build SysInfo detection utility
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 19 12:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Emanuel Haupt
>Release: FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD freefall.freebsd.org 7.0-STABLE FreeBSD 7.0-STABLE #34: Sat Apr 12 11:52:18 UTC 2008 simon at freefall.freebsd.org:/usr/src/sys/i386/compile/FREEFALL i386
>Description:
Add an option to build and install a SysInfo detection utility
(ipod-read-sysinfo-extended).
gtkpod requires that information in order to support the iPod classic and
nano3g.
Reference:
http://gtkpod.wikispaces.com/Sysinfo+File
>How-To-Repeat:
>Fix:
--- libgpod.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/libgpod/Makefile,v
retrieving revision 1.18
diff -u -r1.18 Makefile
--- Makefile 6 Jun 2008 13:06:51 -0000 1.18
+++ Makefile 19 Aug 2008 12:06:47 -0000
@@ -25,6 +25,17 @@
# Disable python bindings for now, something does not work there
CONFIGURE_ARGS= --without-python
+OPTIONS= TOOLS "Build SysInfo detection utility" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TOOLS)
+LIB_DEPENDS+= sgutils.1:${PORTSDIR}/sysutils/sg3_utils
+PLIST_SUB+= TOOLS=""
+.else
+PLIST_SUB+= TOOLS="@comment "
+.endif
+
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --with-html-dir="${PREFIX}/share/doc"
.endif
@@ -43,4 +54,4 @@
${REINPLACE_CMD} -e 's, docs,,' ${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/audio/libgpod/pkg-plist,v
retrieving revision 1.7
diff -u -r1.7 pkg-plist
--- pkg-plist 6 Jan 2008 22:46:02 -0000 1.7
+++ pkg-plist 19 Aug 2008 12:06:47 -0000
@@ -1,3 +1,4 @@
+%%TOOLS%%bin/ipod-read-sysinfo-extended
include/gpod-1.0/gpod/itdb.h
@dirrm include/gpod-1.0/gpod
@dirrm include/gpod-1.0
--- libgpod.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list