Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2014 22:20:53 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r366363 - head/devel/py-cffi
Message-ID:  <201408272220.s7RMKrtT020086@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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