diff options
author | hans <hans@pkgsrc.org> | 2011-05-15 10:06:11 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2011-05-15 10:06:11 +0000 |
commit | c83594fc320f272698c61160beb7e9178903b693 (patch) | |
tree | 3a3b8613fa1895c13f9a1e9b7bf6999e19537f3d /lang | |
parent | 0b121bd0042947a334b45054c0a6bd69c3632c94 (diff) | |
download | pkgsrc-c83594fc320f272698c61160beb7e9178903b693.tar.gz |
Recent SunOS has netpacket/packet.h, but it is not what Python expects.
Fixes build on SunOS.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python25/Makefile | 3 | ||||
-rw-r--r-- | lang/python26/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/python25/Makefile b/lang/python25/Makefile index df530529c2e..73b9a39ec3d 100644 --- a/lang/python25/Makefile +++ b/lang/python25/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2011/04/23 17:31:40 tron Exp $ +# $NetBSD: Makefile,v 1.34 2011/05/15 10:07:20 hans Exp $ .include "dist.mk" @@ -56,6 +56,7 @@ USE_TOOLS+= gmake PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} .elif ${OPSYS} == "SunOS" PY_PLATNAME= sunos${OS_VERSION:C/\..*//} +CONFIGURE_ENV+= ac_cv_header_netpacket_packet_h=no .elif ${OPSYS} == "HPUX" PY_PLATNAME= hp-ux11 .else diff --git a/lang/python26/Makefile b/lang/python26/Makefile index 5efcdf131f5..8d6c20e7d1f 100644 --- a/lang/python26/Makefile +++ b/lang/python26/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2011/04/23 10:39:01 tron Exp $ +# $NetBSD: Makefile,v 1.39 2011/05/15 10:06:11 hans Exp $ .include "dist.mk" @@ -60,6 +60,7 @@ USE_TOOLS+= gmake PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} .elif ${OPSYS} == "SunOS" PY_PLATNAME= sunos${OS_VERSION:C/\..*//} +CONFIGURE_ENV+= ac_cv_header_netpacket_packet_h=no .elif ${OPSYS} == "HPUX" PY_PLATNAME= hp-ux11 .else |