Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2024 03:46:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 277218] devel/gnulib not PREFIX-safe with DEVELOPER-mode on
Message-ID:  <bug-277218-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277218

            Bug ID: 277218
           Summary: devel/gnulib not PREFIX-safe with DEVELOPER-mode on
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: mi@ALDAN.algebra.com

Trying to build the port with DEVELOPER=3Dyes triggers the below error for =
me,
because my LOCALBASE is /opt, rather than the more commonly-used /usr/local:

Error: '/usr/local/bin/clisp' is an invalid shebang you need USES=3Dshebang=
fix
for 'share/gnulib/lib/uniname/gen-uninames.lisp'

The fix is simple enough. No PORTREVISION-rise is necessary, because the co=
mmon
case is not affected.

--- a/devel/gnulib/Makefile
+++ b/devel/gnulib/Makefile
@@ -15,7 +15,8 @@ LICENSE_COMB=3D multi
 BUILD_DEPENDS=3D ${LOCALBASE}/bin/makeinfo:print/texinfo

 USES=3D          cpe gmake perl5 shebangfix
-SHEBANG_FILES=3D check-module
+SHEBANG_FILES=3D check-module lib/uniname/gen-uninames.lisp
+SHEBANG_LANG=3D  clisp perl
 CPE_VENDOR=3D    gnu

 NO_ARCH=3D       yes

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277218-7788>