Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 09:11:08 GMT
From:      Horia Racoviceanu <horia@racoviceanu.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/183838: Fix sysutils/dvdisaster build with clang [PATCH]
Message-ID:  <201311100911.rAA9B8wZ018933@oldred.freebsd.org>
Resent-Message-ID: <201311100920.rAA9K0sQ095557@freefall.freebsd.org>

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

>Number:         183838
>Category:       ports
>Synopsis:       Fix sysutils/dvdisaster build with clang [PATCH]
>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:   Sun Nov 10 09:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Horia Racoviceanu
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
FreeBSD horia.lan 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep  9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Fix build with a gcc-less world.
>How-To-Repeat:

>Fix:
Despite the software insisting on gcc, it compiles
and is fully functional with the clang c compiler.

Build log:
https://redports.org/buildarchive/20131110064220-25444/

Patch attached with submission follows:

diff -ruN dvdisaster-org/Makefile dvdisaster/Makefile
--- dvdisaster-org/Makefile	2013-09-20 19:05:58.000000000 -0400
+++ dvdisaster/Makefile	2013-11-10 01:15:35.000000000 -0500
@@ -41,6 +41,10 @@
 MANLANG=	"" cs de it
 
 NO_STAGE=	yes
+
+post-patch:
+	${REINPLACE_CMD} -e '/REQUIRE_GCC/d' ${WRKSRC}/configure ${WRKSRC}/tools/configure
+
 do-configure:
 	@(cd ${CONFIGURE_WRKSRC} && \
 		if ! ${SETENV} CC="${CC}" CXX="${CXX}" \


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



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