summaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-10-31 17:12:31 +0000
committershaun <shaun@FreeBSD.org>2006-10-31 17:12:31 +0000
commit61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce (patch)
treefa1c9585a0957ead91987b0b87afb0b6093435e8 /irc
parent728e69d5cf6a17dac9e790e5fd082745bf66c6f6 (diff)
downloadFreeBSD-ports-61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce.zip
FreeBSD-ports-61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce.tar.gz
Fix build on sparc64.
PR: ports/104852 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> (maintainer)
Diffstat (limited to 'irc')
-rw-r--r--irc/ircservices/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/irc/ircservices/Makefile b/irc/ircservices/Makefile
index d4af969..2632bac 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 <bsd.port.pre.mk>
+.if ${ARCH}=="sparc64"
+CFLAGS:= ${CFLAGS:C/-O[0-3]//g}
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
OpenPOWER on IntegriCloud