summaryrefslogtreecommitdiff
path: root/shells/standalone-tcsh/Makefile
diff options
context:
space:
mode:
authoragc <agc>2003-05-05 10:54:13 +0000
committeragc <agc>2003-05-05 10:54:13 +0000
commita459810cb439061353e4a3c4854fcc3df02d5fd5 (patch)
treed3f4baedf85a2543107ecb7d5d8b6a79bb511f98 /shells/standalone-tcsh/Makefile
parent0598f4d99c3884d2ac4545e8fcc0473ce2d46872 (diff)
downloadpkgsrc-a459810cb439061353e4a3c4854fcc3df02d5fd5.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/standalone-tcsh/Makefile')
-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