aboutsummaryrefslogblamecommitdiff
path: root/japanese/xjtext/files/patch-aa
blob: bca9e7b515098de777573be5356213b9ac1791f1 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                          
                                                               

                                              

                                                   
                                   

                                                                               





                                                                               
                                                                                 


                 
--- Makefile.orig	Sat Sep  4 22:45:16 1999
+++ Makefile	Mon May 16 15:30:41 2005
@@ -1,9 +1,9 @@
-CC	=g++
-CFLAGS	=-c -g -O 
-INCDIRS	=-I/usr/X11R6/include -I/usr/local/include
+CC	=${CXX}
+CFLAGS	=${CXXFLAGS} -c
+INCDIRS	=-I${LOCALBASE}/include `imlib-config --cflags`
 LIBS 	=-lX11 -lXext  -lm -lfl 
-IMLIBS	=-ljpeg -lpng -ltiff -lz -lgif -lImlib
-LIBDIRS	=-L/usr/X11R6/lib/ -L/usr/local/lib
+IMLIBS	=`imlib-config --libs`
+LIBDIRS	=-L${LOCALBASE}/lib
 OBJS	=xwindow.o xfont.o xtext.o xjtext.o lex.yy.o parser.tab.o xjtext-main.o
 
 all: xjtext
@@ -39,7 +39,7 @@
 	${CC} ${CFLAGS} ${INCDIRS} lex.yy.c
 
 xjtext: ${OBJS}
-	LD_RUN_PATH=/usr/X11R6/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\
+	LD_RUN_PATH=${LOCALBASE}/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\
 	-o xjtext
 
 clean: