pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang Recent SunOS has netpacket/packet.h, but it is no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/217272a8428b
branches:  trunk
changeset: 588648:217272a8428b
user:      hans <hans%pkgsrc.org@localhost>
date:      Sun May 15 10:06:11 2011 +0000

description:
Recent SunOS has netpacket/packet.h, but it is not what Python expects.
Fixes build on SunOS.

diffstat:

 lang/python25/Makefile |  3 ++-
 lang/python26/Makefile |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 1c7091e38390 -r 217272a8428b lang/python25/Makefile
--- a/lang/python25/Makefile    Sun May 15 09:59:18 2011 +0000
+++ b/lang/python25/Makefile    Sun May 15 10:06:11 2011 +0000
@@ -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 @@
 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 -r 1c7091e38390 -r 217272a8428b lang/python26/Makefile
--- a/lang/python26/Makefile    Sun May 15 09:59:18 2011 +0000
+++ b/lang/python26/Makefile    Sun May 15 10:06:11 2011 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index