diff options
-rw-r--r-- | mk/mk.conf.example | 7 | ||||
-rw-r--r-- | shells/tcsh/Makefile | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/mk/mk.conf.example b/mk/mk.conf.example index 2388bfb4e17..39d76b7aeee 100644 --- a/mk/mk.conf.example +++ b/mk/mk.conf.example @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf.example,v 1.147 2000/08/13 09:07:45 veego Exp $ +# $NetBSD: mk.conf.example,v 1.148 2000/08/30 18:00:50 abs Exp $ # # Sample /etc/mk.conf file, which can be used to set specific values @@ -611,6 +611,11 @@ PAPERSIZE= A4 # Possible: YES, or NO. # Default: NO +#TCSH_STATIC= +# Produce static version of tcsh binary - advised if used as login shell +# Possible: defined, not defined +# Default: not defined + #UPCLIENT_LOGIN= #UPCLIENT_PASSWORD= #UPCLIENT_HOSTID= diff --git a/shells/tcsh/Makefile b/shells/tcsh/Makefile index 7ccc6309611..82ba34a1df5 100644 --- a/shells/tcsh/Makefile +++ b/shells/tcsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 1999/08/17 16:11:27 agc Exp $ +# $NetBSD: Makefile,v 1.20 2000/08/30 18:00:52 abs Exp $ # DISTNAME= tcsh-6.09 @@ -21,6 +21,10 @@ PLIST_SRC= ${WRKDIR}/PLIST-src .include "../../mk/bsd.prefs.mk" +.if defined(TCSH_STATIC) +LDFLAGS+= -static +.endif + .if ${OPSYS} == "SunOS" OS_VERSION!= echo ${OS_VERSION} | sed -e 's|5\.|2.|' LOWER_OPSYS= solaris${OS_VERSION} |