summaryrefslogtreecommitdiff
path: root/math/cln
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-02-27 16:09:27 +0000
committerjperkin <jperkin@pkgsrc.org>2013-02-27 16:09:27 +0000
commitff328196d94d50d53a42f968fc6b825129922155 (patch)
treef6308858180f8c673efcba375c7bb1a9e75daeb6 /math/cln
parentbf81b6936fe047fe930119a038aedcf4ae0516bc (diff)
downloadpkgsrc-ff328196d94d50d53a42f968fc6b825129922155.tar.gz
Work around broken perror() configure test on SunOS.
Diffstat (limited to 'math/cln')
-rw-r--r--math/cln/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/math/cln/Makefile b/math/cln/Makefile
index a2858ede160..2e63fac4f4f 100644
--- a/math/cln/Makefile
+++ b/math/cln/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2012/09/11 23:04:17 asau Exp $
+# $NetBSD: Makefile,v 1.24 2013/02/27 16:09:27 jperkin Exp $
DISTNAME= cln-1.3.2
PKGREVISION= 1
@@ -20,5 +20,12 @@ PKGCONFIG_OVERRIDE= cln.pc.in
INFO_FILES= yes
TEST_TARGET= check
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+# Work around broken configure test
+CONFIGURE_ENV+= cl_cv_proto_perror=yes
+.endif
+
.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"