Fix segfault on Alpha platform.

Approved by:	marcus (wearing his portsmgr hat)
This commit is contained in:
Cy Schubert 2003-09-14 06:31:33 +00:00
parent 671b1453d0
commit 3c8a99c287
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88978
2 changed files with 14 additions and 2 deletions

View File

@ -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>

View File

@ -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>