ports/107160: update irc/ircservices: don't build it on the sparc64

Andrey V. Elsukov bu7cher at yandex.ru
Sun Dec 24 01:00:36 UTC 2006


>Number:         107160
>Category:       ports
>Synopsis:       update irc/ircservices: don't build it on the sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 24 01:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrey V. Elsukov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
FreeBSD
	
>Description:
Disable sparc64 build. I don't have sparc and can't fix build errors.
http://docs.freebsd.org/mail/current/freebsd-bugs.html

>How-To-Repeat:
>Fix:

	

--- ircservices.diff begins here ---
--- ircservices.orig/Makefile	Tue Oct 31 20:12:31 2006
+++ ircservices/Makefile	Sun Dec 24 03:31:08 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	ircservices
 PORTVERSION=	5.0.${PATCHLEVEL}
+PORTREVISION=	1
 CATEGORIES=	irc
 MASTER_SITES=	http://www.ircservices.za.net/download/ \
 	ftp://ftp.esper.net/ircservices/ \
@@ -31,17 +32,12 @@
 USE_GMAKE=	yes
 USE_RC_SUBR=	ircservices
 USE_GCC=	3.2+
+NOT_FOR_ARCHS=	sparc64
 
 DIST_SUBDIR=	${PORTNAME}
 CFLAGS+=	-fPIC
 CONFIGURE_ARGS=	-prefix ${PREFIX} -cflags "${CFLAGS}" -cc "${CC}"
 
-.include <bsd.port.pre.mk>
-
-.if ${ARCH}=="sparc64"
-CFLAGS:=	${CFLAGS:C/-O[0-3]//g}
-.endif
-
 post-install:
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
@@ -49,4 +45,4 @@
 	@${INSTALL_DATA} ${WRKSRC}/Changes ${WRKSRC}/KnownBugs ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
--- ircservices.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list