How to handle go dependencies

Eugene Grosbein eugen at grosbein.net
Sun Jul 7 13:39:31 UTC 2019


07.07.2019 5:10, Dmitri Goutnik via freebsd-ports wrote:

> Which can be fixed by just copying the linux version (this probably needs to 
> be upstreamed):
> 
> post-patch:
> 	${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|" ${WRKSRC}/config.toml.example
> 	${MV} ${WRKSRC}/config.toml.example ${WRKSRC}/config.toml.sample
> +       ${CP} ${WRKSRC}/internal/helper/fstype/detect_linux.go ${WRKSRC}/internal/helper/fstype/detect_freebsd.go

Making a symlink instead of copy should be faster and produce less I/O.


More information about the freebsd-ports mailing list