diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 391c89cbb61..2e960917d30 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.37 2001/09/06 03:49:55 brad Exp $ +# $OpenBSD: Makefile,v 1.38 2001/12/07 13:52:36 brad Exp $ COMMENT= "multi-screen window manager" VERSION= 3.9.10 DISTNAME= screen-${VERSION} CATEGORIES= misc -NEED_VERSION= 1.435 +NEED_VERSION= 1.500 MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ HOMEPAGE= http://www.gnu.org/software/screen/ @@ -22,6 +22,13 @@ SUBST_VARS= VERSION CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --with-sys-screenrc="${SYSCONFDIR}/screenrc" +FLAVORS= static +FLAVOR?= + +.if ${FLAVOR:L} == "static" +CONFIGURE_ENV= LDFLAGS="-static" +.endif + ALL_TARGET= screen screen.info post-install: diff --git a/misc/screen/files/md5 b/misc/screen/distinfo similarity index 100% rename from misc/screen/files/md5 rename to misc/screen/distinfo diff --git a/misc/screen/pkg/DESCR b/misc/screen/pkg/DESCR index ab26d057983..9508e185ce9 100644 --- a/misc/screen/pkg/DESCR +++ b/misc/screen/pkg/DESCR @@ -7,4 +7,7 @@ multiple character sets). There is a scrollback history buffer for each virtual terminal and a copy-and-paste mechanism that allows moving text regions between windows. +Flavors: + static - Build with statically linked binaries. + WWW: ${HOMEPAGE}