diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-02-22 19:35:30 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-02-22 19:35:30 +0000 |
commit | e7a197ffc0c58ab8dc45cd69de5f2dcd20b67b40 (patch) | |
tree | d1f406f8528b716aebc938e0df596e8bda19de07 /net/py-twisted | |
parent | 78f00a09bd1bf81286ea6e7046e628d23e2fb7f4 (diff) | |
download | pkgsrc-e7a197ffc0c58ab8dc45cd69de5f2dcd20b67b40.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'net/py-twisted')
-rw-r--r-- | net/py-twisted/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/py-twisted/Makefile b/net/py-twisted/Makefile index 9ae8a14faf3..5fea9fb67a0 100644 --- a/net/py-twisted/Makefile +++ b/net/py-twisted/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2013/02/17 14:53:13 gdt Exp $ +# $NetBSD: Makefile,v 1.19 2013/02/22 19:35:30 jperkin Exp $ PKGNAME= ${PYPKGPREFIX}-twisted-${TWISTED_VERSION} COMMENT= Framework for writing networked applications @@ -15,6 +15,8 @@ REPLACE_PYTHON+= twisted/trial/test/scripttest.py REPLACE_PYTHON+= twisted/topfiles/setup.py REPLACE_PYTHON+= twisted/python/test/pullpipe.py +CFLAGS.SunOS+= -D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 -Du_int=uint32_t + # twisted will install files present in the source directory even # though they were not in the tarball. Therefore, we must clean the # .orig files from patches. This is done pre-install rather than |