ports/183838: Fix sysutils/dvdisaster build with clang [PATCH]
Horia Racoviceanu
horia at racoviceanu.com
Sun Nov 10 09:20:00 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list