On Sunday, 30 September 2012 19:14:37 Chuck Burns wrote:
> On 09/30/2012 11:34 AM, David Naylor wrote:
> > On Sunday, 30 September 2012 16:22:30 Chuck Burns wrote:
> >> On 09/30/2012 09:06 AM, David Naylor wrote:
> >>> The current pkg format can be installed along side a pkgng
> >>> installation (the nvidia patching will detect the pkgng packages). Has
> >>> this not worked on your setup?
> >> 
> >> Yes, this works, I was hoping to be as "native" as possible. :)
> > 
> > Doing so will increase my workload by 33% and I'm not willing to devote
> > extra resources given that it currently works anyway.
> > 
> > However, the usage of the FreeBSD-8 packages are low, so I may drop
> > support for them and reconsider supporting pkgng for FreeBSD 9.  It
> > would also provide an interesting barometer for adoption of pkgng (I
> > myself use it, except for wine packages, on FreeBSD-9).
> > 
> > Regards
> 
> How do you build this, anyway? I would love to be able to "cut out the
> middle man" so to speak.  I know the general idea is: build it in a
> 32bit jail.  But do you do it with a script? or just manually build the
> packages?

Since you asked ;-) ...

I have a custom Makefile that manages my source files (for FreeBSD and Ports) 
and a script file that uses the Makefile to build the wine packages.  The 
actual commands that I use are:
# make -sj8 update ports
# sh wine-fbsd.sh
# env FBSD=freebsd8 sh wine-fbsd.sh
# env FBSD=freebsd10 sh wine-fbsd.sh

The script file is straight forward and the calls to `make -f /root/Makefile -
j8 pkg-env ...` can be simply replaced with:
# make -C /usr/src -sj8 world DESTDIR=$SCRATCHPAD
to get the same effect.  Note: /home/DragonSA/ports/wine-fbsd64.diff is the 
diff from mediafire.  

The Makefile is very specific to my setup, where I have a server that mirrors 
(using csup) FreeBSD 8, 9 and 10, and Ports, and I have /usr/ports and 
/usr/src as a symlink to /home/ports and /home/freebsd9/src respectively.  I 
include it for completeness, if not for its actual usefulness.  

It shouldn't be difficult to create a script that is more general (maybe using 
portsnap [and svn export?] as cvs is being depreciated).  If you do I will 
happily upload it to mediafire ;-)

Regards

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to