Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Nov 2004 23:46:09 +0100 (CET)
From:      David Le Brun <david@dyn-ns.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73652: [Maintainer Update] audio/gtkpod : fix sync-* scripts
Message-ID:  <200411072246.iA7Mk9ZY089288@da-quirk.org>
Resent-Message-ID: <200411072250.iA7MoEVC091554@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73652
>Category:       ports
>Synopsis:       [Maintainer Update] audio/gtkpod : fix sync-* scripts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 07 22:50:13 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     David Le Brun
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD da-quirk.org 5.2-RELEASE FreeBSD 5.2-RELEASE #4: Sat Jan 17 16:34:59 CET 2004 root@da-quirk.org:/usr/src/sys/i386/compile/PAPRIKA i386


	
>Description:
gtkpod is bundled with (the scripts to sync one's addressbook and calendar). 
Their hash-bang line is "#!/bin/bash" which obviously doesn't work on FreeBSD.
This problem was pointed out by Julian C. Dunn

Changes :
- Substitute line /bin/bash to /bin/sh
- Removed old knob FAAD unused

>How-To-Repeat:
	
>Fix:

	

--- gtkpod.diff begins here ---
diff -ruN gtkpod.old/Makefile gtkpod/Makefile
--- gtkpod.old/Makefile	Mon Aug 16 22:17:10 2004
+++ gtkpod/Makefile	Sun Nov  7 23:28:47 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	gtkpod
 PORTVERSION=	0.80
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -39,7 +39,7 @@
 CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include"
 CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"
 
-.if !defined(WITH_AAC) && !defined(WITH_FAAD)
+.if !defined(WITH_AAC)
 pre-everything::
 	@${ECHO_MSG}
 	@${ECHO_MSG} "To enable AAC support with mpeg4ip define the WITH_AAC knob."
@@ -52,6 +52,10 @@
 		${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|(libdir)/locale|(datadir)/locale|' \
 		${WRKSRC}/po/Makefile.in.in
+	@${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' \
+		${WRKSRC}/scripts/sync-kaddressbook.sh
+	@${REINPLACE_CMD} -e 's|bin/bash|bin/sh|' \
+		${WRKSRC}/scripts/sync-korganizer.sh
 
 post-install:
 .if !defined(NOPORTDOCS)
--- gtkpod.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411072246.iA7Mk9ZY089288>