summaryrefslogtreecommitdiff
path: root/shells/tcsh
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2000-08-30 18:00:50 +0000
committerabs <abs@pkgsrc.org>2000-08-30 18:00:50 +0000
commit6a70832eb7520fccdbb918aac4a402c6eee509bb (patch)
tree1cf32e6422ce769d6abef74ae392fb439c9bd693 /shells/tcsh
parent6d4c86eef3655f37ba0a4e8135789a68b7490d54 (diff)
downloadpkgsrc-6a70832eb7520fccdbb918aac4a402c6eee509bb.tar.gz
Add 'TCSH_STATIC' variable for producing static tcsh binary.
If only 'make LDFLAGS+=-static' would work...
Diffstat (limited to 'shells/tcsh')
-rw-r--r--shells/tcsh/Makefile6
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}