View | Details | Raw Unified | Return to bug 194488
Collapse All | Expand All

(-)Makefile (-3 / +6 lines)
Lines 14-22 Link Here
14
MAINTAINER=	python@FreeBSD.org
14
MAINTAINER=	python@FreeBSD.org
15
COMMENT=	Python interface to FreeBSD-specific system libraries
15
COMMENT=	Python interface to FreeBSD-specific system libraries
16
16
17
USE_PYTHON=	2
17
USES=		python:2
18
USE_PYDISTUTILS=	yes
18
USE_PYTHON=	distutils autoplist
19
PYDISTUTILS_AUTOPLIST=	yes
20
19
21
.include <bsd.port.pre.mk>
20
.include <bsd.port.pre.mk>
22
21
Lines 28-32 Link Here
28
.if ${OSVERSION} >= 900030
27
.if ${OSVERSION} >= 900030
29
EXTRA_PATCHES+=	${FILESDIR}/freebsd9_patch-src-sysctl.c
28
EXTRA_PATCHES+=	${FILESDIR}/freebsd9_patch-src-sysctl.c
30
.endif
29
.endif
30
.if ${OSVERSION} >= 1100002
31
EXTRA_PATCHES+=	${FILESDIR}/freebsd11_patch-src__.const.def \
32
		${FILESDIR}/freebsd11_patch-src__netstat.c
33
.endif
31
34
32
.include <bsd.port.post.mk>
35
.include <bsd.port.post.mk>
(-)files/freebsd11_patch-src__.const.def (+10 lines)
Line 0 Link Here
1
--- src/.const.def.orig	2005-12-09 06:40:56.000000000 +0300
2
+++ src/.const.def	2014-10-18 00:25:38.000000000 +0400
3
@@ -69,7 +69,6 @@
4
 SETDICT_INT(d, "IFF_DEBUG", IFF_DEBUG);
5
 SETDICT_INT(d, "IFF_LOOPBACK", IFF_LOOPBACK);
6
 SETDICT_INT(d, "IFF_POINTOPOINT", IFF_POINTOPOINT);
7
-SETDICT_INT(d, "IFF_SMART", IFF_SMART);
8
 SETDICT_INT(d, "IFF_RUNNING", IFF_RUNNING);
9
 SETDICT_INT(d, "IFF_NOARP", IFF_NOARP);
10
 SETDICT_INT(d, "IFF_PROMISC", IFF_PROMISC);
(-)files/freebsd11_patch-src__netstat.c (+10 lines)
Line 0 Link Here
1
--- src/netstat.c.orig	2005-05-08 10:55:00.000000000 +0400
2
+++ src/netstat.c	2014-10-18 00:25:23.000000000 +0400
3
@@ -40,7 +40,6 @@
4
 EXPCONST(int IFF_DEBUG)
5
 EXPCONST(int IFF_LOOPBACK)
6
 EXPCONST(int IFF_POINTOPOINT)
7
-EXPCONST(int IFF_SMART)
8
 EXPCONST(int IFF_RUNNING)
9
 EXPCONST(int IFF_NOARP)
10
 EXPCONST(int IFF_PROMISC)

Return to bug 194488