Re: make options for ports
On Mon, 18 Aug 2003, Kris Kennaway wrote: > Also see the Porter's Handbook for more detail on creating/modifying ports. > > Kris Good lord, I can't compile the ones I've got - I have no business modifying them! ;) (point taken though) KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make options for ports
On Mon, Aug 18, 2003 at 01:23:21PM -0700, Kris Kennaway wrote: > On Mon, Aug 18, 2003 at 01:19:52PM -0700, Kevin Stevens wrote: > > > Thanks! The 'make patch' target is what I was missing, I was blowing past > > that with an initial 'make', and then getting stuck in various 'deinstall; > > reinstall' loops. I'll post back if I have further problems, but I > > suspect this is the answer I needed. > > Also see the Porter's Handbook for more detail on creating/modifying ports. The ports(7) manpage is also quite useful to read. For this particular problem I think it would actually have been more helpful than the Porter's Handbook. -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make options for ports
On Mon, Aug 18, 2003 at 10:38:46AM -0700, Kevin Stevens wrote: > I'm struggling with an issue in trying to compile ports. The specific one > is the imap-uw port, but it's a more general question. I need to be able > to download and expand the distribution file, then to perform some source > code modifications, and then compile and install the port. > > It seems that whichever sequence of make targets I try, I end up either > wiping out the existing source code and re-expanding the distribution > (which wipes out my edits); or simply reinstalling the already-compiled > binaries without recompiling (which ignores my edits). Something like: make clean extract make install should work fine (this worked ok for me with imap-uw). Won't work with all ports, particularly if there are freebsd port patch files that are applied in the make process (found in the port's 'files' directory). -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make options for ports
On Mon, Aug 18, 2003 at 01:19:52PM -0700, Kevin Stevens wrote: > Thanks! The 'make patch' target is what I was missing, I was blowing past > that with an initial 'make', and then getting stuck in various 'deinstall; > reinstall' loops. I'll post back if I have further problems, but I > suspect this is the answer I needed. Also see the Porter's Handbook for more detail on creating/modifying ports. Kris pgp0.pgp Description: PGP signature
Re: make options for ports
On Mon, 18 Aug 2003, Erik Trulsson wrote: > On Mon, Aug 18, 2003 at 10:38:46AM -0700, Kevin Stevens wrote: > > I'm struggling with an issue in trying to compile ports. The specific one > > is the imap-uw port, but it's a more general question. I need to be able > > to download and expand the distribution file, then to perform some source > > code modifications, and then compile and install the port. > > First do a 'make patch', which will extract the distfile and apply the > patches that are part of the port. > The do a 'cd' into the workdir and modify the sources as you wish, and > then 'cd' back into the port-directory, and do a 'make install' which > will configure, compile and install that port using the source code > that you have modified. > Works just fine for me, and there is no reason it shouldn't work for > you too. Thanks! The 'make patch' target is what I was missing, I was blowing past that with an initial 'make', and then getting stuck in various 'deinstall; reinstall' loops. I'll post back if I have further problems, but I suspect this is the answer I needed. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make options for ports
On Mon, Aug 18, 2003 at 10:38:46AM -0700, Kevin Stevens wrote: > I'm struggling with an issue in trying to compile ports. The specific one > is the imap-uw port, but it's a more general question. I need to be able > to download and expand the distribution file, then to perform some source > code modifications, and then compile and install the port. First do a 'make patch', which will extract the distfile and apply the patches that are part of the port. The do a 'cd' into the workdir and modify the sources as you wish, and then 'cd' back into the port-directory, and do a 'make install' which will configure, compile and install that port using the source code that you have modified. Works just fine for me, and there is no reason it shouldn't work for you too. > > It seems that whichever sequence of make targets I try, I end up either > wiping out the existing source code and re-expanding the distribution > (which wipes out my edits); or simply reinstalling the already-compiled > binaries without recompiling (which ignores my edits). > > I'm sure I'm missing something obvious here, but I can't figure it out. > Help? -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make options for ports
I'm struggling with an issue in trying to compile ports. The specific one is the imap-uw port, but it's a more general question. I need to be able to download and expand the distribution file, then to perform some source code modifications, and then compile and install the port. It seems that whichever sequence of make targets I try, I end up either wiping out the existing source code and re-expanding the distribution (which wipes out my edits); or simply reinstalling the already-compiled binaries without recompiling (which ignores my edits). I'm sure I'm missing something obvious here, but I can't figure it out. Help? KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"