sysutils/py-appnope: Fix build on Darwin
This package requires py-expat to build, because setup.py uses platform, which in turn uses pyexpat in parsing SystemVersion.plist on Darwin.
This commit is contained in:
parent
3d775d2c8b
commit
e271d2febc
1 changed files with 5 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.1 2019/10/21 19:15:52 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2019/10/28 15:34:22 minskim Exp $
|
||||
|
||||
DISTNAME= appnope-0.1.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
|
@ -12,6 +12,10 @@ LICENSE= modified-bsd
|
|||
|
||||
ONLY_FOR_PLATFORM= Darwin-*-*
|
||||
|
||||
# setup.py uses platform, which in turn uses pyexpat in parsing
|
||||
# SystemVersion.plist on Darwin.
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/python/distutils.mk"
|
||||
|
|
Loading…
Reference in a new issue