switch qt flavor to mt.

This commit is contained in:
espie 2003-02-25 00:15:02 +00:00
parent e439409178
commit 7769384ff7
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.30 2003/02/25 00:05:07 espie Exp $
# $OpenBSD: Makefile,v 1.31 2003/02/25 00:15:02 espie Exp $
# $FreeBSD: Makefile,v 1.13 1997/12/25 22:29:17 asami Exp $
COMMENT= "dungeon explorin', hackin', game. Piece of cake"
@ -35,6 +35,7 @@ NETHACKCONFIG=${FILESDIR}/simple-config
SED_PLIST=|sed -e '/^!%%no_x11%%/d'
NETHACKCONFIG=${FILESDIR}/qt-config
MODULES= qt3
MODQT_MT= Yes
.else
NETHACKCONFIG=${FILESDIR}/x-config
USE_X11= Yes

View File

@ -2,11 +2,11 @@
# qt flavor needs at least 2.0 to work
VARDATND = x11tiles pet_mark.xbm rip.xpm
VARDAT = $(VARDATD) $(VARDATND)
CFLAGS+=-DQT_GRAPHICS -I$(MODQT_INCDIR)
LFLAGS =-L$(MODQT_LIBDIR) -L$(X11BASE)/lib -L$(LOCALBASE)/lib
CFLAGS+=-DQT_GRAPHICS -I$(MODQT_INCDIR) -pthread
LFLAGS =-pthread -L$(MODQT_LIBDIR) -L$(X11BASE)/lib -L$(LOCALBASE)/lib
WINSRC = $(WINTTYSRC) $(WINQTSRC)
WINOBJ = $(WINTTYOBJ) $(WINQTOBJ)
WINLIB = $(WINTTYLIB) -lqt -lSM
WINLIB = $(WINTTYLIB) -lqt-mt -lSM
QTDIR = $(LOCALBASE)
LINKCMD = g++