Re: pkg/60184 (Fix chibi-scheme installation on macos)
"Taylor R Campbell via gnats" <[email protected]> Sun, 12 Apr 2026 13:10:01 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR pkg/60184; it has been noted by GNATS. From: Taylor R Campbell <[email protected]> To: "Diogo" <[email protected]> Cc: [email protected], [email protected], [email protected], [email protected] Subject: Re: pkg/60184 (Fix chibi-scheme installation on macos) Date: Sun, 12 Apr 2026 13:09:16 +0000 > Date: Sat, 11 Apr 2026 22:14:46 +0200 > From: "Diogo" <[email protected]> > > > So why isn't shlib-dylib.awk already working here? > > I tried looking in the logs inside work/, but couldn't find any > hint. How would you proceed to figure out that? Here's the relevant fragments of mk/plist/plist.mk: # This is the path to the generated PLIST file. PLIST= ${WRKDIR}/.PLIST ... _PLIST_SHLIB_AWK= -f ${_SHLIB_AWKFILE.${SHLIB_TYPE}} ... _SHLIB_AWKFILE.dylib= ${.CURDIR}/../../mk/plist/shlib-dylib.awk ... ${PLIST}: ${RUN} \ ${TEST} -d ${.TARGET:H} || ${MKDIR} ${.TARGET:H}; \ { ${_GENERATE_PLIST} } > ${.TARGET}-1src; \ ${PKGSRC_SETENV} ${_PLIST_AWK_ENV} ${AWK} \ ${_PLIST_1_AWK} < ${.TARGET}-1src > ${.TARGET}-2mac; \ ${PKGSRC_SETENV} ${_PLIST_AWK_ENV} ${AWK} \ ${_PLIST_AWK} < ${.TARGET}-2mac > ${.TARGET}-3mag; \ ${PKGSRC_SETENV} ${_PLIST_AWK_ENV} ${AWK} \ ${_PLIST_SHLIB_AWK} < ${.TARGET}-3mag > ${.TARGET} So the files to look at should be lang/chibi-scheme/work/.PLIST*. in particular, .PLIST-3mag should have the .so paths, and .PLIST should have them all fixed up to be dylibs. You can, say, insert debug prints into shlib-dylib.awk, and then run `bmake plist-clean && bmake plist' to rerun it to generate the plist afresh without having to rebuild anything else.