pkgsrc/devel/valide/hacks.mk
dholland 82d8026ebd Fix the first two or three build failures. Judging by what comes next
it is probably not worth trying to patch this any further, rather than
updating it (although there are/were some problems with things it may
depend on) but maybe making some progress will inspire someone else to
take this up.

In particular I tracked down the lossage where it was looking for vala
1.0 and the current vala versions are 0.12 and 0.14. It seems that
what someone optimistically intended at some point to be vala-1.0
(after vala-0.9) ended up released as vala-0.10.
2012-04-02 04:02:46 +00:00

10 lines
427 B
Makefile

# $NetBSD: hacks.mk,v 1.1 2012/04/02 04:02:46 dholland Exp $
# Apparently, what was ambitiously called "vala-1.0.pc" in some early release was
# later retconned to "vala-0.10.pc", and thus now 0.12.
#
# Also, this package runs "valac" as "valac" rather than as "valac-0.12".
post-wrapper:
ln -s ${LOCALBASE}/lib/pkgconfig/libvala-0.12.pc ${BUILDLINK_DIR}/lib/pkgconfig/vala-1.0.pc
ln -s ${VALAC} ${BUILDLINK_DIR}/bin/valac