Re: RT36 port WITH_APACHE2
Joe Auty wrote: I figured this out, My pkgtools.conf make args needed to read: MAKE_ARGS = { snipped 'www/rt36' = '-DWITH_APACHE2' } rather than: MAKE_ARGS = { snipped 'www/rt36' = 'WITH_APACHE2' } Why is it that some make arguments in this file need the -D while some don't? Hmmm. It's not portupgrade that needs that, but make(1). You can set make variables from the command line, and this is what portupgrade does to exercise various options while building ports. The syntax for make is either: make VARIABLE=value or make -DVARIABLE where the latter is equivalent to saying make VARIABLE=1 ('D' for 'define') Translating that into the format used by pkgtools.conf you can write either: MAKE_ARGS = { snipped 'www/rt36' = '-DWITH_APACHE2' } or MAKE_ARGS = { snipped 'www/rt36' = 'WITH_APACHE2=1' } You can also undefine a variable by: make -UVARIABLE Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. Flat 3 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW, UK signature.asc Description: OpenPGP digital signature
Re: RT36 port WITH_APACHE2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I figured this out, My pkgtools.conf make args needed to read: MAKE_ARGS = { snipped 'www/rt36' = '-DWITH_APACHE2' } rather than: MAKE_ARGS = { snipped 'www/rt36' = 'WITH_APACHE2' } Why is it that some make arguments in this file need the -D while some don't? Hmmm. On Feb 12, 2007, at 9:03 PM, Joe Auty wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anybody? Why would the pkgtools.conf make args not work while throwing in a - Dmake arg to a manual make command in the ports tree works? On Feb 12, 2007, at 2:36 AM, Joe Auty wrote: Hello, Why is it that when I: cd /usr/ports/www/rt36 make -DWITH_APACHE2 This works fine, but when I add: MAKE_ARGS = { snipped 'www/rt36' = 'WITH_APACHE2' } to my /usr/local/etc/pkgtools.conf and do a portupgrade -f rt, I get: # portupgrade -f rt --- Reinstalling 'rt-3.6.3' (www/rt36) --- Building '/usr/ports/www/rt36' with make flags: WITH_APACHE2 make: don't know how to make WITH_APACHE2. Stop ** Listing the failed packages (*:skipped / !:failed) ! www/rt36 (rt-3.6.3) (clean error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF0RyNCgdfeCwsL5ERAj4HAKCjw54u2ikFoT96ff2X/JDMB6qbNgCgir25 /Dkmsa9kzE4rLq+vNbAxBlc= =zSg2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF0pHXCgdfeCwsL5ERAppVAJ0a4zL85uHVKEVqWadnTBxOdJt1NQCeNiLl q/SV779NHAZMVsFIk/jokSE= =zP+2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RT36 port WITH_APACHE2
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anybody? Why would the pkgtools.conf make args not work while throwing in a - Dmake arg to a manual make command in the ports tree works? On Feb 12, 2007, at 2:36 AM, Joe Auty wrote: Hello, Why is it that when I: cd /usr/ports/www/rt36 make -DWITH_APACHE2 This works fine, but when I add: MAKE_ARGS = { snipped 'www/rt36' = 'WITH_APACHE2' } to my /usr/local/etc/pkgtools.conf and do a portupgrade -f rt, I get: # portupgrade -f rt --- Reinstalling 'rt-3.6.3' (www/rt36) --- Building '/usr/ports/www/rt36' with make flags: WITH_APACHE2 make: don't know how to make WITH_APACHE2. Stop ** Listing the failed packages (*:skipped / !:failed) ! www/rt36 (rt-3.6.3) (clean error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (Darwin) iD8DBQFF0RyNCgdfeCwsL5ERAj4HAKCjw54u2ikFoT96ff2X/JDMB6qbNgCgir25 /Dkmsa9kzE4rLq+vNbAxBlc= =zSg2 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RT36 port WITH_APACHE2
Hello, Why is it that when I: cd /usr/ports/www/rt36 make -DWITH_APACHE2 This works fine, but when I add: MAKE_ARGS = { snipped 'www/rt36' = 'WITH_APACHE2' } to my /usr/local/etc/pkgtools.conf and do a portupgrade -f rt, I get: # portupgrade -f rt --- Reinstalling 'rt-3.6.3' (www/rt36) --- Building '/usr/ports/www/rt36' with make flags: WITH_APACHE2 make: don't know how to make WITH_APACHE2. Stop ** Listing the failed packages (*:skipped / !:failed) ! www/rt36 (rt-3.6.3) (clean error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed --- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org [EMAIL PROTECTED] PGP.sig Description: This is a digitally signed message part