pkgsrc-Bugs archive

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

Re: pkg/60184 (Fix chibi-scheme installation on macos)



The following reply was made to PR pkg/60184; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: "Diogo" <db7%sdf.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost,
	macos-pkg-people%netbsd.org@localhost,
	pkgsrc-bugs%netbsd.org@localhost,
	gnats-admin%netbsd.org@localhost
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" <db7%sdf.org@localhost>
 > 
 > > 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.
 



Home | Main Index | Thread Index | Old Index