summaryrefslogtreecommitdiff
path: root/emulators/b-em/hacks.mk
blob: e7766f767d00b875d4d27f4bf633176a25fd8800 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: hacks.mk,v 1.4 2012/07/28 07:13:05 dholland 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.12<1.13:../../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.12/${file} ${WRKSRC}/${file}
.endfor