summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2019-11-02 10:20:42 +0000
committerrillig <rillig@pkgsrc.org>2019-11-02 10:20:42 +0000
commitd843ee52c488b54eb7bc8ab93a43e952d60a87a0 (patch)
tree1d6ce96007937048598bffa0941f27c2873389e3 /lang
parent7bb7220a85117d72973797426e8f03ed1dfb7949 (diff)
downloadpkgsrc-d843ee52c488b54eb7bc8ab93a43e952d60a87a0.tar.gz
lang/clisp: fix pkglint warnings and notes
Diffstat (limited to 'lang')
-rw-r--r--lang/clisp/Makefile8
-rw-r--r--lang/clisp/module.mk12
2 files changed, 10 insertions, 10 deletions
diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
index b3a3e76093b..31800c07b0b 100644
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2019/08/13 14:24:31 rjs Exp $
+# $NetBSD: Makefile,v 1.115 2019/11/02 10:20:42 rillig Exp $
DISTNAME= clisp-2.49
PKGREVISION= 26
@@ -13,9 +13,7 @@ LICENSE= gnu-gpl-v2
# XXX: is this still current?
BROKEN_ON_PLATFORM+= *-*-arm
-
BROKEN_ON_PLATFORM+= *-*-aarch64
-
# makes the bulk build hang under MirBSD
BROKEN_ON_PLATFORM+= MirBSD-*-*
@@ -47,7 +45,7 @@ TEST_TARGET= check mod-check
.include "../../mk/bsd.prefs.mk"
-.if ${MACHINE_ARCH:Malpha} || ${MACHINE_ARCH:Mamd64} || ${MACHINE_ARCH:Mx86_64} || ${OPSYS} == "DragonFly"
+.if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == amd64 || ${MACHINE_ARCH} == x86_64 || ${OPSYS} == DragonFly
CONFIGURE_ARGS+= --disable-mmap
.endif
@@ -61,7 +59,7 @@ CFLAGS+= -fno-builtin-valloc
CFLAGS+= -fno-builtin-free
.endif
-.if $(MACHINE_ARCH:Mi386)
+.if ${MACHINE_ARCH} == i386
CFLAGS+= -falign-functions=4 # force the assumption
.endif
diff --git a/lang/clisp/module.mk b/lang/clisp/module.mk
index 8d613061d99..8ef52ca7656 100644
--- a/lang/clisp/module.mk
+++ b/lang/clisp/module.mk
@@ -1,7 +1,9 @@
-# $NetBSD: module.mk,v 1.11 2018/01/01 01:10:13 rillig Exp $
-
-# Used variables:
-# CLISP_MODULE - name of module and subdirectory in "modules"
+# $NetBSD: module.mk,v 1.12 2019/11/02 10:20:42 rillig Exp $
+#
+# Package-settable variables:
+#
+# CLISP_MODULE
+# name of module and subdirectory in "modules"
CLISP_VERSION= 2.49
DISTNAME= clisp-${CLISP_VERSION}
@@ -20,7 +22,7 @@ INSTALLATION_DIRS= lib/clisp
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/clisp/dynmod
cd ${WRKSRC}/modules; \
- ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} sh ${LOCALBASE}/bin/clisp-link install ${CLISP_MODULE}
+ ${SETENV} ${MAKE_ENV} ${INSTALL_ENV} sh ${PREFIX}/bin/clisp-link install ${CLISP_MODULE}
.endif
.include "../../lang/clisp/buildlink3.mk"