openbsd-ports/devel/lincvs/patches/patch-Makefile
reinhard f7d9850b2c - honour CC, quote CFLAGS, cosmetics (patch from naddy@)
- bump NEED_VERSION

NB: 0.2.5 doesn't work on sparc (pthreads) - thanks naddy for testing
2001-02-09 16:41:12 +00:00

28 lines
819 B
Plaintext

--- Makefile.orig Fri Dec 3 16:45:01 1999
+++ Makefile Sun Dec 3 23:07:17 2000
@@ -7,15 +7,15 @@
####### Compiler, tools and options
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -Wall -W -O3 -DLINCVS_APP
-CXXFLAGS= -pipe -Wall -W -O3 -DLINCVS_APP
-INCPATH = -I./include -I./res -I./themes/include -I./themes/res -I$(QTDIR)/include
-LINK = g++
+#CC = gcc
+#CXX = g++
+CFLAGS+= -Wall -W -O2 -D_REENTRANT -DLINCVS_APP -DNO_DEBUG
+CXXFLAGS= -Wall -W -D_REENTRANT -DLINCVS_APP -DNO_DEBUG
+INCPATH = -I./include -I./res -I./themes/include -I./themes/res -I${PREFIX}/include/X11/qt2
+LINK = $(CXX)
LFLAGS =
-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lXext -lX11 -lm
-MOC = moc
+LIBS = -L$(PREFIX)/lib/qt2 -L${PREFIX}/lib -L${X11BASE}/lib -lqt -lXext -lX11 -lm
+MOC = $(PREFIX)/bin/moc2
TAR = tar -cf
GZIP = gzip -9f