Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  5 Oct 2013 14:29:03 +0200 (CEST)
From:      Christoph Moench-Tegeder <cmt@burggraben.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/182683: multimedia/libquicktime fails to build (post-patch botches configure)
Message-ID:  <20131005122903.C46D6312B1@elch.exwg.net>
Resent-Message-ID: <201310051230.r95CU0eB027658@freefall.freebsd.org>

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

>Number:         182683
>Category:       ports
>Synopsis:       multimedia/libquicktime fails to build (post-patch botches configure)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 12:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christoph Moench-Tegeder
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD elch.exwg.net 9.2-RELEASE FreeBSD 9.2-RELEASE #11 r255911: Fri Sep 27 17:09:40 CEST 2013 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64

multimedia/libquicktime    libquicktime-1.2.4_4

>Description:
	the configure stage of libquicktime fails with
: ./configure: 9625: Syntax error: ")" unexpected (expecting ";;")
: ===>  Script "configure" failed unexpectedly.
    post-patch, using REINPLACE_CMD with "'/objformat=/s|=.*|=elf|'" simply
    killed the trailing ";;" from the case statement.
>How-To-Repeat:
	just type make...
>Fix:
    making sure that REINPLACE_COMMAND does not eat the remainder of the
    line is easy enough:

Index: Makefile
===================================================================
--- Makefile	(revision 329446)
+++ Makefile	(working copy)
@@ -155,7 +155,7 @@
 	@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
 		${WRKSRC}/plugins/audiocodec/* \
 		${WRKSRC}/plugins/videocodec/*
-	@${REINPLACE_CMD} -e '/objformat=/s|=.*|=elf|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e '/objformat=/s|=.* |=elf |' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|-DG.*_DISABLE_DEPRECATED||g' \
 		${WRKSRC}/configure*
 

Regards,
Christoph
>Release-Note:
>Audit-Trail:
>Unformatted:



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