1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/games/xlines/files/patch-aa
2003-02-02 00:37:30 +00:00

32 lines
818 B
Plaintext

--- Makefile.orig Sun Feb 2 01:23:47 2003
+++ Makefile Sun Feb 2 01:28:23 2003
@@ -1,8 +1,8 @@
-INCDIR=/usr/local/qt/include
-CFLAGS=-O2 -I/usr/X11/include
-LFLAGS=-L/usr/local/qt/lib -lqt -L/usr/X11/lib -lX11
-CC=gcc
-MOC=/usr/local/qt/bin/moc
+INCDIR=${X11BASE}/include/
+CXXFLAGS+=-I${X11BASE}/include -DSHOW_NEXT_COLORS ${PTHREAD_CFLAGS}
+LFLAGS=-L${X11BASE}/lib -lqt-mt ${PTHREAD_LIBS}
+CC?=gcc
+MOC=${X11BASE}/bin/moc
SRC=lines.cpp lines.moc
OBJECTS=lines.o
@@ -14,12 +14,12 @@
.SUFFIXES: .cpp
.cpp.o:
- $(CC) -c $(CFLAGS) -I$(INCDIR) $<
+ $(CXX) -c $(CXXFLAGS) -I$(INCDIR) $<
all: $(TARGET)
$(TARGET): $(MOCFILES) $(OBJECTS) lines.h
- $(CC) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
+ $(CXX) $(OBJECTS) -o $(TARGET) $(LFLAGS) -I$(INCDIR)
lines.moc: lines.h
$(MOC) lines.h -o lines.moc