diff options
author | joerg <joerg> | 2008-07-15 16:39:55 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-07-15 16:39:55 +0000 |
commit | a8c42ef01ef4e11ecad880496f16308e0f2b6be9 (patch) | |
tree | 096a990829f26f5bdfde9dca0ad09a323b7f99b0 /security/kth-krb4/Makefile | |
parent | dc029910139cb10583877d76380ac08b3346d3ba (diff) | |
download | pkgsrc-a8c42ef01ef4e11ecad880496f16308e0f2b6be9.tar.gz |
Try to fix build on NetBSD.
Diffstat (limited to 'security/kth-krb4/Makefile')
-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} |