- Remove references to long unsupported "alpha" architecture

- While here, cleanup and simplify the Makefiles
This commit is contained in:
Alexey Dokuchaev 2014-01-28 14:45:30 +00:00
parent 28e28658d6
commit a0119d96b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=341586
2 changed files with 8 additions and 16 deletions

View File

@ -18,15 +18,12 @@ PLIST_FILES= sbin/gpart man/man8/gpart.8.gz
CFLAGS+= -std=c99
OPTIONS_DEFINE= STATIC
STATIC_LDFLAGS= -static
.include <bsd.port.options.mk>
.if ${ARCH} != "i386" && ${ARCH} != "alpha" && ${ARCH} != "amd64"
BROKEN= Only compiles on i386, amd64 and alpha.
.endif
.if ${PORT_OPTIONS:MSTATIC}
LDFLAGS+= -static
.if ${ARCH} != "i386" && ${ARCH} != "amd64"
BROKEN= only compiles on i386 and amd64
.endif
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# Created by: ache
# Created by: Andrey Chernov <ache@FreeBSD.org>
# $FreeBSD$
PORTNAME= screen
@ -8,11 +8,10 @@ CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
http://komquats.com/distfiles/ \
http://people.freebsd.org/~cy/distfiles/ \
${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= screen
GNU
MAINTAINER= cy@FreeBSD.org
COMMENT= A multi-screen window manager
COMMENT= Multi-screen window manager
OPTIONS_DEFINE= CJK INFO MAN NETHACK XTERM_256 HOSTINLOCKED SHOWENC
OPTIONS_DEFAULT= INFO MAN NETHACK XTERM_256
@ -40,10 +39,6 @@ INFO= screen
MAKE_ARGS+= -DWITH_INFO
.endif
.if ${ARCH} == "alpha"
CFLAGS+= -O0
.endif
# Enables support for 256 colour xterm. Note that you may need to
# set up a custom termcap entry or .screenrc which modifies termcap
# to contain the following: Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm
@ -76,7 +71,7 @@ post-patch:
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${STAGEDIR}${EXAMPLESDIR}/screenrc
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
${STAGEDIR}${EXAMPLESDIR}/screenrc
.include <bsd.port.mk>