From 35fc99381f4d978972ad89675038fba16cdd580e Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 7 Feb 2014 09:25:04 -0600 Subject: [PATCH] make osx use xquartz instead --- osx/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/osx/Makefile b/osx/Makefile index 54d29ff..370b443 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -3,14 +3,18 @@ BINDIR?= $(PREFIX)/bin LIBDIR?= $(PREFIX)/lib MANDIR?= $(PREFIX)/share/man -# To use homebrew instead of macports, uncomment the following three lines. +# To use xquartz, uncomment the following three lines. +INCFLAGS+= -I/opt/X11/include -I/opt/X11/include/freetype2/ +LDADD+= -L/opt/X11/lib -lX11 -lXcursor -lXft + +# To use homebrew, uncomment the following three lines. #INCFLAGS+= -I/opt/X11/include #LDADD+= -lX11 -lXcursor -lXft -L/opt/X11/lib #INCFLAGS+= -I/usr/local/Cellar/freetype/2.5.0.1/include/freetype2 -# To use homebrew instead of macports, comment out the following two lines. -INCFLAGS+= -I/opt/local/include/freetype2 -I/opt/local/include -LDADD+= -L/opt/local/lib -lX11 -lXcursor -lXft +# To use homebrew , comment out the following two lines. +#INCFLAGS+= -I/opt/local/include/freetype2 -I/opt/local/include +#LDADD+= -L/opt/local/lib -lX11 -lXcursor -lXft LDADD+= -lxcb-keysyms -lxcb-util -lxcb-randr -lX11-xcb -lxcb-xtest -lxcb -lxcb-icccm -- 1.7.10.4