diff options
author | joerg <joerg@pkgsrc.org> | 2008-07-15 16:39:55 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-07-15 16:39:55 +0000 |
commit | 2c8433379b39a12491fc5eb27aff3b802a699c5c (patch) | |
tree | 096a990829f26f5bdfde9dca0ad09a323b7f99b0 /security/kth-krb4 | |
parent | fc69ace62d3944b6889da96cb847b0cd15f7d3e8 (diff) | |
download | pkgsrc-2c8433379b39a12491fc5eb27aff3b802a699c5c.tar.gz |
Try to fix build on NetBSD.
Diffstat (limited to 'security/kth-krb4')
-rw-r--r-- | security/kth-krb4/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/security/kth-krb4/Makefile b/security/kth-krb4/Makefile index 178502d2b72..124ec8a04e5 100644 --- a/security/kth-krb4/Makefile +++ b/security/kth-krb4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.48 2008/01/18 05:09:38 tnn Exp $ +# $NetBSD: Makefile,v 1.49 2008/07/15 16:39:55 joerg Exp $ # DISTNAME= krb4-1.2.2 @@ -47,6 +47,19 @@ SUBST_FILES.paths= ${WRKSRC}/lib/kafs/kafs.h SUBST_SED.paths+= -e 's|/usr/arla/etc/|${PKG_SYSCONFDIR}|g' SUBST_STAGE.paths= post-patch +.if ${OPSYS} == "NetBSD" +PLIST.glob= yes +CONFIGURE_ARGS+= --with-readline=yes \ + --with-readline-lib=${BUILDLINK_PREFIX.readline}/lib \ + --with-readline-include=${BUILDLINK_PREFIX.readline}/include/readline \ + ac_cv_funclib_bswap16=yes \ + ac_cv_funclib_bswap32=yes + +.include "../../devel/readline/buildlink3.mk" +.endif + +PLIST_VARS+= glob + post-install: ${INSTALL_DATA_DIR} ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/etc/krb.conf ${EXAMPLEDIR} |