2004-02-01 17:59:49 -05:00
|
|
|
# $OpenBSD: Makefile.inc,v 1.26 2004/02/01 22:59:49 espie Exp $
|
2002-04-10 04:45:45 -04:00
|
|
|
DIST_SUBDIR?= kde
|
2002-04-09 21:24:38 -04:00
|
|
|
HOMEPAGE?= http://www.kde.org
|
2004-02-01 17:59:49 -05:00
|
|
|
.if defined(VERSION) && ${VERSION} == "3.1.95"
|
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@unstable/${VERSION}/src/@}
|
|
|
|
.else
|
2002-05-15 14:17:59 -04:00
|
|
|
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/${VERSION}/src/@}
|
2004-02-01 17:59:49 -05:00
|
|
|
.endif
|
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}
|
2003-02-16 09:31:19 -05:00
|
|
|
MODKDE_VERSION?= 3.1
|
2003-02-23 09:09:21 -05:00
|
|
|
MODULES?= kde
|
2002-04-09 21:24:38 -04:00
|
|
|
|
2003-02-08 07:56:23 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS?= ${MODKDE_CONFIG_GUESS_DIRS}
|
2002-04-09 21:24:38 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE?= autoconf
|
2003-06-12 15:16:15 -04:00
|
|
|
AUTOCONF_VERSION?= 2.57
|
2003-02-08 07:56:23 -05:00
|
|
|
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
|
2002-04-09 21:24:38 -04:00
|
|
|
USE_GMAKE?= Yes
|
|
|
|
|
|
|
|
PORTHOME?=${WRKDIR}
|
|
|
|
|
2003-02-08 07:56:23 -05:00
|
|
|
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
|
2002-04-09 21:24:38 -04:00
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
|
|
|
|
2003-02-08 07:56:23 -05:00
|
|
|
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
|
2002-04-09 21:24:38 -04:00
|
|
|
FAKE_FLAGS?= TAR=tar DESTDIR=${WRKINST}
|
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM?= Yes
|
|
|
|
PERMIT_DISTFILES_FTP?= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM?= Yes
|
|
|
|
PERMIT_PACKAGE_FTP?= Yes
|
2003-01-06 11:34:18 -05:00
|
|
|
CFLAGS+=-fno-stack-protector
|
|
|
|
CXXFLAGS+=-fno-stack-protector
|