1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/x11-wm/icemc/files/patch-Makefile
Adam Weinberger 42efc2a169 Update icemc 0.2.2 -> 0.2.3. Although the port now officially uses QT3
instead of QT2, this release is primarily a bugfix to prevent the program
from dumping core and truncating the menu file when saving.

This fix was based upon knowledge gleamed from:
PR:		44318
Submitted by:	brian K. White <brian@aljex.ocm>

Approved by:	pat, kris
2002-11-29 06:31:28 +00:00

36 lines
822 B
Plaintext

--- Makefile.orig Thu Nov 28 16:11:25 2002
+++ Makefile Thu Nov 28 16:14:44 2002
@@ -13,22 +13,22 @@
# QTDIR = /usr/lib/qt
# DESTDIR (location for installing)
-DESTDIR = /usr/local
+DESTDIR = ${PREFIX}/bin
####### Compiler, tools and options
-CC = gcc
-CXX = g++
-CFLAGS = -pipe -DNO_DEBUG
-CXXFLAGS= -pipe -DNO_DEBUG -Wall -ansi
-INCPATH = -I$(QTDIR)/include
-LINK = g++
+#CC = gcc
+#CXX = g++
+CFLAGS += -pipe -DNO_DEBUG
+CXXFLAGS+= -pipe -DNO_DEBUG -Wall -ansi
+INCPATH = ${QTCPPFLAGS}
+LINK = ${CXX}
LFLAGS =
-LIBS = $(SUBLIBS) -lqt
+LIBS = ${QTCFGLIBS} ${LIBQT}
# you might try this if icemc 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