pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/kth-krb4 Try to fix build on NetBSD.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/53b7af15fd28
branches:  trunk
changeset: 544549:53b7af15fd28
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jul 15 16:39:55 2008 +0000

description:
Try to fix build on NetBSD.

diffstat:

 security/kth-krb4/Makefile |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (29 lines):

diff -r 14a123f47326 -r 53b7af15fd28 security/kth-krb4/Makefile
--- a/security/kth-krb4/Makefile        Tue Jul 15 16:38:36 2008 +0000
+++ b/security/kth-krb4/Makefile        Tue Jul 15 16:39:55 2008 +0000
@@ -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_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}



Home | Main Index | Thread Index | Old Index