openbsd-ports/x11/kde/Makefile.inc
espie c3309ca970 3.2.0 -> 3.2, grrrrr.
Noticed by Robert Nagy.
2004-02-07 10:59:43 +00:00

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile.inc,v 1.27 2004/02/07 10:59:43 espie Exp $
DIST_SUBDIR?= kde
HOMEPAGE?= http://www.kde.org
.if defined(VERSION) && ${VERSION} == "3.1.95"
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@unstable/${VERSION}/src/@}
.elif defined(VERSION) && ${VERSION} == "3.2.0"
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/3.2/src/@}
.else
MASTER_SITES?= ${MASTER_SITE_KDE:S@$@stable/${VERSION}/src/@}
.endif
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}
MODKDE_VERSION?= 3.1
MODULES?= kde
MODGNU_CONFIG_GUESS_DIRS?= ${MODKDE_CONFIG_GUESS_DIRS}
CONFIGURE_STYLE?= autoconf
AUTOCONF_VERSION?= 2.57
CONFIGURE_ARGS+= ${MODKDE_CONFIGURE_ARGS}
USE_GMAKE?= Yes
PORTHOME?=${WRKDIR}
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV}
MAKE_ENV= ${CONFIGURE_ENV}
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
FAKE_FLAGS?= TAR=tar DESTDIR=${WRKINST}
# GPL
PERMIT_DISTFILES_CDROM?= Yes
PERMIT_DISTFILES_FTP?= Yes
PERMIT_PACKAGE_CDROM?= Yes
PERMIT_PACKAGE_FTP?= Yes
CFLAGS+=-fno-stack-protector
CXXFLAGS+=-fno-stack-protector