diff options
author | agc <agc@pkgsrc.org> | 2001-06-05 11:10:57 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-06-05 11:10:57 +0000 |
commit | 63df531746c648d708a094df2596fa78dbe65d98 (patch) | |
tree | a1525c79e32af7a85c92391653f6637c2ddbf96b | |
parent | 91b399704c37726252f474000c8c7eae00faa827 (diff) | |
download | pkgsrc-63df531746c648d708a094df2596fa78dbe65d98.tar.gz |
Install a workaround for socklen_t definition woes on 1.5
-rw-r--r-- | security/cfs/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/cfs/Makefile b/security/cfs/Makefile index 4154a54b039..447d5ac7548 100644 --- a/security/cfs/Makefile +++ b/security/cfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2001/06/05 10:29:38 agc Exp $ +# $NetBSD: Makefile,v 1.2 2001/06/05 11:10:57 agc Exp $ DISTNAME= cfs-1.4.1 CATEGORIES= security @@ -13,7 +13,9 @@ CRYPTO= yes INSTALL_TARGET= install_cfs do-build: - cd ${WRKSRC} && ./netbsd_make_with_bad_rpcgen cfs + @cd ${WRKSRC} && \ + fix=`${AWK} '/^#define[ \t]*socklen_t/ { if ($$3 == "socklen_t") { print "CPPFLAGS=$${CPPFLAGS} -Dsocklen_t=u_int"; exit} }' < /usr/include/netdb.h`; \ + ${SETENV} ${MAKE_ENV} $$fix ./netbsd_make_with_bad_rpcgen cfs post-install: ${BSD_INSTALL_MAN} ${WRKSRC}/cattach.1 ${PREFIX}/man/man1/ |