aboutsummaryrefslogtreecommitdiffstats
path: root/misc/screen
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2003-09-14 14:31:33 +0800
committercy <cy@FreeBSD.org>2003-09-14 14:31:33 +0800
commit4ce920dc0a17422976d75958118b6641a83d03e6 (patch)
treeb8043db8d7aaeb86a9d884574e8fc7efa8929e40 /misc/screen
parent7239437e215281936cc77051cbcfe79e5563a4af (diff)
downloadfreebsd-ports-gnome-4ce920dc0a17422976d75958118b6641a83d03e6.tar.gz
freebsd-ports-gnome-4ce920dc0a17422976d75958118b6641a83d03e6.tar.zst
freebsd-ports-gnome-4ce920dc0a17422976d75958118b6641a83d03e6.zip
Fix segfault on Alpha platform.
Approved by: marcus (wearing his portsmgr hat)
Diffstat (limited to 'misc/screen')
-rw-r--r--misc/screen/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index 015bb0917ec2..89c6b8b49c1f 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -18,6 +18,12 @@ COMMENT= A multi-screen window manager
GNU_CONFIGURE= yes
MAN1= screen.1
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${RM} ${WRKSRC}/doc/screen.info*
@@ -27,4 +33,4 @@ post-install:
${CP} ${PREFIX}/etc/screenrc.sample ${PREFIX}/etc/screenrc ; \
fi
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>