Summary: | qsf can have different database backends, but build can't use them | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | clemens fischer <ino-qc> |
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
clemens fischer
2005-03-02 16:30:14 UTC
Dear maintainer, please look into this issue! Volker State Changed From-To: open->feedback Forwarded PR to maintainer Unluckily the maintainer requested to resign because of lack of time and we rely on interested 3rd parties for fixing ports. Could you please try to come up with a patch to this problem? Testing if your suggestion indeed works might be a good start. Cheers, Volker * 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
State Changed From-To: feedback->closed Fixed, thanks! |