From caeac9caee668d5746a43ce4bb2b11cc535d15f8 Mon Sep 17 00:00:00 2001 From: dholland Date: Wed, 29 Dec 2010 02:02:02 +0000 Subject: Hack around configure/build problem on Digital Unix by adding -D_SOCKADDR_LEN to CFLAGS.OSF1. DU has system headers that sometimes provide the 4.4BSD length field and sometimes not, depending on which _FOO_SOURCE things you define and other factors. The package's configure script isn't coping; it's not fully clear why but it looks like it's using different CFLAGS for configure tests and building, or something like that... PR 42474. --- chat/epic4/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chat') diff --git a/chat/epic4/Makefile b/chat/epic4/Makefile index 20e38da52d5..3e828616e3d 100644 --- a/chat/epic4/Makefile +++ b/chat/epic4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.32 2010/02/26 10:28:30 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2010/12/29 02:02:02 dholland Exp $ # DISTNAME= epic4-2.2 @@ -24,5 +24,7 @@ GNU_CONFIGURE= YES INSTALL_MAKE_FLAGS+= IP=${DESTDIR} +CFLAGS.OSF1+= -D_SOCKADDR_LEN + .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3