summaryrefslogtreecommitdiff
path: root/lang/python26
diff options
context:
space:
mode:
authorhans <hans>2011-05-15 10:06:11 +0000
committerhans <hans>2011-05-15 10:06:11 +0000
commitf76d05b540fe20fa2e8862ed9eaecf30650553bd (patch)
tree3a3b8613fa1895c13f9a1e9b7bf6999e19537f3d /lang/python26
parent282938c86ca4b3e03190b0476dab478b0dc74875 (diff)
downloadpkgsrc-f76d05b540fe20fa2e8862ed9eaecf30650553bd.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