Date: Thu, 25 Oct 2012 15:00:21 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: freebsd-hackers@freebsd.org, "Simon J. Gerraty" <sjg@juniper.net>, freebsd-arch@freebsd.org Subject: Installing make as pmake when WITH_BMAKE specified (was Re: [CFT/RFC]: refactor bsd.prog.mk to understand multiple programs instead of a singular program) Message-ID: <CAGH67wT8A9bjBH=wsFB6CC5agobS=SOvPZyGEAC8giAQMu8M2A@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--90e6ba30915663b88d04cce954bf Content-Type: text/plain; charset=ISO-8859-1 On Thu, Oct 25, 2012 at 2:32 PM, Garrett Cooper <yanegomi@gmail.com> wrote: ... > The real issue is that I need to take the patch Simon developed, run > with it, and in parallel he needs to -- and hopefully already is -- > engage portmgr to get it through a number of exp- runs to make sure > bmake does what it's supposed to do with his patch. Backwards > compatibility will need to be maintained for ports because ports has > to work on multiple versions of FreeBSD [where bmake isn't yet > available/present], so maybe a fork in the road for bsd.port.mk should > be devised in order to make everything work. Here's an updated version of the workaround that works properly in all cases and installs bmake as make and links make to pmake when WITH_BMAKE=yes, and installs make as make when WITHOUT_BMAKE is specified (this works better than the previous patch I sent to Simon). The point of the patch isn't to discourage bmake use; in fact this encourages bmake use more because I'm able to use bmake as my system make, but be able to fall back to pmake as needed. Thanks! -Garrett --90e6ba30915663b88d04cce954bf Content-Type: application/octet-stream; name="install-make-as-pmake-when-WITH_BMAKE-specified.patch" Content-Disposition: attachment; filename="install-make-as-pmake-when-WITH_BMAKE-specified.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h8qec0yz0 SW5kZXg6IHN5cy9jb25mL2tlcm4ucG9zdC5tawo9PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvY29uZi9rZXJu LnBvc3QubWsJKHJldmlzaW9uIDI0MTk3MykKKysrIHN5cy9jb25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kgaW4gJHtQ T1JUU19NT0RVTEVTfQogCUAke0VDSE99ICI9PT0+IFBvcnRzIG1vZHVsZSAke19faX0gKCR7X190 YXJnZXR9KSIKLQljZCAkJHtQT1JUU0RJUjotL3Vzci9wb3J0c30vJHtfX2l9OyAke1BPUlRTTU9E VUxFU0VOVn0gJHtNQUtFfSAtQiAke19fdGFyZ2V0OkMvaW5zdGFsbC9kZWluc3RhbGwgcmVpbnN0 YWxsLzpDL3JlaW5zdGFsbC9kZWluc3RhbGwgcmVpbnN0YWxsL30KKwljZCAkJHtQT1JUU0RJUjot L3Vzci9wb3J0c30vJHtfX2l9OyAke1BPUlRTTU9EVUxFU0VOVn0gJHtQTUFLRX0gLUIgJHtfX3Rh cmdldDpDL2luc3RhbGwvZGVpbnN0YWxsIHJlaW5zdGFsbC86Qy9yZWluc3RhbGwvZGVpbnN0YWxs IHJlaW5zdGFsbC99CiAuZW5kZm9yCiAuZW5kZm9yCiAuZW5kaWYKSW5kZXg6IHVzci5iaW4vTWFr ZWZpbGUKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PQotLS0gdXNyLmJpbi9NYWtlZmlsZQkocmV2aXNpb24gMjQxOTczKQor KysgdXNyLmJpbi9NYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMjgwLDEwICsyODAsOSBAQAog LmlmICR7TUtfTUFLRX0gIT0gIm5vIgogLmlmICR7TUtfQk1BS0V9ICE9ICJubyIKIFNVQkRJUis9 CWJtYWtlCi0uZWxzZQorLmVuZGlmCiBTVUJESVIrPQltYWtlCiAuZW5kaWYKLS5lbmRpZgogCiAu aWYgJHtNS19NQU5fVVRJTFN9ICE9ICJubyIKIFNVQkRJUis9CWNhdG1hbgpJbmRleDogdXNyLmJp bi9tYWtlL01ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIHVzci5iaW4vbWFrZS9NYWtlZmlsZQkocmV2 aXNpb24gMjQxOTczKQorKysgdXNyLmJpbi9tYWtlL01ha2VmaWxlCSh3b3JraW5nIGNvcHkpCkBA IC00LDcgKzQsMTcgQEAKIAogLmluY2x1ZGUgPGJzZC5vd24ubWs+CiAKKy5pZiAhZGVmaW5lZChQ Uk9HKQorLmlmICR7TUtfQk1BS0V9ICE9ICJubyIKIFBST0c9CW1ha2UKK0xJTktTKz0JbWFrZSBw bWFrZQorLmVsc2UKK1BST0c9CXBtYWtlCitwbWFrZS4xOiBtYWtlLjEKKwljcCAkey5BTExTUkN9 ICR7LlRBUkdFVH0KK01BTj0JcG1ha2UuMQorLmVuZGlmCisuZW5kaWYKIENGTEFHUys9LUkkey5D VVJESVJ9CiBTUkNTPQlhcmNoLmMgYnVmLmMgY29uZC5jIGRpci5jIGZvci5jIGhhc2guYyBoYXNo X3RhYmxlcy5jIGpvYi5jCVwKIAlsc3QuYyBtYWluLmMgbWFrZS5jIHBhcnNlLmMgcHJvYy5jIHNo ZWxsLmMgc3RyLmMgc3VmZi5jIHRhcmcuYwlcCg== --90e6ba30915663b88d04cce954bf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wT8A9bjBH=wsFB6CC5agobS=SOvPZyGEAC8giAQMu8M2A>