From 61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce Mon Sep 17 00:00:00 2001 From: shaun Date: Tue, 31 Oct 2006 17:12:31 +0000 Subject: Fix build on sparc64. PR: ports/104852 Submitted by: Andrey V. Elsukov (maintainer) --- irc/ircservices/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/irc/ircservices/Makefile b/irc/ircservices/Makefile index d4af969d11d5..2632bac36b75 100644 --- a/irc/ircservices/Makefile +++ b/irc/ircservices/Makefile @@ -13,7 +13,7 @@ MASTER_SITES= http://www.ircservices.za.net/download/ \ ftp://ftp.ircd.com.br/ircservices/ \ http://banana.irc.gr/ircservices/ \ http://ircservices.swissirc.ch/ \ - ftp://ftp.freenet.de/pub/ftp.ircservices.za.net/pub/ircservices/ + ftp://ftp.freenet.de/pub/ftp.ircservices.za.net/pub/ircservices/ DISTNAME= ${PORTNAME}-5.0.0 @@ -38,6 +38,10 @@ CONFIGURE_ARGS= -prefix ${PREFIX} -cflags "${CFLAGS}" -cc "${CC}" .include +.if ${ARCH}=="sparc64" +CFLAGS:= ${CFLAGS:C/-O[0-3]//g} +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -- cgit