summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-05-15 10:06:11 +0000
committerhans <hans@pkgsrc.org>2011-05-15 10:06:11 +0000
commitc83594fc320f272698c61160beb7e9178903b693 (patch)
tree3a3b8613fa1895c13f9a1e9b7bf6999e19537f3d /lang/python26
parent0b121bd0042947a334b45054c0a6bd69c3632c94 (diff)
downloadpkgsrc-c83594fc320f272698c61160beb7e9178903b693.tar.gz
Recent SunOS has netpacket/packet.h, but it is not what Python expects.
Fixes build on SunOS.
Diffstat (limited to 'lang/python26')
-rw-r--r--lang/python26/Makefile3
1 files changed, 2 insertions, 1 deletions
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