Re: How to Select Compiler Version when Installing Port

From: Andrew Boothman (andrew_at_cream.org)
Date: 01/15/04

  • Next message: Jerry McAllister: "Re: dual-booting with xp"
    Date: Thu, 15 Jan 2004 17:29:31 +0000
    To: "Daniel J Cain Jr." <dan@cain.sh>
    
    

    Daniel J Cain Jr. wrote:

    >>>I am trying to get vmailmgr-0.96.9 to build from the ports collection of
    >>>FreeBSD 5.1-RELEASE. I 'think' it will work if I can have the port use
    >>>a different compiler version during the build. I have been unable to
    >>>figure/find out how (if?) this is possible. By default it seems to use
    >>>gcc 3.2.2, and I have the port install of gcc 2.9.5 available I just
    >>>don't know how to make 'make' use the older version.
    >>
    >>I usually use
    >>
    >>make CC=<your C compiler here> CXX=<your C++ compiler here> build
    >
    >
    > Thanks! That seems to have done the trick!

    If you had to do a lot of work to make the port work, it would be
    helpful if you contacted the maintainer of the port (look in the
    Makefile) and told them what you had to do.

    If there is no maintainer, the maintainer is ports@ or the maintainer
    doesn't do anything about it you could consider packaging your work up
    as a new port using the existing port as a starting point.

    See the porting handbook on the FreeBSD web site.

    Andrew

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Jerry McAllister: "Re: dual-booting with xp"

    Relevant Pages

    • Re: O/T Linux Question
      ... There is no maintainer for this port. ... Also Listed In: comms ... Amateur Radio Echolink client for UNIX ...
      (uk.radio.amateur)
    • Re: Portupgrade in Xfree86 pkg failed
      ... > I'm sorry to step on the toes of the port maintainer but instead ... PRs were closed by the commit. ... mailing lists. ... as long as that is the case and there are maintainer cycles to do it, ...
      (freebsd-questions)
    • Re: Portupgrade in Xfree86 pkg failed
      ... > I'm sorry to step on the toes of the port maintainer but instead ... PRs were closed by the commit. ... mailing lists. ... as long as that is the case and there are maintainer cycles to do it, ...
      (freebsd-stable)
    • Re: Dependencies
      ... refined or whatever version of the port is very time ... > might complain about the maintainer being lazy. ... under FreeBSD, I think the ports should be ... As for lazy or sloppy, I certainly wouldn't say you folks are lazy; ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Azureus Update Problem
      ... It looks like we will have the maintainer to update the port. ... sub the new release in place of the current one and tweaked Makefile, ... i'll try running it as root and seeing what happens form there. ...
      (freebsd-questions)