From 9297934bf2a716c35328d6955258b473455b2cbd Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 30 Mar 2005 10:34:33 +0000 Subject: [PATCH] let kde see krb5 and activate gssapi. --- x11/kde/libs3/Makefile | 11 ++++++++--- x11/kde/libs3/files/krb5-config | 9 +++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100755 x11/kde/libs3/files/krb5-config diff --git a/x11/kde/libs3/Makefile b/x11/kde/libs3/Makefile index 321fb0d3c2b..c1c5afcb1f1 100644 --- a/x11/kde/libs3/Makefile +++ b/x11/kde/libs3/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.49 2005/03/29 21:18:36 espie Exp $ +# $OpenBSD: Makefile,v 1.50 2005/03/30 10:34:33 espie Exp $ COMMENT= "K Desktop Environment, libraries" CATEGORIES= x11 x11/kde VERSION= 3.4.0 DISTNAME= kdelibs-${VERSION} -PKGNAME= ${DISTNAME} +PKGNAME= ${DISTNAME}p0 MODKDE_VERSION?= 3.4 FLAVORS=debug @@ -20,7 +20,8 @@ LIB_DEPENDS= art_lgpl_2::graphics/libart \ WANTLIB= c ICE SM X11 Xext Xrender audiofile esd glib-2.0.0.0 \ gmodule-2.0.0.0 gthread-2.0.0.0 iconv intl jpeg m mad ogg \ ossaudio png pthread stdc++ util vorbis vorbisenc vorbisfile \ - xml2 z + xml2 z krb5 gssapi ssl crypto asn1 + CONFIGURE_ARGS+= --enable-cups BUILD_DEPENDS+= ::print/cups # crypto,ssl,cups @@ -46,6 +47,10 @@ EXTRA_MANPAGES= artsmessage cupsdconf dcop \ ksendbugmail ksvgtopng ktelnetservice \ meinproc +post-extract: + cp ${FILESDIR}/krb5-config ${WRKDIR}/bin + chmod a+x ${WRKDIR}/bin/krb5-config + post-build: @mkdir -p ${WRKBUILD}/man/man1 @for i in ${EXTRA_MANPAGES}; do \ diff --git a/x11/kde/libs3/files/krb5-config b/x11/kde/libs3/files/krb5-config new file mode 100755 index 00000000000..bec5ea6064d --- /dev/null +++ b/x11/kde/libs3/files/krb5-config @@ -0,0 +1,9 @@ +#! /bin/sh + +case x$1 in +x--libs) + echo '-lgssapi -lkrb5 -lasn1 -lcrypto';; +x--cflags) + echo '-I/usr/include/kerberosV';; +esac +exit 0