1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Don't generate Makefile for the OS target "linux" but for freebsd;

- Initialize default values for the compilers.

PR:		ports/187115
Submitted by:	/me
Approved by:	maintainer's time-out
This commit is contained in:
Thierry Thomas 2014-04-16 21:39:54 +00:00
parent ec5e312db3
commit 24dadfa176
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351421

View File

@ -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 <bsd.port.mk>
.include <bsd.port.pre.mk>
pre-configure:
${REINPLACE_CMD} -e 's/linux/${OPSYS:L}/;s|gcc|${CC}|;s|g++|${CXX}|' \
${WRKSRC}/pylib/gyp/generator/make.py
.include <bsd.port.post.mk>