diff options
-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" |