Removing configure options
Scott Haneda
talklists at newgeo.com
Tue Jun 9 17:37:04 PDT 2009
On Jun 9, 2009, at 5:18 PM, Rainer Müller wrote:
> On 2009-06-09 23:24, Scott Haneda wrote:
>> # $Id$
>>
>> PortSystem 1.0
>>
>> name rbldnsd
>> version 0.996b
>> categories sysutils
>>
>> master_sites http://www.corpit.ru/mjt/rbldnsd/
>> distfiles ${name}_0.996b.tar.gz
>
> distfiles ${name}_${version}${extract.suffix}
>
> You should not hardcode the version number at multiple places in the
> Portfile. This makes it harder to do updates.
I am going to clean this up eventually, I just want to get working
what I thought would be simple, but is evading me. I built this in 30
seconds, making the port is proving troublesome for me.
>> description test
>> long_description test
>>
>> checksums md5 9a0f26f3b33764c325a96bd4c61b26fa \
>> sha1
>> 9cfe6cf01c54088cecc3a02902c721ee714f1c28 \
>> rmd160 15be588fb4051f0526084425b586ea7986b6493a
>>
>> configure.pre_args-delete --prefix=${prefix}
>>
>> destroot {
>> xinstall -m 755 -d ${destroot}${prefix}/var
>> xinstall -m 755 ${worksrcpath}/rbldnsd ${destroot}${prefix}/var
>> }
>
> As ${prefix}/var is part of the mtree, there is no need to create it
> manually.
Cool, thanks.
>> build {}
>
> By using this line you have overwritten the build phase which is why
> 'make' never gets run. As you have also overwritten the destroot
> phase,
> there should not be any attempt to run 'make install'. What you see
> failing there is your xinstall command.
I need make, but not make install. xinstall is failing, because make
install was not ran, so the binary of ${worksrcpath}/rbldnsd does not
yet exist.
Suggestions?
--
Scott * If you contact me off list replace talklists@ with scott@ *
More information about the macports-dev
mailing list