Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2007 21:36:43 -0000
From:      "Marcelo Araujo" <araujo@bsdmail.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/108170: [Update] games/deal BROKEN on sparc64
Message-ID:  <1169329003.13902@reloaded.freebsd.org>
Resent-Message-ID: <200701202340.l0KNeJJJ034646@freefall.freebsd.org>

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

>Number:         108170
>Category:       ports
>Synopsis:       [Update] games/deal BROKEN on sparc64
>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:   Sat Jan 20 23:40:18 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Marcelo Araujo
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
BSD EXPERIENCE 
>Environment:


System: FreeBSD 6.2-PRERELEASE #2: Fri Nov 24 21:44:48 UTC 2006
    araujo@reloaded.freebsd.org:/usr/src/sys/i386/compile/RELOADED



>Description:


- Set to BROKEN on sparc64
- Set arch i386 pre-build
- take maintainership


>How-To-Repeat:





>Fix:


--- deal.diff begins here ---
? @
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/games/deal/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	23 Aug 2006 13:29:36 -0000	1.10
+++ Makefile	20 Jan 2007 23:31:14 -0000
@@ -10,7 +10,7 @@
 CATEGORIES=	games
 MASTER_SITES=	http://catb.org/~esr/deal/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	araujo@bsdmail.org
 COMMENT=	A calculator for card-draw probabilities
 
 ALL_TARGET=	deal
@@ -18,17 +18,19 @@
 MAN1=		deal.1
 PLIST_FILES=	bin/deal
 
-pre-build:
-	${REINPLACE_CMD} -e "s@-g@${CFLAGS}@g" ${WRKSRC}/Makefile
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/deal ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/deal.1 ${PREFIX}/man/man1
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "ia64"
-BROKEN=		Does not compile on ia64
+.if ${ARCH} == "i386"
+pre-build:
+	${REINPLACE_CMD} -e "s@-g@${CFLAGS}@g" ${WRKSRC}/Makefile
+.endif
+
+.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
+BROKEN=		Does not compile on ia64 and sparc64
 .endif
 
 .include <bsd.port.post.mk>
--- deal.diff ends here ---



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



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