Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2006 03:57:06 +0300 (MSK)
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/107160: update irc/ircservices: don't build it on the sparc64
Message-ID:  <20061224005707.0809817023@btr-nb.properlan.net>
Resent-Message-ID: <200612240100.kBO10Ve9031737@freefall.freebsd.org>

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

>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:



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