how to add missing mkinstalldirs

Pav Lucistnik pav at
Thu May 18 21:51:05 UTC 2006

Stefan Pauly píše v st 17. 05. 2006 v 14:28 +0200:
> 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
> 	@${REINPLACE_CMD} -e 's|./mkinstalldirs|mkdir -p|g' ${WRKSRC}/
> What would you suggest/prefer?

${REINPLACE_CMD} 's|./mkinstalldirs|${MKDIR}|g' should do.

Pav Lucistnik <pav at>
              <pav at>

Qlzqqlzup> ducks turn up in odd places
otie> as in cartoons.
  -- #angband
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
Url :

More information about the freebsd-ports mailing list