diff options
author | jperkin <jperkin> | 2013-02-22 19:35:30 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2013-02-22 19:35:30 +0000 |
commit | 4d8b419af8c27e04aff36f269f1162b1ab112e6b (patch) | |
tree | d1f406f8528b716aebc938e0df596e8bda19de07 | |
parent | b54573676640419914ad725d8ccce5c80b25fc25 (diff) | |
download | pkgsrc-4d8b419af8c27e04aff36f269f1162b1ab112e6b.tar.gz |
Fix build on SunOS.
-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 |