Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2023 00:17:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 269020] devel/rubygem-oj fails to include header files needed for rubygem-oj-introspect
Message-ID:  <bug-269020-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 269020
           Summary: devel/rubygem-oj fails to include header files needed
                    for rubygem-oj-introspect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: lysfjord.daniel@smokepit.net
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org
 Attachment #239547 text/plain
         mime type:

Created attachment 239547
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239547&action=
=3Dedit
build log

header files are not included in the package, due to the directory
"/wrkdirs/usr/ports/devel/rubygem-oj/work/stage/usr/local/lib/ruby/gems/3.0=
/gems/oj-3.13.23/ext/oj/"
not existing when trying to do the "hack" in the Makefile, resulting in err=
ors
looking like this: install:
/wrkdirs/usr/ports/devel/rubygem-oj/work/stage/usr/local/lib/ruby/gems/3.0/=
gems/oj-3.13.23/ext/oj/val_stack.h:
No such file or directory

Changing the Makefile post-install hack to:
cd ${WRKSRC}/ext/oj && ${INSTALL_DATA} -d
"${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/ext/oj/" &&
${FIND} * -name "*.h" -type f -exec ${INSTALL_DATA} {}
"${STAGEDIR}${PREFIX}/${GEMS_DIR}/${PORTNAME}-${PORTVERSION}/ext/oj/{}" \;

(even worse hack, I know.. sorry), makes this work as expected again.

--=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-269020-7788>