67 lines
2.1 KiB
Makefile
67 lines
2.1 KiB
Makefile
# $NetBSD: Makefile,v 1.44 2005/09/29 13:44:43 adam Exp $
|
|
|
|
DISTNAME= kdenetwork-${_KDE_VERSION}
|
|
CATEGORIES= net
|
|
COMMENT= Network modules for the KDE integrated X11 desktop
|
|
|
|
CONFLICTS= kopete-[0-9]*
|
|
|
|
.include "../../meta-pkgs/kde3/Makefile.kde3"
|
|
|
|
USE_DIRS+= xdg-1.1
|
|
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= /bin/sh
|
|
_REPLACE_FILES.bash= krfb/krfb_httpd/krfb_httpd
|
|
|
|
.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)
|
|
|
|
# a fix for qt-3.3.5, please remove if qt-3.3.6 (or newer) solves the problem
|
|
SUBST_CLASSES+= hints
|
|
SUBST_STAGE.hints= post-patch
|
|
SUBST_MESSAGE.hints= "Fix includehints."
|
|
SUBST_FILES.hints= kopete/protocols/groupwise/ui/gwaccountpreferences.ui \
|
|
kopete/protocols/msn/ui/msneditaccountui.ui \
|
|
kopete/protocols/irc/ui/ircadd.ui \
|
|
kopete/protocols/irc/ui/irceditaccount.ui \
|
|
kopete/protocols/oscar/aim/ui/aimeditaccountui.ui \
|
|
kopete/protocols/oscar/icq/ui/icqeditaccountui.ui \
|
|
kopete/protocols/jabber/ui/dlgjabbereditaccountwidget.ui \
|
|
kopete/protocols/gadu/ui/gadueditaccountui.ui \
|
|
ksirc/KSOpenkSirc/open_ksircData.ui
|
|
SUBST_FILTER_CMD.hints= ${GREP} -v includehint
|
|
|
|
.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 "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|