diff options
author | grant <grant@pkgsrc.org> | 2004-12-18 18:51:39 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-12-18 18:51:39 +0000 |
commit | 7d3b1a90b35a890e0258fd83862420da33fafe86 (patch) | |
tree | 4b01425398f10eb9be81683c589052f4ba3f5983 /security | |
parent | ca1dbb484eef19b71fe17591ea045e42eab5e545 (diff) | |
download | pkgsrc-7d3b1a90b35a890e0258fd83862420da33fafe86.tar.gz |
ignore getopt_long() on Darwin because there is no prototype for it,
nor declaration for "struct option".
fixes build on Darwin.
Diffstat (limited to 'security')
-rw-r--r-- | security/libtasn1/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/security/libtasn1/Makefile b/security/libtasn1/Makefile index b0c35f92085..4ab854ddf93 100644 --- a/security/libtasn1/Makefile +++ b/security/libtasn1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2004/10/03 00:18:10 tv Exp $ +# $NetBSD: Makefile,v 1.13 2004/12/18 18:51:39 grant Exp $ DISTNAME= libtasn1-0.2.10 PKGREVISION= 1 @@ -18,4 +18,13 @@ USE_BUILDLINK3= YES USE_LIBTOOL= YES GNU_CONFIGURE= YES +.include "../../mk/bsd.prefs.mk" + +# Darwin has no prototype for getopt_long and no declaration for +# struct option, so ignore getopt_long() even though the test +# succeeds. +.if ${OPSYS} == "Darwin" +CONFIGURE_ENV+= ac_cv_func_getopt_long=no +.endif + .include "../../mk/bsd.pkg.mk" |