reuse kde module
This commit is contained in:
parent
27a6c032c5
commit
7e367fd024
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile.inc,v 1.19 2003/01/27 19:08:34 espie Exp $
|
||||
# $OpenBSD: Makefile.inc,v 1.20 2003/02/08 12:56:23 espie Exp $
|
||||
DIST_SUBDIR?= kde
|
||||
HOMEPAGE?= http://www.kde.org
|
||||
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/${VERSION}/src/@}
|
||||
@ -7,47 +7,22 @@ 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}
|
||||
MODULES?= qt3
|
||||
PATCH_LIST?= ${PORTSDIR}/x11/kde/arts3/patches/p-* patch-*
|
||||
KDE=lib/kde3
|
||||
MODKDE_VERSION= 3.1
|
||||
MODULES= kde
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS?= ${WRKSRC} ${WRKSRC}/admin
|
||||
.if !defined(NO_DEBUG)
|
||||
FLAVORS+= debug
|
||||
.endif
|
||||
FLAVOR?=
|
||||
MODGNU_CONFIG_GUESS_DIRS?= ${MODKDE_CONFIG_GUESS_DIRS}
|
||||
|
||||
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/libpng:${LOCALBASE}/include"
|
||||
CONFIGURE_ARGS+= --with-xdmdir=/var/X11/kdm
|
||||
CONFIGURE_ARGS+= --enable-mitshm
|
||||
CONFIGURE_ARGS+= --with-xinerama
|
||||
.if ${FLAVOR:L:Mdebug}
|
||||
CONFIGURE_ARGS+= --enable-debug=yes
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-debug
|
||||
CONFIGURE_ARGS+= --disable-dependency-tracking
|
||||
.endif
|
||||
CONFIGURE_ARGS+= --enable-final
|
||||
.if !${CONFIGURE_ARGS:M--with-motif}
|
||||
CONFIGURE_ARGS+= --without-motif
|
||||
.endif
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
|
||||
USE_GMAKE?= Yes
|
||||
|
||||
PORTHOME?=${WRKDIR}
|
||||
|
||||
CONFIGURE_ENV+= UIC_PATH="${MODQT_UIC}" UIC="${MODQT_UIC}"
|
||||
CONFIGURE_ENV+= RUN_KAPPFINDER=no KDEDIR=${LOCALBASE}
|
||||
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
|
||||
MAKE_ENV= ${CONFIGURE_ENV}
|
||||
MODQT_OVERRIDE_UIC=No
|
||||
MODQT_MT=Yes
|
||||
|
||||
SUBST_VARS+= KDE
|
||||
MAKE_FLAGS+=CXXLD='--tag CXX ${CXX} -L${MODQT_LIBDIR}'
|
||||
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
|
||||
FAKE_FLAGS?= TAR=tar DESTDIR=${WRKINST}
|
||||
# GPL
|
||||
PERMIT_DISTFILES_CDROM?= Yes
|
||||
|
Loading…
Reference in New Issue
Block a user