summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2003-09-14 06:31:33 +0000
committerCy Schubert <cy@FreeBSD.org>2003-09-14 06:31:33 +0000
commit3c8a99c287abc89dea98e3896af3b478dd4ca576 (patch)
tree2fee10e248b2f102973502f3f0dd0cbca2b95bd0 /misc
parentForgotten removing files/patch-al. (diff)
Fix segfault on Alpha platform.
Approved by: marcus (wearing his portsmgr hat)
Notes
Notes: svn path=/head/; revision=88978
Diffstat (limited to 'misc')
-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>