[BACK]Return to hacks.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / b-em

File: [cvs.NetBSD.org] / pkgsrc / emulators / b-em / Attic / hacks.mk (download)

Revision 1.5, Mon Jan 21 13:51:35 2013 UTC (7 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.4: +3 -3 lines

Blind commit requested in automake/Makefile.

# $NetBSD: hacks.mk,v 1.5 2013/01/21 13:51:35 wiz Exp $

# This package's distfile has the wonderful idea of containing
# symlinks into /usr/share/automake-1.11/. What will they think of
# next?

BUILD_DEPENDS+=		automake>=1.13<1.14:../../devel/automake

post-extract:
	@${ECHO} 'Fixing symlinks to external files'
.for file in compile COPYING depcomp INSTALL
	[ -h ${WRKSRC}/${file} ] || exit 1
	rm -f ${WRKSRC}/${file}
	cp ${PREFIX}/share/automake-1.13/${file} ${WRKSRC}/${file}
.endfor