Index: Makefile =================================================================== --- Makefile (revision 371272) +++ Makefile (working copy) @@ -14,9 +14,8 @@ MAINTAINER= python@FreeBSD.org COMMENT= Python interface to FreeBSD-specific system libraries -USE_PYTHON= 2 -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python:2 +USE_PYTHON= distutils autoplist .include @@ -28,5 +27,9 @@ .if ${OSVERSION} >= 900030 EXTRA_PATCHES+= ${FILESDIR}/freebsd9_patch-src-sysctl.c .endif +.if ${OSVERSION} >= 1100002 +EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \ + ${FILESDIR}/freebsd11_patch-src__netstat.c +.endif .include Index: files/freebsd11_patch-src__.const.def =================================================================== --- files/freebsd11_patch-src__.const.def (revision 0) +++ files/freebsd11_patch-src__.const.def (working copy) @@ -0,0 +1,10 @@ +--- src/.const.def.orig 2005-12-09 06:40:56.000000000 +0300 ++++ src/.const.def 2014-10-18 00:25:38.000000000 +0400 +@@ -69,7 +69,6 @@ + SETDICT_INT(d, "IFF_DEBUG", IFF_DEBUG); + SETDICT_INT(d, "IFF_LOOPBACK", IFF_LOOPBACK); + SETDICT_INT(d, "IFF_POINTOPOINT", IFF_POINTOPOINT); +-SETDICT_INT(d, "IFF_SMART", IFF_SMART); + SETDICT_INT(d, "IFF_RUNNING", IFF_RUNNING); + SETDICT_INT(d, "IFF_NOARP", IFF_NOARP); + SETDICT_INT(d, "IFF_PROMISC", IFF_PROMISC); Property changes on: files/freebsd11_patch-src__.const.def ___________________________________________________________________ Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: files/freebsd11_patch-src__netstat.c =================================================================== --- files/freebsd11_patch-src__netstat.c (revision 0) +++ files/freebsd11_patch-src__netstat.c (working copy) @@ -0,0 +1,10 @@ +--- src/netstat.c.orig 2005-05-08 10:55:00.000000000 +0400 ++++ src/netstat.c 2014-10-18 00:25:23.000000000 +0400 +@@ -40,7 +40,6 @@ + EXPCONST(int IFF_DEBUG) + EXPCONST(int IFF_LOOPBACK) + EXPCONST(int IFF_POINTOPOINT) +-EXPCONST(int IFF_SMART) + EXPCONST(int IFF_RUNNING) + EXPCONST(int IFF_NOARP) + EXPCONST(int IFF_PROMISC) Property changes on: files/freebsd11_patch-src__netstat.c ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property --- py-freebsd-0.9.3.patch ends here ---