aboutsummaryrefslogtreecommitdiffstats
path: root/irc/ircservices
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-09-16 04:03:40 +0800
committergahr <gahr@FreeBSD.org>2008-09-16 04:03:40 +0800
commit897536378af02b6d6f7e6f85c61aebbd388e82d5 (patch)
treecec82b55cd545d8fd5bb93b7fce6f01170f00dc2 /irc/ircservices
parent00433d4d6c9bfbd2e26047c613202730816ca175 (diff)
downloadfreebsd-ports-gnome-897536378af02b6d6f7e6f85c61aebbd388e82d5.tar.gz
freebsd-ports-gnome-897536378af02b6d6f7e6f85c61aebbd388e82d5.tar.zst
freebsd-ports-gnome-897536378af02b6d6f7e6f85c61aebbd388e82d5.zip
- Fix CFLAGS settings
- Fix build on sparc64 Approved by: portmgr (pav)
Diffstat (limited to 'irc/ircservices')
-rw-r--r--irc/ircservices/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/irc/ircservices/Makefile b/irc/ircservices/Makefile
index ce62ffb95c03..aac4be279715 100644
--- a/irc/ircservices/Makefile
+++ b/irc/ircservices/Makefile
@@ -21,16 +21,18 @@ USE_GMAKE= yes
USE_RC_SUBR= ircservices
DIST_SUBDIR= ${PORTNAME}
-CFLAGS+= -fPIC
CONFIGURE_ARGS= -prefix ${PREFIX} -cflags "${CFLAGS}" -cc "${CC}"
IRCSERVICES_LANG?= EN_US
.include <bsd.port.pre.mk>
-.if ${ARCH}=="sparc64"
-CONFIGURE_ARGS+= -ignore-cache
-CFLAGS:= ${CFLAGS:N-O*:N-pipe}
+.if ${OSVERSION} > 700042
+CFLAGS+= -fno-stack-protector
+.endif
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
.endif
pre-patch: