summaryrefslogtreecommitdiff
path: root/chat/epic4
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-12-29 02:02:02 +0000
committerdholland <dholland@pkgsrc.org>2010-12-29 02:02:02 +0000
commitd5c7f1477c305b4b95a55fd7218e12b3c65f5ab7 (patch)
tree43c4854c2dc008b314993b53b10b0107a313ca8f /chat/epic4
parent39b210af26a60a3663ec03120882704861ccb842 (diff)
downloadpkgsrc-d5c7f1477c305b4b95a55fd7218e12b3c65f5ab7.tar.gz
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.
Diffstat (limited to 'chat/epic4')
-rw-r--r--chat/epic4/Makefile4
1 files changed, 3 insertions, 1 deletions
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"