[25699] trunk/dports/net/whois/Portfile

Ryan Schmidt ryandesign at macports.org
Wed May 30 17:47:01 PDT 2007


On May 28, 2007, at 19:18, source_changes at macosforge.org wrote:

> Revision: 25699
>           http://trac.macosforge.org/projects/macports/changeset/25699
> Author:   ryandesign at macports.org
> Date:     2007-05-28 17:18:12 -0700 (Mon, 28 May 2007)
>
> Log Message:
> -----------
> Whoops -- undoing r25698 -- there is no build.(c|ld)flags-append  
> syntax!
>
> Modified Paths:
> --------------
>     trunk/dports/net/whois/Portfile
>
> Modified: trunk/dports/net/whois/Portfile
> ===================================================================
> --- trunk/dports/net/whois/Portfile	2007-05-29 00:12:58 UTC (rev  
> 25698)
> +++ trunk/dports/net/whois/Portfile	2007-05-29 00:18:12 UTC (rev  
> 25699)
> @@ -35,7 +35,8 @@
>  		${worksrcpath}/whois.1
>  }
>
> -build.cflags-append -DENABLE_NLS
> -build.ldflags-append -lintl
> +build.env \
> +	CFLAGS="-DENABLE_NLS -I${prefix}/include" \
> +	LDFLAGS="-L${prefix}/lib -lintl"
>
>  destroot.args	prefix=${destroot}${prefix}


So.... why does MacPorts offer configure.ldflags-append but not  
build.ldflags-append? That's confusing.






More information about the macports-dev mailing list