On May 8, 2008, at 11:25 PM, Anders F Björklund wrote:

Confirmed, the src/Makefile doesn't rebuild the "port" binary
when you configure twice in the same directory. The workaround
for now is to "clean" base before doing the second installation.
(preferably distclean, but "dist" and "distclean" are missing)
Not sure why that doesn't use autoconf, but instead a sed hack.

To solve the opposite problem -- if you change the source file, 'make' should remake it. See:
        
http://www.gnu.org/software/autoconf/manual/autoconf.html#Installation-Directory-Variables

Specifically:
Similarly, you should not rely on AC_CONFIG_FILES to replace datadir and friends in your shell scripts and other files; instead, let make manage their replacement. For instance Autoconf ships templates of its shell scripts ending with `.in', and uses a makefile snippet
        similar to the following to build scripts like autoheader and autom4te:

        edit = sed ...

If re-running configure should also cause any files to be regenerated, then another 'make' dependency is probably in order.

-landonf

Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to