summaryrefslogtreecommitdiff
path: root/security/py-crypto
diff options
context:
space:
mode:
authorhans <hans>2012-02-16 19:39:48 +0000
committerhans <hans>2012-02-16 19:39:48 +0000
commit95b31a5f8a85f779ef88c74b58dc4d1d56fc3195 (patch)
treebff9103f43ad18a26bb599ad15b9814745265790 /security/py-crypto
parentd2b8979f33feb481a81dde639ce752286d4b03da (diff)
downloadpkgsrc-95b31a5f8a85f779ef88c74b58dc4d1d56fc3195.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"