Subject: Re: PR 7649 (gtk.m4 installed into wrong place)
To: None <itojun@iijlab.net>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 10/12/1999 20:40:50
It would be much cooler to patch autoconf to pass additional -Idir
flags to gm4.  I'd rather not use symlinks from /usr/X11R6 to
/usr/pkg, since it's still possible that in the future we may allow
installation of X11 packages outside the X11R6 tree, and your PLIST
modification would break.

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/

itojun@iijlab.net writes:
> 	I was bitten by this many times in the past, and finally found
> 	the reason.  I just would like to 
> 
> 	NetBSD pkgsrc/x11/gtk installs gtk.m4, which is a macro file to be
> 	used with automake, into /usr/X11R6/share/aclocal not
> 	/usr/pkgsrc/share/aclocal.
> 	Many third-party automake input file (configure.in) refers to
> 	AM_PATH_GTK macro in gtk.m4, and aclocal fails to find gtk.m4 and
> 	automake fials.
> 
> 	Is it okay, if we add "@exec ln -s" clause into
> 	pkgsrc/x11/gtk/pkg/PLIST?  This is the easiest workaround.
> 
> itojun