Macports's buggy configure scripts

Landon Fuller landonf at
Sun May 11 17:14:13 PDT 2008

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:

	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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url :

More information about the macports-dev mailing list