diff options
Diffstat (limited to 'security/xdm-krb4/Makefile')
-rw-r--r-- | security/xdm-krb4/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/security/xdm-krb4/Makefile b/security/xdm-krb4/Makefile index 8c707b4b838..c6e7bfa934f 100644 --- a/security/xdm-krb4/Makefile +++ b/security/xdm-krb4/Makefile @@ -1,14 +1,22 @@ -# $NetBSD: Makefile,v 1.10 2001/08/09 19:29:46 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2002/04/05 11:49:37 wennmach Exp $ # -DISTNAME= xdm-krb4-3.3.6.2 +DISTNAME= xdm-krb4-3.3.6.3 CATEGORIES= security x11 MASTER_SITES= ftp://gutemine.geo.Uni-Koeln.DE/pub/xdm-krb4/ MAINTAINER= wennmach@netbsd.org COMMENT= Kerberos IV and AFS aware xdm -DEPENDS+= kth-krb4>=1.0.1:../../security/kth-krb4 +.if exists(/usr/lib/libroken.a) +KRB4_INCLUDE= -I/usr/include/kerberosIV +KRB4_LIBS= -L/usr/lib -lkafs -lkrb -ldes -lkrb5 -lroken -lasn1 -lcom_err +.else +.include "../../security/kth-krb4/buildlink.mk" +USE_BUILDLINK_ONLY= # defined +KRB4_INCLUDE= -I${BUILDLINK_DIR}/include/kerberosIV +KRB4_LIBS= -L${BUILDLINK_DIR}/lib -lkafs -lkrb -ldes +.endif USE_X11BASE= yes USE_IMAKE= yes @@ -16,7 +24,8 @@ USE_IMAKE= yes .include "../../mk/bsd.prefs.mk" post-patch: - @${SED} -e 's|@PREFIX@|${LOCALBASE}|g' \ + @${SED} -e 's|@KRB4_INCLUDE@|${KRB4_INCLUDE}|g' \ + -e 's|@KRB4_LIBS@|${KRB4_LIBS}|g' \ < ${WRKSRC}/Imakefile.in \ > ${WRKSRC}/Imakefile |