ports/misc/icemc/files/patch-Makefile
2003-06-10 01:32:26 +00:00

38 lines
966 B
Text

--- Makefile.orig Mon Jun 9 18:24:33 2003
+++ Makefile Mon Jun 9 18:29:03 2003
@@ -13,25 +13,25 @@
# QTDIR = /usr/lib/qt
# DESTDIR (location (base without ..."/bin") for installing)
-DESTDIR = /usr/local
+DESTDIR = ${PREFIX}
####### Compiler, tools and options
# INCPATH specify where the includefiles are
-INCPATH = -I$(QTDIR)/include
+INCPATH = ${QTCPPFLAGS}
# LFLAGS specify where the (qt) libraries are
LFLAGS = -L$(QTDIR)/lib
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -DNO_DEBUG
-CXXFLAGS= -pipe -DNO_DEBUG -Wall -ansi
-LINK = g++
-LIBS = $(SUBLIBS) -lqt
+#CC = gcc
+#CXX = g++
+CFLAGS += -pipe -DNO_DEBUG
+CXXFLAGS+= -pipe -DNO_DEBUG -Wall -ansi
+LINK = ${CXX}
+LIBS = ${QTCFGLIBS} ${LIBQT}
# you might try this if icemc won't link or segfaults when starting up:
#LIBS = $(SUBLIBS) -lqt-mt
-MOC = $(QTDIR)/bin/moc
-UIC = $(QTDIR)/bin/uic
+#MOC = $(QTDIR)/bin/moc
+UIC = $(X11BASE)/bin/uic
TAR = tar -cf
GZIP = gzip -9f