diff options
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/qtpkg/Makefile | 6 | ||||
-rw-r--r-- | ports-mgmt/qtpkg/files/patch-Makefile | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/ports-mgmt/qtpkg/Makefile b/ports-mgmt/qtpkg/Makefile index 5162afecc4f5..28f30a33a0f6 100644 --- a/ports-mgmt/qtpkg/Makefile +++ b/ports-mgmt/qtpkg/Makefile @@ -7,14 +7,16 @@ PORTNAME= qtpkg PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= http://gauss.cord.edu/homepages/twschulz/demo/ DISTNAME= qtpkg -MAINTAINER= twschulz@gloria.cord.edu +MAINTAINER= ports@FreeBSD.org COMMENT= A Qt based package removal tool +MAKE_ENV= LIBS="-lqt-mt ${PTHREAD_LIBS}" CFLAGS="${PTHREAD_CFLAGS}" -USE_QT_VER= 2 +USE_QT_VER= 3 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/qtpkg ${PREFIX}/sbin diff --git a/ports-mgmt/qtpkg/files/patch-Makefile b/ports-mgmt/qtpkg/files/patch-Makefile index b053c5d68c8c..155585330057 100644 --- a/ports-mgmt/qtpkg/files/patch-Makefile +++ b/ports-mgmt/qtpkg/files/patch-Makefile @@ -11,14 +11,14 @@ $FreeBSD$ -CXXFLAGS = -pipe -Wall -W -O2 -DNO_DEBUG -INCPATH = -I/usr/local/include -I/usr/X11R6/include/qt2 +CFLAGS += -pipe -Wall -W -DNO_DEBUG -+CXXFLAGS += -pipe -Wall -W -DNO_DEBUG -+INCPATH = -I$(LOCALBASE)/include -I$(X11BASE)/include/qt2 ++CXXFLAGS += ${CFLAGS} ++INCPATH = -I$(LOCALBASE)/include -I$(X11BASE)/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 -lqt2 -lXext -lX11 -lm -pthread -+MOC = $(X11BASE)/bin/moc2 ++LIBS += $(SUBLIBS) -L$(LOCALBASE)/lib -L$(X11BASE)/lib -lXext -lX11 -lm ++MOC = $(X11BASE)/bin/moc +UIC = $(X11BASE)/bin/uic TAR = tar -cf |