Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Apr 2014 21:39:55 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351421 - head/devel/py-gyp-devel
Message-ID:  <201404162139.s3GLdtfv051482@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Wed Apr 16 21:39:54 2014
New Revision: 351421
URL: http://svnweb.freebsd.org/changeset/ports/351421
QAT: https://qat.redports.org/buildarchive/r351421/

Log:
  - 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

Modified:
  head/devel/py-gyp-devel/Makefile

Modified: head/devel/py-gyp-devel/Makefile
==============================================================================
--- head/devel/py-gyp-devel/Makefile	Wed Apr 16 21:37:14 2014	(r351420)
+++ head/devel/py-gyp-devel/Makefile	Wed Apr 16 21:39:54 2014	(r351421)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404162139.s3GLdtfv051482>