How to apply private patches to port?

Igor B. Bykhalo goshik at binep.ac.ru
Tue Aug 5 05:01:20 PDT 2003


From: "Heinrich Rebehn" <rebehn at ant.uni-bremen.de>
To: <freebsd-ports at freebsd.org>
Sent: Monday, August 04, 2003 12:51 PM
Subject: How to apply private patches to port?


> Hi list,
> 
> Is there some documentation about how to add private patches/hacks to a port?
> Just add a patch-a{something} to the files directory?
> 

Well, in case you are using portupgrade tool, consider
the BEFOREBUILD section of pkgtools.conf. Here is how i
used it to apply patches before they were commited...

  BEFOREBUILD = {
#    'print/lyx' => 'cd /usr/ports/print && patch -p0 < lyx.diff',
#    'x11-wm/icewm' => 'cd /usr/ports && patch -p0 < icewm.diff',
  }


[...]
> Heinrich Rebehn
> 
> University of Bremen
> Physics / Electrical and Electronics Engineering
> - Department of Telecommunications -
> 
> Phone : +49/421/218-4664
> Fax   :            -3341
> 
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 


More information about the freebsd-ports mailing list