pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/clisp lang/clisp: fix pkglint warnings and notes



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0d70a8f91075
branches:  trunk
changeset: 416905:0d70a8f91075
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Nov 02 10:20:42 2019 +0000

description:
lang/clisp: fix pkglint warnings and notes

diffstat:

 lang/clisp/Makefile  |   8 +++-----
 lang/clisp/module.mk |  12 +++++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (63 lines):

diff -r 3a8e6f83d289 -r 0d70a8f91075 lang/clisp/Makefile
--- a/lang/clisp/Makefile       Sat Nov 02 06:51:26 2019 +0000
+++ b/lang/clisp/Makefile       Sat Nov 02 10:20:42 2019 +0000
@@ -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 @@
 
 # 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 @@
 
 .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-free
 .endif
 
-.if $(MACHINE_ARCH:Mi386)
+.if ${MACHINE_ARCH} == i386
 CFLAGS+=               -falign-functions=4     # force the assumption
 .endif
 
diff -r 3a8e6f83d289 -r 0d70a8f91075 lang/clisp/module.mk
--- a/lang/clisp/module.mk      Sat Nov 02 06:51:26 2019 +0000
+++ b/lang/clisp/module.mk      Sat Nov 02 10:20:42 2019 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index