Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2005 15:20:04 GMT
From:      "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/78318: qsf can have different database backends, but build can't use them
Message-ID:  <200503071520.j27FK4Mv074616@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/78318; it has been noted by GNATS.

From: "Clemens Fischer" <ino-qc@spotteswoode.de.eu.org>
To: "Volker Stolz" <vs@freebsd.org>
Cc: freebsd-gnats-submit@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503071520.j27FK4Mv074616>