pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/libtasn1 ignore getopt_long() on Darwin becau...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4b9bcda13238
branches: trunk
changeset: 485688:4b9bcda13238
user: grant <grant%pkgsrc.org@localhost>
date: Sat Dec 18 18:51:39 2004 +0000
description:
ignore getopt_long() on Darwin because there is no prototype for it,
nor declaration for "struct option".
fixes build on Darwin.
diffstat:
security/libtasn1/Makefile | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r be72180f0a04 -r 4b9bcda13238 security/libtasn1/Makefile
--- a/security/libtasn1/Makefile Sat Dec 18 18:13:53 2004 +0000
+++ b/security/libtasn1/Makefile Sat Dec 18 18:51:39 2004 +0000
@@ -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_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"
Home |
Main Index |
Thread Index |
Old Index