ports/163226: [patch] vietnamese/libviet: respect CC/CFLAGS

Jan Beich jbeich at tormail.net
Tue Dec 13 06:10:14 UTC 2011


>Number:         163226
>Category:       ports
>Synopsis:       [patch] vietnamese/libviet: respect CC/CFLAGS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 13 06:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jan Beich
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
# slightly different from pointyhat
$ export PATH=~/.bin:$PATH
$ for cc in CC cc c++ gcc g++ cpp; do ln -s /usr/bin/false ~/.bin/${cc}; done
>Description:
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/vi-libviet-20010210_1.log
>Fix:
--- cc.diff begins here ---
Index: vietnamese/libviet/Makefile
===================================================================
RCS file: /a/.csup/ports/vietnamese/libviet/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- vietnamese/libviet/Makefile	22 Nov 2008 08:43:25 -0000	1.8
+++ vietnamese/libviet/Makefile	13 Dec 2011 03:48:53 -0000
@@ -19,6 +19,8 @@ COMMENT=	VIQR<->VISCII conversion and VI
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/lib
 USE_BZIP2=	yes
 
+MAKE_ARGS=	${MAKE_ENV:S/CFLAGS/FLAGS/}
+
 do-install:
 	@${INSTALL_DATA} ${WRKSRC}/libvntype.a ${WRKSRC}/libviqr.a  \
 		${PREFIX}/lib
--- cc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list