blob: 0ee32110d806bb0a06eae267048b45c66d3c8ee9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: hacks.mk,v 1.2 2012/03/26 03:30:45 dholland Exp $
# This package's distfile has the wonderful idea of containing
# symlinks to various things in /usr/share/automake-1.11/. What
# will they think of next?
BUILD_DEPENDS+= automake>=1.11<1.12:../../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.11/${FILE} ${WRKSRC}/${FILE}
.endfor
|