1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/net/kdenetwork4/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

55 lines
1.2 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: kdenetwork2
# Date created: 2 November 2001
# Whom: will@cvs.kde.org
#
# $FreeBSD$
#
PORTNAME= kdenetwork
PORTVERSION= ${KDE_VERSION}
CATEGORIES?= net news kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${KDE_VERSION}/src
DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
COMMENT= Network-related programs and modules for KDE
LIB_DEPENDS= uu.2:${PORTSDIR}/converters/uulib
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
KDE_BUILD_PLIST=yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_KTALKD)
UTMP?= /var/run/utmp
.if exists(${UTMP})
PLIST_APPEND+= plist.ktalkd
.else
DO_NOT_COMPILE+= ktalkd
pre-everything::
@${ECHO_MSG} "===> \"${UTMP}\" was not found."
@${ECHO_MSG} "===> The talk daemon (ktalkd) will not be built."
.endif # exists(${UTMP})
.else
DO_NOT_COMPILE+= ktalkd
.endif # !defined(WITHOUT_KTALKD)
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
.include <bsd.port.post.mk>