summaryrefslogtreecommitdiff
path: root/security/py-crypto
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 19:39:48 +0000
committerhans <hans@pkgsrc.org>2012-02-16 19:39:48 +0000
commite4e34e6d1c9f7ce5c7803ef6eed4b81489e7f47a (patch)
treebff9103f43ad18a26bb599ad15b9814745265790 /security/py-crypto
parent23807c8ffc24e4d197c9f4e054edfe9a6f9763a8 (diff)
downloadpkgsrc-e4e34e6d1c9f7ce5c7803ef6eed4b81489e7f47a.tar.gz
Fix build on SunOS.
Diffstat (limited to 'security/py-crypto')
-rw-r--r--security/py-crypto/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/py-crypto/Makefile b/security/py-crypto/Makefile
index 0a37d3f2ed1..b5f97a0d983 100644
--- a/security/py-crypto/Makefile
+++ b/security/py-crypto/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2012/02/12 14:37:52 gls Exp $
+# $NetBSD: Makefile,v 1.26 2012/02/16 19:41:16 hans Exp $
#
DISTNAME= pycrypto-2.5
@@ -29,6 +29,8 @@ PLIST_VARS+= py2x
PLIST.py2x= yes
.endif
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
BUILDLINK_API_DEPENDS.gmp+= gmp>=5.0
.include "../../devel/gmp/buildlink3.mk"
.include "../../lang/python/distutils.mk"