Date: Wed, 17 Jul 2002 19:15:44 +0900 (JST) From: chat95@mbox.kyoto-inet.or.jp (Nakata Maho) To: ijliao@FreeBSD.ORG Cc: chat95@mbox.kyoto-inet.or.jp, glennpj@charter.net, freebsd-ports@FreeBSD.ORG Subject: Re: ports/40631: Update port science/mpqc and new slave port science/mpqc-mpich Message-ID: <20020717.191544.640949471.maho@scarlatti.synchem.kyoto-u.ac.jp> In-Reply-To: <20020717062137.GA59796@terry.dragon2.net> References: <20020717024506.GA1554@gforce.johnson.home> <20020717.123415.884045463.maho@scarlatti.synchem.kyoto-u.ac.jp> <20020717062137.GA59796@terry.dragon2.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Glenn Johnson and Ying-Chieh Liao, > just add '--prefix="${PREFIX}" ' to CONFIGURE_ARGS, isnt it ? > > but take a look on ports/Mk/bsd.port.mk > by default, we always add this if GNU_CONFIGURE is enabled Thanks. I was misunderstanding. I found the reason. CONFIGURE_ARGS are overrided by slave port, so in this case, mpqc-mpich was configured with (from 7th line of config.stats) # ./configure '--with-libdirs=-L/usr/local/lib -L/usr/local/mpich/lib' '--with-blas=-lf77blas -latlas' '--with-lapack=-lalapack -lcblas' '--with-coptflags=-pipe -O4 -mcpu=pentiumpro -march=pentiumpro ' '--with-cxxoptflags=-pipe -O4 -mcpu=pentiumpro -march=pentiumpro ' '--with-f77optflags=-pipe -O4 -mcpu=pentiumpro -march=pentiumpro -fstrength-reduce -funroll-loops -fexpensive-optimizations -ffast-math -malign-double' --with-include=-I/usr/local/mpich/include --enable-always-use-mpi --enable-threads=no however, configure args of master port is: # ./configure --with-libdirs=-L/usr/local/lib '--with-blas=-lf77blas -latlas' '--with-lapack=-lalapack -lcblas' '--with-coptflags=-pipe -O4 -mcpu=pentiumpro -march=pentiumpro ' '--with-cxxoptflags=-pipe -O4 -mcpu=pentiumpro -march=pentiumpro ' '--with-f77optflags=-pipe -O4 -mcpu=pentiumpro -march=pentiumpro -fstrength-reduce -funroll-loops -fexpensive-optimizations -ffast-math -malign-double' --prefix=/usr/local i386-portbld-freebsd4.6 ports added some extra CONFIGURE_ARGS(--prefix=/usr/local i386-portbld-freebsd4.6) when original Makefile included <bsd.port.mk> Makefile for slave port completely overrides CONFIGURE_ARGS so, extra CONFIGURE_ARGS (in this case, of course, --prefix=/usr/local i386-portbld-freebsd4.6) are faded away. Try this patch: --- /work/cvsup/ports/science/mpqc-mpich/Makefile Tue Jul 16 20:57:07 2002 +++ Makefile Wed Jul 17 18:55:01 2002 @@ -14,12 +14,8 @@ BUILD_DEPENDS= ${LOCALBASE}/mpich/lib/libmpich.a:${PORTSDIR}/net/mpich # MPICH implimentation is not thread safe -CONFIGURE_ARGS= --with-libdirs="-L${PREFIX}/lib -L${PREFIX}/mpich/lib" \ - --with-blas="-lf77blas -latlas" \ - --with-lapack="-lalapack -lcblas" \ - --with-coptflags="${CFLAGS}" \ - --with-cxxoptflags="${CFLAGS}" \ - --with-f77optflags="${FFLAGS}" \ - --with-include=-I${PREFIX}/mpich/include \ - --enable-always-use-mpi \ - --enable-threads=no +CONFIGURE_ARGS+= --with-libdirs="-L${PREFIX}/lib -L${PREFIX}/mpich/lib" \ + --with-include="-I${PREFIX}/mpich/include" \ + --enable-always-use-mpi \ + --enable-threads=no + I confirmed that this succesfully build, installed. Sorry for trouble, Nakata Maho To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020717.191544.640949471.maho>