On Sun, Apr 23, 2006 at 03:22:27PM +0000, Dirk Meyer wrote: > dinoex 2006-04-23 15:22:27 UTC > > FreeBSD ports repository > > Modified files: > graphics/cenon Makefile > Log: > - fix broken > only problems with gcc4.x.x > > Revision Changes Path > 1.5 +4 -2 ports/graphics/cenon/Makefile > http://cvsweb.FreeBSD.org/ports/graphics/cenon/Makefile.diff?r1=1.4&r2=1.5 > | =================================================================== > | RCS file: /usr/local/www/cvsroot/FreeBSD/ports/graphics/cenon/Makefile,v > | retrieving revision 1.4 > | retrieving revision 1.5 > | diff -u -p -r1.4 -r1.5 > | --- ports/graphics/cenon/Makefile 2006/04/22 22:10:17 1.4 > | +++ ports/graphics/cenon/Makefile 2006/04/23 15:22:27 1.5 > | @@ -2,7 +2,7 @@ > | # Date created: 16 Nov 2005 > | # Whom: Alexey Dokuchaev <[EMAIL > PROTECTED]> > | # > | -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/graphics/cenon/Makefile,v > 1.4 2006/04/22 22:10:17 kris Exp $ > | +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/graphics/cenon/Makefile,v > 1.5 2006/04/23 15:22:27 dinoex Exp $ > | # > | > | PORTNAME= cenon > | @@ -17,8 +17,6 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} > | MAINTAINER= [EMAIL PROTECTED] > | COMMENT= A vector graphics tool for GNUstep > | > | -BROKEN= Does not compile > | - > | GNUSTEP_PREFIX?= ${LOCALBASE}/GNUstep > | PREFIX= ${GNUSTEP_PREFIX} > | NO_MTREE= yes > | @@ -36,6 +34,10 @@ MAKEFILE= GNUmakefile > | OPTIONS= FULL_LIBRARY "Install complete Cenon Library" off > | > | .include <bsd.port.pre.mk> > | + > | +.if ${CC} == "gcc40" || ${CC} == "gcc41" || ${CC} == "gcc42" > | +BROKEN= Does not compile > | +.endif
It's wrong to test for CC this way - for example, what if the user has set CC=/usr/local/bin/gcc42? Kris
pgpTOImyeoXNl.pgp
Description: PGP signature