Date: Thu, 10 Apr 2003 10:51:12 +0400 From: "Igor B. Bykhalo" <goshik@binep.ac.ru> To: "Adam" <blueeskimo@gmx.net> Cc: freebsd-questions@freebsd.org Subject: Re: How to define variables when using portupgrade Message-ID: <07b601c2ff2d$96a06360$ea2ce9c1@binep.ac.ru> References: <1049950760.64457.53.camel@jake>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Adam" <blueeskimo@gmx.net> To: <freebsd-questions@freebsd.org> Sent: Thursday, April 10, 2003 8:59 AM Subject: How to define variables when using portupgrade > When compiling a port for the first time, you can define variables for > the Makefile easily: > make -DWITH_GMP install clean > > However, I'm not sure how to define the same variable when using > portupgrade. Is it possible? I am currently manually deinstalling and > recompiling ports whenever I need to customize the compile process. > > Is there a better way? Yes, read /usr/local/etc/pkgtools.conf.sample and create your pkgtools.conf with needed changes (hint: check MAKE_ARGS section). HTH, Igor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07b601c2ff2d$96a06360$ea2ce9c1>