freebsd-ports/misc/kdeutils4/Makefile
Will Andrews d075bf0f86 Fix the -pthread problem in case the option gets removed again. This
patch involved patching the core auto* routines in KDE to accept the
PTHREAD_* variables in the environment, with fallbacks.  We decided the
easiest way to implement this in ports was to generate configure instead
of risking incorrect generation at port configure time.

Said patch has already been committed to HEAD in KDE and as such will be
removed with the 3.2 upgrade once it is released.

Ports using Makefile.kde that shouldn't be using them (i.e. non-KDE
modules) have this support commented out due to lack of patch.

Helped out:	Adriaan de Groot <adridg@cs.kun.nl>
		Lauri Watts <lauri@kde.org>
		Andy Fawcett <andy@athame.co.uk>
2003-10-03 22:34:44 +00:00

62 lines
1.4 KiB
Makefile

# New ports collection makefile for: kdeutils3
# Date created: 3 November 2001
# Whom: will@cvs.kde.org
#
# $FreeBSD$
#
PORTNAME= kdeutils
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 0
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
COMMENT= Utilities for the KDE integrated X11 desktop
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
KDE_BUILD_PLIST=yes
USE_BZIP2= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
#klaptop doesn't like alpha and ia64 because they don't support apm
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "ia64")
WITHOUT_KLAPTOP =yes
.endif # ${MACHINE_ARCH} == "alpha"
.if defined(WITHOUT_KLAPTOP)
DO_NOT_COMPILE+=klaptopdaemon
.else
PLIST_APPEND+= plist.klaptop
.endif # defined(WITHOUT_KLAPTOP)
# kfloppy is a mostly broken, non-standard, linux-centric pain...
.if !defined(WITH_KFLOPPY)
DO_NOT_COMPILE+=kfloppy
.else
PLIST_APPEND+= plist.kfloppy
.endif # !defined(WITH_KFLOPPY)
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500107
post-patch:
${REINPLACE_CMD} -e 's,selectdevs,devstat_selectdevs,' ${WRKSRC}/configure
.endif
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.post.mk>