summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-06-05 11:10:57 +0000
committeragc <agc@pkgsrc.org>2001-06-05 11:10:57 +0000
commit63df531746c648d708a094df2596fa78dbe65d98 (patch)
treea1525c79e32af7a85c92391653f6637c2ddbf96b /security
parent91b399704c37726252f474000c8c7eae00faa827 (diff)
downloadpkgsrc-63df531746c648d708a094df2596fa78dbe65d98.tar.gz
Install a workaround for socklen_t definition woes on 1.5
Diffstat (limited to 'security')
-rw-r--r--security/cfs/Makefile6
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/