pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/MesaLib build failure on OS X 10.4.11 (Intel)

On 2008/05/28 05:10, Mark E. Perkins wrote:
On 2008/05/27 20:18, Tobias Nygren wrote:
On Tue, 27 May 2008 17:49:14 -0400
"Mark E. Perkins" <> wrote:


I'm guessing that needs to disable the i386 option on this platform... Can anyone confirm (or point to the proper solution)?

I don't know, but Solaris/x86 had the same issue. I disabled the
i386 option there and that worked fine. Though, I still don't
understand why it fails like that.

Disabling the i386 option allows a proper build, but I have not yet built anything that links to the new libraries. I'm short on time for the next few days to do any of that. If any other pkgsrc on OS X users have direct experience here, please speak up... 8-)

Disabling the i386 option on Intel OS X seems to be working properly. I have a few pkgs built against the latest MesaLib, and everything seems OK. Something like the patch below should do the trick.


---     2008-05-28 04:31:04.000000000 -0400
+++  2008-05-29 17:16:33.000000000 -0400
@@ -5,7 +5,7 @@

 # Assembler code build configurations
 .if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
-    ${OPSYS} != "SunOS"
+    ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin"

Home | Main Index | Thread Index | Old Index