Subject: zephyr and libss and libdes and BUILDLINK_CPPFLAGS.kth-krb4
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 11/03/2005 20:12:16
On DragonFly, I needed libdes and libss to build pkgsrc/chat/zephyr. So I
included:
.include "../../security/kth-krb4/buildlink3.mk"
.include "../../security/libdes/buildlink3.mk"
I don't see a security/kth-krb4/builtin.mk so this would make it always
install. Is the above correct? Anyone want to add a
security/kth-krb4/builtin.mk?
(Looking at zephyr source directory, I see it provides some
kerberos-related downloads for this.)
But it didn't find the headers, so I added:
diff -b -u -r1.2 buildlink3.mk
--- security/kth-krb4/buildlink3.mk 3 Oct 2004 00:18:09 -0000 1.2
+++ security/kth-krb4/buildlink3.mk 4 Nov 2005 04:05:52 -0000
@@ -15,6 +15,8 @@
BUILDLINK_DEPENDS.kth-krb4+= kth-krb4>=1.1.1
BUILDLINK_RECOMMENDED.kth-krb4+=kth-krb4>=1.2.1nb5
BUILDLINK_PKGSRCDIR.kth-krb4?= ../../security/kth-krb4
+BUILDLINK_CPPFLAGS.kth-krb4+= -I${BUILDLINK_PREFIX.kth-krb4}/include/kerberosIV
+BUILDLINK_CPPFLAGS.kth-krb4+= -I${BUILDLINK_PREFIX.kth-krb4}/include/kerberosIV/ss
.endif # KTH_KRB4_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
(It uses kth-krb4's des.h with libdes's library, it looks like.)
Is it okay to commit this for security/kth-krb4/buildlink3.mk? (I don't
know if it will break others.)
Jeremy C. Reed
p.s. Another issue is that the Makefile.in for zephyr didn't set
mandir=@mandir@ although it supports that.