diff options
author | grant <grant> | 2004-12-18 18:51:39 +0000 |
---|---|---|
committer | grant <grant> | 2004-12-18 18:51:39 +0000 |
commit | 032082b9473686e5d3ea2b8cf3cb5e43634a5d20 (patch) | |
tree | 4b01425398f10eb9be81683c589052f4ba3f5983 /security/libtasn1 | |
parent | 18bad519eeff3d9244f583a339095a9e52448ffe (diff) | |
download | pkgsrc-032082b9473686e5d3ea2b8cf3cb5e43634a5d20.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/libtasn1')
-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" |