ports/78318: qsf can have different database backends, but build can't use them

Clemens Fischer ino-qc at spotteswoode.de.eu.org
Mon Mar 7 15:20:05 UTC 2005


The following reply was made to PR ports/78318; it has been noted by GNATS.

From: "Clemens Fischer" <ino-qc at spotteswoode.de.eu.org>
To: "Volker Stolz" <vs at freebsd.org>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: ports/78318: qsf can have different database backends, but build can't use them
Date: 7 Mar 2005 16:18:34 +0100

 * 2005-03-03 Volker Stolz:
 
 > Could you please try to come up with a patch to this problem? Testing if
 > your suggestion indeed works might be a good start.
 
 i tried, tried again, and again, now i don't know what to do:
 
 this is what i did to the ports Makefile:
 
 +# -ino: 20050306-1531
  .if defined(WITH_GDBM)
  LIB_DEPENDS+=	gdbm.3:${PORTSDIR}/databases/gdbm
 -CONFIGURE_ARGS+=	--with-gdbm=${LOCALBASE}
 +CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 +CONFIGURE_ARGS+= --with-gdbm=${LOCALBASE} \
 +	--exec-prefix=${LOCALBASE} \
 +	--with-internal-db=NO --without-internal-db
 +#CONFIGURE_ENV+=  CFLAGS="-I/usr/local/include -L/usr/local/lib"
 +CONFIGURE_ENV+=  CPPFLAGS="-I${LOCALBASE}/include" \
 +	LDFLAGS="-L${LOCALBASE}/lib -lgdbm" \
 +	LIBS="-L${LOCALBASE}/lib -lgdbm"
 +#MAKE_ENV+=  CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
 +#CONFIGURE_ENV+=  CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib"
  .endif
  
 NONE of these work.  workaround:  remember that it is possible to build by
 going to the working directory and:
 
 CFLAGS='-I/usr/local/include -L/usr/local/lib' ./configure --with-gdbm
 
 how come adding this to "$CONFIGURE_ENV" doesn't work?
 
   clemens



More information about the freebsd-ports-bugs mailing list