- Respect LOCALBASE

Reported by:	QAT
Approved by:	tabthorpe (mentor, implicit)
This commit is contained in:
Gabor Pali 2009-07-09 22:27:49 +00:00
parent 0960b86b0b
commit c38b016a38
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237559

View file

@ -26,7 +26,7 @@
-CC_INC = -I/usr/X11/include -I/usr/local/include
+#CC = gcc
+CC_OPTS = ${CFLAGS}
+CC_INC = -I${LOCALBASE}/include -I/usr/local/include/tk8.4 -I/usr/local/include/tcl8.4
+CC_INC = -I${LOCALBASE}/include -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4
-GHC = ghc-5.00.2
-GHC-PKG=ghc-pkg-5.00.2
@ -51,7 +51,7 @@
# The directories containing the X11, Tcl and Tk (binary) libraries:
-CCLIB = -L /usr/lib/X11 -L /usr/local/lib
+CCLIB = -L ${LOCALBASE}/lib/X11 -L /usr/local/lib
+CCLIB = -L ${LOCALBASE}/lib/X11 -L ${LOCALBASE}/lib
# the libraries required by Tcl/Tk: