summaryrefslogtreecommitdiff
path: root/mail/libesmtp/Makefile
diff options
context:
space:
mode:
authorgrant <grant>2004-12-18 16:02:28 +0000
committergrant <grant>2004-12-18 16:02:28 +0000
commit359c7aa1babf94ee7a514f819b848c89258391bc (patch)
tree8ce7f385efe84887826b5d04befbcc9d16e0d704 /mail/libesmtp/Makefile
parentb1fd5dc4c80be81f22fdc9d8e5ca146d4e513139 (diff)
downloadpkgsrc-359c7aa1babf94ee7a514f819b848c89258391bc.tar.gz
build fixes on irix 5:
- pass option to configure to emulate getaddrinfo() - include sys/types.h fixes PR pkg/28439 from Georg Schwarz.
Diffstat (limited to 'mail/libesmtp/Makefile')
-rw-r--r--mail/libesmtp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/libesmtp/Makefile b/mail/libesmtp/Makefile
index 0dfd385088d..d64a5b1fec3 100644
--- a/mail/libesmtp/Makefile
+++ b/mail/libesmtp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/12/11 00:13:54 jlam Exp $
+# $NetBSD: Makefile,v 1.19 2004/12/18 16:02:28 grant Exp $
DISTNAME= libesmtp-1.0.3r1
PKGNAME= ${DISTNAME:S/r1//}
@@ -22,6 +22,12 @@ USE_OLD_DES_API= yes
CONFIGURE_ARGS+= --enable-all
CONFIGURE_ARGS+= --disable-isoc
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(LOWER_OPSYS:Mirix5*)
+CONFIGURE_ARGS+= --enable-emulate-getaddrinfo
+.endif
+
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"