1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/editors/fine/files/patch-aa

43 lines
1.5 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Tue Mar 16 09:14:22 1999
+++ Makefile Tue Aug 17 16:15:41 1999
@@ -1,14 +1,15 @@
-INCLUDE = -I$(QTDIR)/include -I. -I$(HOME)/include -I./icons
-DESTLIB = $(HOME)/lib # where to put library
-LIB = -L/usr/X11R6/lib -L$(QTDIR)/lib -L$(DESTLIB)
+QTDIR = ${X11BASE}
+INCLUDE = -I$(QTDIR)/include -I ${QTDIR}/include/X11/qt -I. -I$(HOME)/include -I./icons
+DESTLIB = ${PREFIX}/lib
+LIB = -L${LOCALBASE}/lib -L$(QTDIR)/lib -L$(DESTLIB) -L.
MOC = $(QTDIR)/bin/moc
-CC = g++
-C = gcc
+#CC = ${CX
+#CXX = ${CXX}
AR = ar
M = moc_
-OPTIONS = -g -ansi -fguiding-decls
+OPTIONS = ${CFLAGS} -fguiding-decls -DFINEDIR=\""${PREFIX}/share/fine\""
OBJ = qsmartedit.o qcolormultilinedit.o undoredo.o qeditor.o qfontselect.o qcolordialog.o qcolorlistboxitem.o qkeyworddialog.o qhotkeydialog.o
METAOBJ = qsmartedit.mo qcolormultilinedit.mo qeditor.mo qfontselect.mo qcolordialog.mo qkeyworddialog.mo qhotkeydialog.mo
@@ -27,14 +28,13 @@
$(TARGET): $(OBJ) $(METAOBJ)
$(AR) r $(TARGET) $(OBJ) $(METAOBJ)
- mv $(TARGET) $(DESTLIB)
%.o: %.C
- $(CC) -c $(OPTIONS) $(INCLUDE) $<
+ $(CXX) -c $(OPTIONS) $(INCLUDE) $<
%.mo: %.h
$(MOC) $< -o $(subst .h,.C,m$<)
- $(CC) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,m$<) -o $(subst .h,.mo,$<)
+ $(CXX) -c $(OPTIONS) $(INCLUDE) $(subst .h,.C,m$<) -o $(subst .h,.mo,$<)
fine: fine.o fine.mo
- $(CC) -g -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt -lX11 -lXext
+ $(CXX) -g -ofine fine.o fine.mo $(OPTIONS) $(LIB) -lFine -lqt -lX11 -lXext