Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2013 13:27:47 GMT
From:      Uffe Jakobsen <uffe@uffe.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182039: devel/xa65: CLANG fixes
Message-ID:  <201309121327.r8CDRliO072389@oldred.freebsd.org>
Resent-Message-ID: <201309121330.r8CDU21x077951@freefall.freebsd.org>

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

>Number:         182039
>Category:       ports
>Synopsis:       devel/xa65: CLANG fixes
>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:   Thu Sep 12 13:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Uffe Jakobsen
>Release:        9.1-RELEASE
>Organization:
>Environment:
>Description:
This log reports that xa65 has a build problem with clang

http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-12_01h37m09s/logs/xa65-2.3.5.log

Patch attached.


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2013-09-12 15:21:03.434646560 +0200
+++ Makefile.new	2013-09-12 15:20:45.194426092 +0200
@@ -14,6 +14,8 @@
 
 USES=	gmake
 
+MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}"
+
 MAN1=	file65.1 ldo65.1 printcbm.1 reloc65.1 uncpk.1 xa.1
 MLINKS=	xa.1 xa65.1
 
@@ -27,11 +29,6 @@
 		bin/printcbm \
 		bin/uncpk
 
-post-patch-script:
-.for i in CC LDFLAGS CFLAGS
-	@${REINPLACE_CMD} 's|${i} = |${i} ?= |g' ${WRKSRC}/Makefile
-.endfor
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xa ${PREFIX}/bin/xa65
 .for file in file65 ldo65 reloc65 printcbm uncpk


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



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