Subject: Re: warning: duplicate script for target "pre-install-script" ignored
To: Johnny Lam <jlam@pkgsrc.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 03/06/2006 15:50:34
> bmake: "../../mk/install/../../mk/install/Makefile" line 96: warning: using
> previous script for "pre-install-script" defined here
> bmake:
> "../../mk/install/../../mk/install/../../mk/install/../../mk/install/bsd.pkginstall.mk"
> line 724: warning: duplicate script for target "post-install-script" ignored
> bmake: "../../mk/install/../../mk/install/Makefile" line 100: warning: using
> previous script for "post-install-script" defined here
> ...

What is "../../mk/install/../../mk/install/Makefile"?  That seems to imply you
have a pkgsrc/mk/install/Makefile, but there shouldn't be such a file.

The file doesn't exist.

But near those line numbers in pkgtools/pkg_install/Makefile are the 
definitions for post-install-script and pre-install-script. Maybe this is 
some bug in bmake?

This is on DragonFly. I just updated to latest pkgsrc/devel/bmake since I 
was not sure what /usr/pkg/sbin/bmake version I had. The problem I see is 
still there. I do have some custom changes in my mk files and I don't see 
this problem on another DragonFly box, so I will try to see if something I 
have is causing this or if I have an incomplete update.


Jeremy C. Reed