aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshaun <shaun@FreeBSD.org>2006-11-01 01:12:31 +0800
committershaun <shaun@FreeBSD.org>2006-11-01 01:12:31 +0800
commit61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce (patch)
treefa1c9585a0957ead91987b0b87afb0b6093435e8
parent728e69d5cf6a17dac9e790e5fd082745bf66c6f6 (diff)
downloadfreebsd-ports-gnome-61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce.tar.gz
freebsd-ports-gnome-61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce.tar.zst
freebsd-ports-gnome-61cd10c2bfe7a82d9ec6e0ad1cd758aa3cdba8ce.zip
Fix build on sparc64.
PR: ports/104852 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> (maintainer)
-rw-r--r--irc/ircservices/Makefile6
1 files changed, 5 insertions, 1 deletions
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 <bsd.port.pre.mk>
+.if ${ARCH}=="sparc64"
+CFLAGS:= ${CFLAGS:C/-O[0-3]//g}
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}