ports/73652: [Maintainer Update] audio/gtkpod : fix sync-* scripts

David Le Brun david at dyn-ns.net
Sun Nov 7 22:50:19 UTC 2004


>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 at 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:



More information about the freebsd-ports-bugs mailing list