summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2003-05-05 10:54:13 +0000
committeragc <agc@pkgsrc.org>2003-05-05 10:54:13 +0000
commitcd52523c8a27d4bbeddbb61901d6da7cae6bb77e (patch)
treed3f4baedf85a2543107ecb7d5d8b6a79bb511f98 /shells
parentf31105e1dded12bab6d11b64cbbca0022eb9a912 (diff)
downloadpkgsrc-cd52523c8a27d4bbeddbb61901d6da7cae6bb77e.tar.gz
Nail down the definitions of ${PKG_INFO} and ${PKG_CREATE} before resetting
${LOCALBASE} - makes this package install successfully on systems where the package tools may reside under ${LOCALBASE}. On Solaris, don't set "-static" into LDFLAGS, so that the package builds properly.
Diffstat (limited to 'shells')
-rw-r--r--shells/standalone-tcsh/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/shells/standalone-tcsh/Makefile b/shells/standalone-tcsh/Makefile
index 338a8cd4090..81003b22498 100644
--- a/shells/standalone-tcsh/Makefile
+++ b/shells/standalone-tcsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/05/01 21:45:46 agc Exp $
+# $NetBSD: Makefile,v 1.9 2003/05/05 10:54:13 agc Exp $
#
NO_MTREE= YES
@@ -12,8 +12,9 @@ PKG_SHELL= /bin/tcsh
COMMENT:= Standalone version of the Extended C-shell
-LDFLAGS+= -static
PATCH:= ${PATCH}
+PKG_INFO:= ${PKG_INFO}
+PKG_CREATE:= ${PKG_CREATE}
LOCALBASE= /
NLSDIR= usr/share/nls
CONFIGURE_ARGS= --prefix=${PREFIX} --bindir=/bin
@@ -21,3 +22,7 @@ CONFIGURE_ARGS+= --mandir=/usr/share/man
DISTINFO_FILE= ${.CURDIR}/../../shells/tcsh/distinfo
PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches
+
+.if ${OPSYS} != "SunOS"
+LDFLAGS+= -static
+.endif