Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 2004 10:26:10 -0400 (EDT)
From:      Michael Johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lioux@FreeBSD.org
Subject:   ports/72448: [PATCH] multimedia/openquicktime: [Fix build on 5.3]
Message-ID:  <200410081426.i98EQArO056611@blueheron.ahze.net>
Resent-Message-ID: <200410081430.i98EUQ4v035701@freefall.freebsd.org>

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

>Number:         72448
>Category:       ports
>Synopsis:       [PATCH] multimedia/openquicktime: [Fix build on 5.3]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 08 14:30:26 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.3-BETA6 i386
>Organization:
>Environment:
System: FreeBSD blueheron.ahze.net 5.3-BETA6 FreeBSD 5.3-BETA6 #67: Fri Oct  1 15:03:41 EDT
>Description:
- Fix build on 5.3

Port maintainer (lioux@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- openquicktime-1.0_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/openquicktime/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	19 Sep 2004 02:54:58 -0000	1.11
+++ Makefile	8 Oct 2004 14:24:49 -0000
@@ -31,10 +31,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 502126
-BROKEN=		"Does not compile on FreeBSD >= 5.x"
-.endif
-
 .ifndef(WITH_DEBUG)
 CONFIGURE_ARGS+=	--enable-debug=no
 .endif
@@ -45,6 +41,9 @@
 
 post-patch:
 	@${REINPLACE_CMD} -e "s/xCC/xc/" ${WRKSRC}/configure
+.if ${OSVERSION} >= 502126
+	@${REINPLACE_CMD} -e 's|-fpic||' ${WRKSRC}/configure
+.endif
 
 post-install:
 	@${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
--- openquicktime-1.0_1.patch ends here ---

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



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