summaryrefslogtreecommitdiff
path: root/shells/static-tcsh
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2021-11-15 17:11:57 +0000
committerkim <kim@pkgsrc.org>2021-11-15 17:11:57 +0000
commit9f5bce2d0dd90acb0028197dfd92b76712767dcf (patch)
tree195b518fcd205312cf0d39b9b5cf1078349f1bea /shells/static-tcsh
parent6aee3af3117f735f2a2e1f167ce587195aa38d26 (diff)
downloadpkgsrc-9f5bce2d0dd90acb0028197dfd92b76712767dcf.tar.gz
{,standalone-,static-}tcsh: Add build options for nls and static. Cleanup.
For tcsh and defaults for other variants, unless otherwise noted: - Option nls enables building of NLS catalogs. Enabled by default. - Option static enables static linking. Disabled by default. For standalone-tcsh: - Option static is enabled by default, except on SunOS. - Fix building of NLS catalogs, which possibly worked at some point in time given the existence of the NLSDIR variable in Makefile. - Use PLIST from tcsh, with some awk to transform the entries. - Use DESCR from tcsh as base, with an additional local DESCR. Adjust the local DESCR to not say that the package is static, as that is controlled by an option now (and never was true for all platforms). - Remove unnecessary DISTINFO_FILE, INSTALLATION_DIRS, and WRKSRC. For static-tcsh: - Option static is not available: the package is always built like tcsh with the static option enabled. - Remove unnecessary DISTINFO_FILE.
Diffstat (limited to 'shells/static-tcsh')
-rw-r--r--shells/static-tcsh/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/shells/static-tcsh/Makefile b/shells/static-tcsh/Makefile
index b79e2a142be..180f3205a6c 100644
--- a/shells/static-tcsh/Makefile
+++ b/shells/static-tcsh/Makefile
@@ -1,25 +1,19 @@
-# $NetBSD: Makefile,v 1.13 2021/11/14 22:15:13 kim Exp $
+# $NetBSD: Makefile,v 1.14 2021/11/15 17:11:58 kim Exp $
#
+PKGNAME= static-${DISTNAME}
+PKGREVISION= 2
+
.include "../../shells/tcsh/Makefile.common"
MAINTAINER= agc@NetBSD.org
-DISTINFO_FILE= ${.CURDIR}/../../shells/tcsh/distinfo
PATCHDIR= ${.CURDIR}/../../shells/tcsh/patches
PKGDIR= ${.CURDIR}/../../shells/tcsh
DESCR_SRC= ${.CURDIR}/../../shells/tcsh/DESCR ${.CURDIR}/DESCR
CONFLICTS= tcsh-[0-9]*
-PKGNAME= static-${DISTNAME}
-PKGREVISION= 1
-
-# SunOS 5.10 stopped shipping static libraries.
-NOT_FOR_PLATFORM+= SunOS-5.1[0-9]-*
-
-COMMENT:= Statically-linked version of the ${COMMENT}
-
-LDFLAGS+= -static
+COMMENT= Statically-linked version of the Extended C-shell
.include "../../mk/bsd.pkg.mk"