diff options
author | R. Imura <imura@FreeBSD.org> | 2000-02-13 04:09:42 +0000 |
---|---|---|
committer | R. Imura <imura@FreeBSD.org> | 2000-02-13 04:09:42 +0000 |
commit | 3e28ff871ca725b95237c6d7675fda367ffbd548 (patch) | |
tree | 67122f98d470a8ff57b91b5b2321472f01dd2d65 /finance/qhacc/files/patch-aa | |
parent | Initial import of dhcpconf-0.7.0. (diff) |
Initial import of qhacc-0.2.6.
Simple QT2-based financial manager.
PR: 16524
Submitted by: Will Andrews <andrews@technologist.com>
Notes
Notes:
svn path=/head/; revision=25737
Diffstat (limited to 'finance/qhacc/files/patch-aa')
-rw-r--r-- | finance/qhacc/files/patch-aa | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/finance/qhacc/files/patch-aa b/finance/qhacc/files/patch-aa new file mode 100644 index 000000000000..ce038c739679 --- /dev/null +++ b/finance/qhacc/files/patch-aa @@ -0,0 +1,54 @@ +--- Makefile Sun Jan 2 20:30:54 2000 ++++ Makefile.new Thu Feb 3 00:52:21 2000 +@@ -3,11 +3,11 @@ + SYSCONF_CC = gcc + + # Compiling with support libraries +-SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include ++SYSCONF_CXXFLAGS_QT = -I$(QTDIR)/include/qt2 + + # Linking with support libraries + SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib +-SYSCONF_LIBS_QT = -lqt ++SYSCONF_LIBS_QT = -lqt2 + + # Linking applications + SYSCONF_LINK = g++ +@@ -15,7 +15,7 @@ + SYSCONF_LIBS = + + # Meta-object compiler +-SYSCONF_MOC = $(QTDIR)/bin/moc ++SYSCONF_MOC = $(QTDIR)/bin/moc2 + + # Compiling application source + #SYSCONF_CXXFLAGS = -pipe -DNO_DEBUG -O2 +@@ -26,12 +26,13 @@ + + ####### Compiler, tools and options + +-CXX = $(SYSCONF_CXX) +-CXXFLAGS= $(SYSCONF_CXXFLAGS_QT) $(SYSCONF_CXXFLAGS) +-CC = $(SYSCONF_CC) +-CFLAGS = $(SYSCONF_CFLAGS) +-INCPATH = +-LFLAGS = $(SYSCONF_LFLAGS_QT) $(SYSCONF_LFLAGS_X11) $(SYSCONF_LFLAGS) ++QTDIR ?= /usr/X11R6 ++CXX ?= c++ ++CXXFLAGS?= -O -pipe ++CC ?= cc ++CFLAGS ?= -O -pipe ++INCPATH = $(SYSCONF_CXXFLAGS_QT) ++LFLAGS = $(CXXFLAGS) $(SYSCONF_LFLAGS_QT) $(SYSCONF_LIBS_QT) + LIBS = $(SYSCONF_LIBS_QT) $(SYSCONF_LIBS_X11) $(SYSCONF_LIBS) + MOC = $(SYSCONF_MOC) + +@@ -80,7 +81,7 @@ + all: $(DESTDIR)$(TARGET) + + $(DESTDIR)$(TARGET): $(OBJECTS) $(OBJMOC) +- $(SYSCONF_LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJMOC) $(LIBS) ++ $(CXX) $(LFLAGS) $(INCPATH) -o $(TARGET) $(OBJECTS) $(OBJMOC) + + moc: $(SRCMOC) + |