2003-05-22 16:25:33 -04:00
|
|
|
# $OpenBSD: kde.port.mk,v 1.5 2003/05/22 20:25:33 marcm Exp $
|
2003-02-08 07:37:50 -05:00
|
|
|
MODULES+= qt3
|
|
|
|
MODQT_OVERRIDE_UIC?=No
|
|
|
|
MODQT_MT?=Yes
|
|
|
|
|
2003-02-28 10:08:21 -05:00
|
|
|
MODKDE_NODEBUG?=No
|
|
|
|
|
|
|
|
.if !${MODKDE_NODEBUG:L} == "yes"
|
2003-02-08 07:37:50 -05:00
|
|
|
FLAVORS+= debug
|
|
|
|
.endif
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
MODKDE_CONFIGURE_ARGS=${MODQT_CONFIGURE_ARGS}
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --with-extra-libs="${LOCALBASE}/lib"
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --with-extra-includes="${LOCALBASE}/include/libpng:${LOCALBASE}/include"
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --enable-mitshm
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --with-xinerama
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --enable-debug=yes
|
|
|
|
.else
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --disable-debug
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --disable-dependency-tracking
|
|
|
|
.endif
|
|
|
|
MODKDE_CONFIGURE_ARGS+= --enable-final
|
|
|
|
|
2003-02-24 19:19:43 -05:00
|
|
|
MODKDE_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/admin
|
2003-02-08 07:37:50 -05:00
|
|
|
|
|
|
|
MODKDE_CONFIGURE_ENV= UIC_PATH="${MODQT_UIC}" UIC="${MODQT_UIC}"
|
|
|
|
MODKDE_CONFIGURE_ENV+= RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
|
|
|
|
MODKDE_MAKE_FLAGS= CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
|
|
|
|
|
|
|
KDE=lib/kde3
|
|
|
|
SUBST_VARS+= KDE
|
|
|
|
|
|
|
|
MODKDE_VERSION?=
|
|
|
|
.if ${MODKDE_VERSION} == "3.1"
|
2003-05-22 16:25:33 -04:00
|
|
|
PATCH_LIST= ${PORTSDIR}/x11/kde/patches-3.1/patch-* patch-*
|
2003-02-24 19:19:43 -05:00
|
|
|
.elif ${MODKDE_VERSION} == "2.2.2"
|
2003-05-22 16:25:33 -04:00
|
|
|
PATCH_LIST= ${PORTSDIR}/x11/kde/patches-2.2.2/patch-* patch-*
|
2003-02-08 07:37:50 -05:00
|
|
|
.endif
|