svn commit: r366363 - head/devel/py-cffi

William Grzybowski wg at FreeBSD.org
Wed Aug 27 22:20:54 UTC 2014


Author: wg
Date: Wed Aug 27 22:20:53 2014
New Revision: 366363
URL: http://svnweb.freebsd.org/changeset/ports/366363
QAT: https://qat.redports.org/buildarchive/r366363/

Log:
  devel/py-cffi: add run path to the built library
  
  - USES python

Modified:
  head/devel/py-cffi/Makefile

Modified: head/devel/py-cffi/Makefile
==============================================================================
--- head/devel/py-cffi/Makefile	Wed Aug 27 21:55:29 2014	(r366362)
+++ head/devel/py-cffi/Makefile	Wed Aug 27 22:20:53 2014	(r366363)
@@ -3,6 +3,7 @@
 
 PORTNAME=	cffi
 PORTVERSION=	0.8.6
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,11 +17,10 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:${PORTSDIR}/devel/py-pycparser
 
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include -Wl,-rpath,${LOCALBASE}
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list