pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/fricas fricas: skip PIE check for one file



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b43e1d511933
branches:  trunk
changeset: 390513:b43e1d511933
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 21 13:33:59 2022 +0000

description:
fricas: skip PIE check for one file

Makes this package. If you know how to make this file PIE, please do so!

diffstat:

 math/fricas/Makefile   |   9 ++++++---
 math/fricas/options.mk |  10 +++++-----
 2 files changed, 11 insertions(+), 8 deletions(-)

diffs (59 lines):

diff -r d11f49b33b76 -r b43e1d511933 math/fricas/Makefile
--- a/math/fricas/Makefile      Wed Dec 21 13:19:30 2022 +0000
+++ b/math/fricas/Makefile      Wed Dec 21 13:33:59 2022 +0000
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.31 2021/12/08 16:05:33 adam Exp $
+# $NetBSD: Makefile,v 1.32 2022/12/21 13:33:59 wiz Exp $
 
+DISTNAME=              ${PKGNAME_NOREV}-full
 PKGNAME=               fricas-1.3.5
 PKGREVISION=           2
-DISTNAME=              ${PKGNAME_NOREV}-full
 CATEGORIES=            math
 MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=fricas/}
 EXTRACT_SUFX=          .tar.bz2
 
 MAINTAINER=            asau%inbox.ru@localhost
 HOMEPAGE=              http://fricas.sourceforge.net/
-COMMENT=               FriCAS is a fork of the Axiom computer algebra system
+COMMENT=               Fork of the Axiom computer algebra system
 LICENSE=               modified-bsd
 
 MAKE_JOBS_SAFE=                no
@@ -19,6 +19,9 @@
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake
 
+# XXX: this file is not PIE
+CHECK_PIE_SKIP=                lib/fricas/target/*/bin/AXIOMsys
+
 # Problems:
 # 4. Emacs files should go into "site-lisp".
 
diff -r d11f49b33b76 -r b43e1d511933 math/fricas/options.mk
--- a/math/fricas/options.mk    Wed Dec 21 13:19:30 2022 +0000
+++ b/math/fricas/options.mk    Wed Dec 21 13:33:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2017/04/13 13:00:43 asau Exp $
+# $NetBSD: options.mk,v 1.8 2022/12/21 13:33:59 wiz Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.fricas
 PKG_OPTIONS_REQUIRED_GROUPS=   lisp
@@ -49,13 +49,13 @@
 #PRINT_PLIST_AWK+=     {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/share\/viewports\// || $$0 ~ /\.(bitmap|xbm|xbm.tiny|bm|bakmap|xpm|ht|pht|ps)$$/) {$$0 = "$${x11}" $$0;}}
 # ...where "util.ht" is false positive.
 # files in lib/.../bin
-.for _file_ in htadd hypertex viewAlone
+.  for _file_ in htadd hypertex viewAlone
 PRINT_PLIST_AWK+=      {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/bin\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
-.endfor
+.  endfor
 # files in lib/.../lib
-.for _file_ in ex2ht hthits htsearch presea spadbuf view2D view3D viewman
+.  for _file_ in ex2ht hthits htsearch presea spadbuf view2D view3D viewman
 PRINT_PLIST_AWK+=      {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/lib\/${_file_}$$/) {$$0 = "$${x11}" $$0;}}
-.endfor
+.  endfor
 # all files in lib/.../bitmaps
 PRINT_PLIST_AWK+=      {if ($$0 !~ /^\$${x11}/ && $$0 ~ /\/bitmaps\/[^\/]*$$/) {$$0 = "$${x11}" $$0;}}
 # all files in lib/.../lib/graph:



Home | Main Index | Thread Index | Old Index