Removing configure options

Scott Haneda talklists at newgeo.com
Mon Jun 8 23:12:45 PDT 2009


On Jun 8, 2009, at 10:59 PM, Jeremy Lavergne wrote:

> My apologies:  the prefix is located in configure.pre_args.  Please  
> try:
> configure.pre_args-delete --prefix=/opt/local
>
> I believe you shouldn't need to quote it unless there's a space in it.


Thanks, getting closer:

# $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

description	 	test
long_description	test

checksums           md5     9a0f26f3b33764c325a96bd4c61b26fa \
                     sha1    9cfe6cf01c54088cecc3a02902c721ee714f1c28 \
                     rmd160  15be588fb4051f0526084425b586ea7986b6493a

configure.pre_args-delete --prefix=/opt/local
configure.pre_args-append mak

destroot {
     xinstall -m 755 -d ${destroot}${prefix}/var
     xinstall -m 755 ${worksrcpath}/rbldnsd/rbldnsd ${destroot}$ 
{prefix}/var
}

build {}


DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Executing org.macports.configure (rbldnsd)
DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include'  
CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/cpp-4.0'  
CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib'  
FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c'  
OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
_Users_haneda_macports_sysutils_rbldnsd/work/rbldnsd-0.996b" && ./ 
configure make'
configure: unknown option `make'
Error: Target org.macports.configure returned: configure failure:  
shell command " cd "/opt/local/var/macports/build/ 
_Users_haneda_macports_sysutils_rbldnsd/work/rbldnsd-0.996b" && ./ 
configure make " returned error 1
Command output: configure: unknown option `make'

Warning: the following items did not execute (for rbldnsd):  
org.macports.activate org.macports.configure org.macports.build  
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Looks like I need to explicitly tell it to run `make` but skip  
`install` since there is no install to this sware.  Then I just copy  
one binary off and I am good to go.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-dev mailing list