ports/108170: [Update] games/deal BROKEN on sparc64

Marcelo Araujo araujo at bsdmail.org
Sat Jan 20 23:40:19 UTC 2007


>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 at 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 at FreeBSD.org
+MAINTAINER=	araujo at 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 at -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 at -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:



More information about the freebsd-ports-bugs mailing list