I work in an all FreeBSD shop and wanted to see how a Gentoo/FreeBSD box would go over here. There were some hicups in the install but the custom work came while installing some packages. Postfix in particular. Though I got it to work like a charm. The initial problem, postfix ebuild would fail compile due to the BerkDB headers being unable to be located. Secondary, some of the libraries weren't being found since it's the portage for freebsd is sorta a bastard child of the linux version portage. I've attached 2 files, the ebuild and the patch needed for the portage overlay to get Postfix 2.3.0-r1 to build. Cheers, -- Rob
Created attachment 93351 [details] [defunct] proposed postfix 2.3.0-r1ebuild with freebsd support my proposed ebuild uses a new use flag, "freebsd". adding that to the use string for the emerge will enable the patch.
Created attachment 93352 [details, diff] 20060803 gentoo/FreeBSD makedefs patch
Comment on attachment 93351 [details] [defunct] proposed postfix 2.3.0-r1ebuild with freebsd support Forgot to add the proper
Created attachment 93363 [details] proposed postfix 2.3.0-r2 ebuild with freebsd support Forgot to update the compile section to tell the build to require berkdb 4.4, use auxlibs="-ldb", and ccflags="-DFREEBSD -I/usr/include/db4.4" double checked by running build and runs a clean build.
postfix-2.4.3 already has a ~x86-fbsd keyword and seems to build correctly. What USE flags and error did you get? Re-open with info please
It may have it now, but if you notice the date stamp...this is almost exactly a year old. Now there's a keyword for the fbsd version, a year ago...not so much. This can be closed since there is now an official flag.
Sorry about the delay :/