ports/182039: devel/xa65: CLANG fixes

Uffe Jakobsen uffe at uffe.org
Thu Sep 12 13:30:02 UTC 2013


>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:


More information about the freebsd-ports-bugs mailing list