Changeset View
Changeset View
Standalone View
Standalone View
head/devel/py-freebsd/Makefile
Show All 12 Lines | |||||
MAINTAINER= python@FreeBSD.org | MAINTAINER= python@FreeBSD.org | ||||
COMMENT= Python interface to FreeBSD-specific system libraries | COMMENT= Python interface to FreeBSD-specific system libraries | ||||
USES= python:2 | USES= python:2 | ||||
USE_PYTHON= distutils autoplist | USE_PYTHON= distutils autoplist | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${OSVERSION} >= 900030 | |||||
EXTRA_PATCHES+= ${FILESDIR}/freebsd9_patch-src-sysctl.c | |||||
.endif | |||||
.if ${OSVERSION} >= 1100002 | .if ${OSVERSION} >= 1100002 | ||||
EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \ | EXTRA_PATCHES+= ${FILESDIR}/freebsd11_patch-src__.const.def \ | ||||
${FILESDIR}/freebsd11_patch-src__netstat.c | ${FILESDIR}/freebsd11_patch-src__netstat.c | ||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |