f1735615f6
we'll update to qt 3.3.7 after the immodule patch has been merged, which should hopefully happen in the middle of november....
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
# $OpenBSD: qt3.port.mk,v 1.6 2006/10/24 22:39:36 espie Exp $
|
|
|
|
MODULES+= gcc3
|
|
MODGCC3_ARCHES+=sparc64
|
|
MODGCC3_LANGS+= c++
|
|
|
|
# This fragment uses MODQT_* variables to make it easier to substitute
|
|
# qt1/qt2/qt3 in a port.
|
|
MODQT_LIBDIR= ${LOCALBASE}/lib/qt3
|
|
MODQT_INCDIR= ${LOCALBASE}/include/X11/qt3
|
|
MODQT_OVERRIDE_UIC?=Yes
|
|
MODQT_MT?=Yes
|
|
MODQT_CONFIGURE_ARGS= --with-qt-includes=${MODQT_INCDIR} \
|
|
--with-qt-libraries=${MODQT_LIBDIR}
|
|
_MODQT_SETUP= MOC=${MODQT_MOC} \
|
|
MODQT_INCDIR=${MODQT_INCDIR} \
|
|
MODQT_LIBDIR=${MODQT_LIBDIR}
|
|
.if ${MODQT_OVERRIDE_UIC:L} == "yes"
|
|
_MODQT_SETUP+= UIC=${MODQT_UIC}
|
|
.endif
|
|
|
|
MODQT_LIB_DEPENDS=lib/qt3/qt-mt.>=3::x11/qt3
|
|
LIB_DEPENDS+=lib/qt3/qt-mt.>=3::x11/qt3
|
|
|
|
# may be needed to find plugins
|
|
MODQT_MOC= ${LOCALBASE}/bin/moc3-mt
|
|
MODQT_UIC= ${LOCALBASE}/bin/uic3-mt
|
|
MODQT_QTDIR= ${LOCALBASE}/lib/qt3
|
|
MODQT_PLUGINS= lib/qt3/plugins-30
|
|
|
|
.if ${MODQT_MT:L} != "yes"
|
|
ERRORS+="Fatal: support QTMT only"
|
|
.endif
|
|
|
|
CONFIGURE_ENV+= ${_MODQT_SETUP}
|
|
MAKE_ENV+= ${_MODQT_SETUP}
|
|
MAKE_FLAGS+= ${_MODQT_SETUP}
|