diff --git a/devel/py-gyp-devel/Makefile b/devel/py-gyp-devel/Makefile index e7288eac474c..12655208594f 100644 --- a/devel/py-gyp-devel/Makefile +++ b/devel/py-gyp-devel/Makefile @@ -3,7 +3,7 @@ PORTNAME= gyp PORTVERSION= r832 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel python MASTER_SITES= http://people.freebsd.org/~daichi/distfiles/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -15,4 +15,10 @@ USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes -.include +.include + +pre-configure: + ${REINPLACE_CMD} -e 's/linux/${OPSYS:L}/;s|gcc|${CC}|;s|g++|${CXX}|' \ + ${WRKSRC}/pylib/gyp/generator/make.py + +.include