From e7b82cb9fe5512d50e696601c2cc01a083bd8338 Mon Sep 17 00:00:00 2001 From: agc Date: Mon, 5 May 2003 10:54:13 +0000 Subject: 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. --- shells/standalone-tcsh/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'shells/standalone-tcsh') 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 -- cgit v1.2.3