Patching source in a port

From: Jamie (jamie_at_gnulife.org)
Date: 09/18/03

  • Next message: Edwin D. Vinas: "Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts"
    Date: Thu, 18 Sep 2003 00:40:38 -0500 (CDT)
    To: freebsd-questions@freebsd.org
    
    

       Is it possible to patch the source code in a port, and then make, make
    install again to get it to install the patched code? I tried applying the
    sendmail patch. I had previously installed 8.12.9 from ports.

    This is basically what I did:

    cd /usr/ports/mail/sendmail-sasl/work/sendmail-8.9.12/sendmail

    patch < /path/to/patch

    -patch confirms that it went successfully.

    -I also edited version.c and changed the version number.

    cd ../../../

    make PREFIX=/usr
    make PREFIX=/usr install

      But the patch doesn't seem to be taking effect. After restarting
    sendmail I:

    sendmail -bt -d0.11 < /dev/null

     and it tells me that it is still version 8.12.9.

     Am I doing something obviously wrong? The compilation seemed to run
    successfully.

        - Jamie

    "A friend is someone who lets you have total freedom to be yourself."

    _______________________________________________
    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: Edwin D. Vinas: "Re: Network Problem on FreeBSD-4.8 : Cannot ping LAN hosts"

    Relevant Pages

    • Patching source in a port
      ... install again to get it to install the patched code? ... sendmail patch. ... I had previously installed Sendmail 8.12.9 from ports. ...
      (freebsd-questions)
    • Re: subversion on FreeBSD 4.10
      ... I've upgraded all the ports including perl. ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # To avoid running MAKEDEV all on /dev during install: ...
      (freebsd-questions)
    • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
      ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # certain ports. ... # To avoid running MAKEDEV all on /dev during install: ...
      (freebsd-questions)
    • Re: External drives not installing or working properly on USB
      ... Tne one thing you could try doing is a repair install of XP ... Only one of the five host controllers is connected to the 6 ... As you have 5 host ports, ... operating system to recognise the four additional 'drives'. ...
      (microsoft.public.windowsxp.general)
    • Re: Packages available for different FreeBSD versions
      ... When I install FreeBSD, I am installing a "core operating system version ... Then I may choose to install the "ports" as either ...
      (freebsd-questions)