d18ecc5b7c
pkgsrc changes: - Add patch-nls_Makefile.in to avoid +x bit in *.cat files - Remove no longer needed patches (all applied upstream): patch-ed.chared.c, patch-ed.inputl.c, patch-nls-catgen, patch-sh.func.c, patch-tw.init.c Changes: V6.21.00 - 20190508 ------------------- - Abort history loading on words and lines too long https://bugzilla.redhat.com/show_bug.cgi?id=1598502 - PR/37: Introduce GetCmdChar() to avoid open coding array access. make closem() not close sockets so as not to affect nss_ldap. tcsh never creates sockets so that's ok (Miloslav Trmac) - PR/597: Make rmstar work with aliased rm - convert match() from recursive to backtracking. - Handle 8 bit characters in bindkey (Werner Fink) - Look for tgetent in libtinfo as well (Werner Fink) - Don't play pointer tricks that are undefined in modern c (Brooks Davis) - Fix out of bounds read (Brooks Davis) - Fix type of read in prompt confirmation (eg. rmstar) (David Kaspar) - PR/471: Delay arginp parsing ok <kim>, thanks!
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.29 2019/05/09 11:32:36 leot Exp $
|
|
#
|
|
|
|
# FIXME: This is because of PREFIX=/ below.
|
|
CHECK_FILES_SUPPORTED= no
|
|
NOT_FOR_UNPRIVILEGED= yes
|
|
|
|
PKGNAME= standalone-${DISTNAME}
|
|
PKGREVISION= 0 # ALWAYS needs to be set; 0 if none.
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches
|
|
|
|
# This package only makes sense on platforms that don't themselves ship tcsh
|
|
# in /bin. Otherwise it clobbers the native copy, which really isn't what
|
|
# anyone wants.
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* SunOS-*-*
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OS_VARIANT} == "OmniOS"
|
|
NOT_FOR_PLATFORM+= SunOS-*-*
|
|
.endif
|
|
|
|
.include "../../shells/tcsh/Makefile"
|
|
|
|
INSTALLATION_DIRS+= usr/share/man/man1
|
|
|
|
COMMENT:= Standalone version of the Extended C-shell
|
|
MAINTAINER= agc@NetBSD.org
|
|
|
|
# FIXME: Packages shall only install into ${LOCALBASE} or a subdirectory.
|
|
PREFIX= /
|
|
NOT_FOR_BULK_PLATFORM= *-*-*
|
|
|
|
NLSDIR= usr/share/nls
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
|
|
CONFIGURE_ARGS+= --bindir=/bin
|
|
CONFIGURE_ARGS+= --mandir=/usr/share/man
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../../shells/tcsh/distinfo
|
|
|
|
.if ${OPSYS} != "SunOS"
|
|
LDFLAGS+= -static
|
|
.endif
|