2002-05-15 14:17:59 -04:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.5 2002/05/15 18:17:59 espie Exp $
|
2002-04-09 21:24:38 -04:00
|
|
|
NEED_VERSION+= 1.504
|
2002-04-10 04:45:45 -04:00
|
|
|
DIST_SUBDIR?= kde
|
2002-04-09 21:24:38 -04:00
|
|
|
HOMEPAGE?= http://www.kde.org
|
2002-05-15 14:17:59 -04:00
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/${VERSION}/src/@}
|
2002-04-09 21:24:38 -04:00
|
|
|
EXTRACT_SUFX?= .tar.bz2
|
|
|
|
|
|
|
|
# Parts of kde want shared libraries to work, as some symbols are
|
|
|
|
# duplicated over the place.
|
|
|
|
NOT_FOR_ARCHS?= ${NO_SHARED_ARCHS}
|
|
|
|
.if ${VERSION:M2*}
|
|
|
|
MODULES?= qt2
|
|
|
|
PATCH_LIST?= ${PORTSDIR}/x11/kde/libs2/patches/p-* patch-*
|
2002-04-15 02:39:41 -04:00
|
|
|
KDE=lib/kde2
|
2002-04-09 21:24:38 -04:00
|
|
|
.elif ${VERSION:M3*}
|
|
|
|
MODULES?= qt3
|
|
|
|
PATCH_LIST?= ${PORTSDIR}/x11/kde/arts3/patches/p-* patch-*
|
2002-04-15 02:39:41 -04:00
|
|
|
KDE=lib/kde3
|
2002-04-09 21:24:38 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS?= ${WRKSRC} ${WRKSRC}/admin
|
|
|
|
|
|
|
|
CONFIGURE_STYLE?= autoconf
|
|
|
|
AUTOCONF_NEW= Yes
|
|
|
|
CONFIGURE_ARGS+= ${MODQT_CONFIGURE_ARGS}
|
|
|
|
CONFIGURE_ARGS+= --with-extra-libs=${LOCALBASE}/lib
|
|
|
|
CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include
|
|
|
|
CONFIGURE_ARGS+= --disable-threading
|
|
|
|
CONFIGURE_ARGS+= --disable-mt
|
|
|
|
CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
|
|
|
|
CONFIGURE_ARGS+= --enable-mitshm
|
2002-05-15 14:17:59 -04:00
|
|
|
#CONFIGURE_ARGS+= --enable-debug
|
2002-04-09 21:24:38 -04:00
|
|
|
CONFIGURE_ARGS+= --disable-debug
|
|
|
|
CONFIGURE_ARGS+= --enable-final
|
|
|
|
.if !${CONFIGURE_ARGS:M--with-motif}
|
|
|
|
CONFIGURE_ARGS+= --without-motif
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
USE_GMAKE?= Yes
|
|
|
|
|
|
|
|
PORTHOME?=${WRKDIR}
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
|
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
|
|
|
2002-04-15 02:39:41 -04:00
|
|
|
SUBST_VARS+= KDE
|
2002-04-09 21:24:38 -04:00
|
|
|
MAKE_FLAGS+=CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
|
|
|
FAKE_FLAGS?= TAR=tar DESTDIR=${WRKINST}
|
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM?= Yes
|
|
|
|
PERMIT_DISTFILES_FTP?= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM?= Yes
|
|
|
|
PERMIT_PACKAGE_FTP?= Yes
|