1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/ports-mgmt/qtpkg/files/patch-Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

26 lines
642 B
Plaintext

$FreeBSD$
--- Makefile 2001/01/23 16:32:54 1.1
+++ Makefile 2001/01/23 16:36:12
@@ -9,13 +9,13 @@
CC = cc
CXX = c++
-CFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
-CXXFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG
-INCPATH = -I/usr/local/include -I/usr/X11R6/include/qt2
+CFLAGS += -pipe -Wall -W -DNO_DEBUG
+CXXFLAGS += ${CFLAGS}
+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 -lXext -lX11 -lm
+MOC = $(LOCALBASE)/bin/moc
+UIC = $(LOCALBASE)/bin/uic
TAR = tar -cf
GZIP = gzip -9f