diff options
author | abs <abs> | 2000-08-30 18:00:50 +0000 |
---|---|---|
committer | abs <abs> | 2000-08-30 18:00:50 +0000 |
commit | e3eed647d29abe786792aa16810321e94fb79eba (patch) | |
tree | 1cf32e6422ce769d6abef74ae392fb439c9bd693 /shells | |
parent | 941036745473ac53eed7af8fee7a800a66a29c19 (diff) | |
download | pkgsrc-e3eed647d29abe786792aa16810321e94fb79eba.tar.gz |
Add 'TCSH_STATIC' variable for producing static tcsh binary.
If only 'make LDFLAGS+=-static' would work...
Diffstat (limited to 'shells')
-rw-r--r-- | shells/tcsh/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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} |