aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/qtpkg/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/qtpkg/files/patch-Makefile')
-rw-r--r--ports-mgmt/qtpkg/files/patch-Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ports-mgmt/qtpkg/files/patch-Makefile b/ports-mgmt/qtpkg/files/patch-Makefile
index 155585330057..5272cfec9295 100644
--- a/ports-mgmt/qtpkg/files/patch-Makefile
+++ b/ports-mgmt/qtpkg/files/patch-Makefile
@@ -12,14 +12,14 @@ $FreeBSD$
-INCPATH = -I/usr/local/include -I/usr/X11R6/include/qt2
+CFLAGS += -pipe -Wall -W -DNO_DEBUG
+CXXFLAGS += ${CFLAGS}
-+INCPATH = -I$(LOCALBASE)/include -I$(X11BASE)/include/
++INCPATH = -I$(LOCALBASE)/include
LINK = c++
-LIBS = $(SUBLIBS) -L/usr/local/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
-MOC = /usr/X11R6/bin/moc2
-UIC = /usr/X11R6/bin/uic
-+LIBS += $(SUBLIBS) -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lXext -lX11 -lm
-+MOC = $(X11BASE)/bin/moc
-+UIC = $(X11BASE)/bin/uic
++LIBS += $(SUBLIBS) -L$(LOCALBASE)/lib -lXext -lX11 -lm
++MOC = $(LOCALBASE)/bin/moc
++UIC = $(LOCALBASE)/bin/uic
TAR = tar -cf
GZIP = gzip -9f