pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Building X apps on OS X 10.9
* On 2014-01-10 at 23:26 GMT, John Ruschmeyer wrote:
> Sorry if this is a FAQ... I've installed and bootstrapped pkgsrc on my
> MacBook running 10.9 (Mavericks). Everything is fine until I try to build a
> X11-based app whereupon it tell me that X11 is not installed (/opt/X11
> can't be found). What do I need to do in order to be able to build
> X11-based apps?
Can you try this patch?
--- mk/bsd.prefs.mk 19 Dec 2013 23:50:29 -0000 1.339
+++ mk/bsd.prefs.mk 10 Jan 2014 23:39:36 -0000
@@ -573,7 +573,8 @@
X11BASE?= /usr
. elif !empty(MACHINE_PLATFORM:MDarwin-9.*-*) || \
!empty(MACHINE_PLATFORM:MDarwin-10.*-*) || \
- !empty(MACHINE_PLATFORM:MDarwin-11.*-*)
+ !empty(MACHINE_PLATFORM:MDarwin-11.*-*) || \
+ !empty(MACHINE_PLATFORM:MDarwin-13.*-*)
X11BASE?= /usr/X11
. elif !empty(MACHINE_PLATFORM:MDarwin-??.*-*)
X11BASE?= /opt/X11
I don't have any Mountain Lion to verify, but it seems odd that it was the only
release to use /opt/X11 (and we should probably invert the test).
Otherwise, use X11_TYPE=modular in mk.conf to use X11 from pkgsrc.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index