Subject: finding path to 'wish' vs. buildlink2.mk
To: None <tech-pkg@netbsd.org>
From: Dan McMahill <dmcmahill@NetBSD.org>
List: tech-pkg
Date: 08/15/2003 07:36:16
I'm working on a package which uses autoconf and has an
AC_PATH_PROG(WISH, wish)
where the result is used to produce a
#!/usr/pkg/bin/wish
line in some file. However, if I use buildlink, then it ends up giving
something like /usr/pkgsrc/foo/bar/work/.buildlink2/bin/wish
Since the only thing the pkg cares about is the location of wish, should
I just add a DEPENDS on tk instead of including its buildlink2.mk file?
Thanks
-Dan
--