how to add missing mkinstalldirs

Stefan Pauly stefan at fh-mainz.de
Wed May 17 12:28:12 UTC 2006


Hi all,

I've made a patch for sysutils/mcron to fix a fetching problem
and to update. In the new distfile the file mkinstalldirs is
missing. I can see several ways to solve this:

Deliver it with the port (some extra byte) and copy it:
	@${CP} ${FILESDIR}/mkinstalldirs ${WRKSRC}

Create a new dependency on automake and link it:
	@${LN} -sf ${AUTOMAKE_DIR}/mkinstalldirs  ${WRKSRC}

Or replace it in Makefile.in:
	@${REINPLACE_CMD} -e 's|./mkinstalldirs|mkdir -p|g' ${WRKSRC}/Makefile.in

What would you suggest/prefer?

Best Regards
Stefan



More information about the freebsd-ports mailing list