Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 May 2006 14:28:02 +0200
From:      Stefan Pauly <stefan@fh-mainz.de>
To:        freebsd-ports@freebsd.org
Subject:   how to add missing mkinstalldirs
Message-ID:  <446B16D2.7040704@fh-mainz.de>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?446B16D2.7040704>