diff options
Diffstat (limited to 'japanese/xjtext/files/patch-aa')
-rw-r--r-- | japanese/xjtext/files/patch-aa | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/japanese/xjtext/files/patch-aa b/japanese/xjtext/files/patch-aa index 98c017fe971c..bca9e7b51509 100644 --- a/japanese/xjtext/files/patch-aa +++ b/japanese/xjtext/files/patch-aa @@ -6,12 +6,12 @@ -INCDIRS =-I/usr/X11R6/include -I/usr/local/include +CC =${CXX} +CFLAGS =${CXXFLAGS} -c -+INCDIRS =-I${X11BASE}/include `imlib-config --cflags` ++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${X11BASE}/lib ++LIBDIRS =-L${LOCALBASE}/lib OBJS =xwindow.o xfont.o xtext.o xjtext.o lex.yy.o parser.tab.o xjtext-main.o all: xjtext @@ -20,7 +20,7 @@ xjtext: ${OBJS} - LD_RUN_PATH=/usr/X11R6/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\ -+ LD_RUN_PATH=${X11BASE}/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\ ++ LD_RUN_PATH=${LOCALBASE}/lib/ ${CC} ${OBJS} ${LIBDIRS} ${LIBS} ${IMLIBS}\ -o xjtext clean: |