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" <perkinsm%bway.net@localhost> wrote:

<snip>

I'm guessing that options.mk 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.

Thanks,
Mark


--- options.mk-orig     2008-05-28 04:31:04.000000000 -0400
+++ options.mk  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"
 PKG_SUPPORTED_OPTIONS+=                ${MACHINE_ARCH}
 PKG_SUGGESTED_OPTIONS+=                ${MACHINE_ARCH}
 .endif


Home | Main Index | Thread Index | Old Index