freebsd-ports/devel/cxxtest/files/patch-sample-Makefile.unix
Sergei Kolobov 8da7f1b71a - Update to 3.7.1
While I'm here:
- Install examples and tests into EXAMPLESDIR
- Shorten COMMENT a bit to avoid truncation by pkg_info(1)
- s/ECHO_CMD/ECHO_MSG/ where appropriate

PR:		59607
Submitted by:	maintainer
2003-12-29 08:24:40 +00:00

34 lines
962 B
Text

--- sample/Makefile.unix.orig Sat Sep 20 07:25:49 2003
+++ sample/Makefile.unix Sun Nov 23 02:42:12 2003
@@ -3,23 +3,24 @@
#
# Change this line if you want a different compiler
-CXXC = c++ -Wall -W -Werror -I..
+CXXC = c++ -Wall -W -I/usr/local/include
# If you want to use python, specify USE_PYTHON=1 on the command line
ifdef USE_PYTHON
- TESTGEN = ../cxxtestgen.py
+TESTGEN = ../cxxtestgen.py
else
- TESTGEN = ../cxxtestgen.pl
+TESTGEN = ../cxxtestgen.pl
endif
# For the X11 GUI
X11_FLAGS = -I/usr/X11R6/include -L/usr/X11R6/lib -lX11
# For the Qt GUI
-#QTDIR = /usr/lib/qt
-QTLIB = -lqt-mt
-#QTLIB = -lqt
-QT_FLAGS = -I$(QTDIR)/include -L$(QTDIR)/lib $(QTLIB) -O2
+#QTDIR = /usr/X11R6
+#QTLIB = -lqt-mt
+#QT_FLAGS = -I$(QTDIR)/include -L$(QTDIR)/lib $(QTLIB) -O2
+QT_FLAGS = -I/usr/X11R6/include -L/usr/X11R6/lib -lqt-mt -O2
+
TARGETS = error_printer stdio_printer yes_no_runner file_printer aborter
GUI_TARGETS = x11_runner qt_runner