Date: Sun, 04 Aug 2002 05:08:15 -0700 From: Randy Bush <randy@psg.com> To: FreeBSD Stable <freebsd-stable@freebsd.org> Cc: FreeBSD Ports <freebsd-ports@freebsd.org> Subject: pkgtools.conf set configure parns Message-ID: <E17bKBD-000F41-00@rip.psg.com>
next in thread | raw e-mail | index | archive | help
still no caffeine, but i can be more specific how do i code into /usr/local/etc/pkgtools.conf parameters i want to pass to ./configure (not make)? i have in /usr/local/etc/pkgtools.conf MAKE_ARGS = { 'databases/mysql323-server' => '-DDB_DIR=/usr/home/whoisd -DCONFIGURE_ARGS= --datadir=/usr/home/whoisd --localstatedir=/usr/home/whoisd --without-perl --without-debug --without-readline --without-bench --with-mit-threads=no --with-libwrap --with-low-memory --program-prefix="" --with-thread-safe-client' } yet, when i # portupgrade -f mysql-server-3.23.51 ---> Reinstalling 'mysql-server-3.23.51' (databases/mysql323-server) ---> Building '/usr/ports/databases/mysql323-server' with make flags: -DDB_DIR=/usr/home/whoisd -DCONFIGURE_ARGS= --datadir=/usr/home/whoisd --localstatedir=/usr/home/whoisd --without-perl --without-debug --without-readline --without-bench --with-mit-threads=no --with-libwrap --with-low-memory --program-prefix= --with-thread-safe-client i see cc -DDBUG_OFF -O -pipe -march=pentiumpro -o test_thr_lock -DDEFAULT_BASEDIR=\"/usr/local\" -DDATADIR=\"/var/db/mysql\" -DDEFAULT_CHARSET_HOME=\"/usr/local\" -DDATADIR=\"/var/db/mysql\" -DSHAREDIR=\"/usr/local/share/mysql\" -DHAVE_CONFIG_H -I./../include -I../include -I.. -I. -DDBUG_OFF -O -pipe -march=pentiumpro -DMAIN ./test_thr_lock.c libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lz -lcrypt -lm -pthread note the DATADIR is /var/db/mysql despite my hack. and it does not make the threaded version, etc. etc. etc. i.e. my hack to the top level make's CONFIGURE_ARGS has no effect. randy 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?E17bKBD-000F41-00>