pkgsrc/net/kdenetwork3/Makefile
wiz e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00

68 lines
1.9 KiB
Makefile

# $NetBSD: Makefile,v 1.58 2007/01/17 23:47:22 wiz Exp $
DISTNAME= kdenetwork-${_KDE_VERSION}
PKGREVISION= 2
CATEGORIES= net
COMMENT= Network modules for the KDE integrated X11 desktop
PATCH_SITES= ftp://ftp.kde.org/pub/kde/security_patches/
PATCHFILES= post-3.5.5-kdenetwork-ksirc.diff
CONFLICTS= kopete-[0-9]*
.include "../../meta-pkgs/kde3/Makefile.kde3"
DEPENDS+= qca-tls>=1.0:../../security/qca-tls
USE_DIRS+= xdg-1.1
USE_TOOLS+= pkg-config
PTHREAD_OPTS+= require
REPLACE_PERL+= ksirc/dsirc \
knewsticker/knt-0.1-0.2.pl \
kopete/kopete/kconf_update/kopete-account-0.10.pl \
kopete/kopete/kconf_update/kopete-pluginloader.pl
REPLACE_INTERPRETER+= bash
REPLACE.bash.old= /bin/bash
REPLACE.bash.new= ${SH}
REPLACE_FILES.bash= krfb/krfb_httpd/krfb_httpd
CONFIGURE_ARGS+= --disable-meanwhile
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CONFIGURE_ENV+= ac_cv_header_net_if_ppp_h=yes
.endif
.if ${OPSYS} == "SunOS"
CONFIGURE_ENV+= ac_cv_sys_file_offset_bits=no
.endif
.if !exists(${X11BASE}/lib/libXss.so)
CONFIGURE_ENV+= ac_cv_lib_Xss_XScreenSaverQueryInfo="no"
.endif
post-configure:
${TOUCH} ${WRKSRC}/Makefile ${WRKSRC}/config.h
(cd ${WRKSRC}/kopete/protocols/jabber/libiris/iris/xmpp-core; \
${MV} Makefile Makefile.save; ${GREP} -v "^#>" Makefile.save > Makefile; \
${RM} Makefile.save)
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../converters/uulib/buildlink3.mk"
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/libidn/buildlink3.mk"
.include "../../net/openslp/buildlink3.mk"
.include "../../x11/kdebase3/buildlink3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"