svn commit: r314697 - head/devel/py-gobject

Jeremy Messenger mezz at FreeBSD.org
Tue Mar 19 21:52:39 UTC 2013


Author: mezz
Date: Tue Mar 19 21:52:38 2013
New Revision: 314697
URL: http://svnweb.freebsd.org/changeset/ports/314697

Log:
  - Remove the optional of libffi and make it hardcore dependency. It makes
    no difference since the glib20 requires libffi anyway.
  - gnomehack -> USES=pathfix.

Modified:
  head/devel/py-gobject/Makefile

Modified: head/devel/py-gobject/Makefile
==============================================================================
--- head/devel/py-gobject/Makefile	Tue Mar 19 21:34:36 2013	(r314696)
+++ head/devel/py-gobject/Makefile	Tue Mar 19 21:52:38 2013	(r314697)
@@ -20,33 +20,23 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
 RUN_DEPENDS=	g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
 		${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
 
+USES=		pathfix
 USE_XZ=		yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack glib20
+USE_GNOME=	glib20
 USE_PYTHON=	2.5+
 USE_PKGCONFIG=	build
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-CONFIGURE_ARGS=	--disable-docs --disable-introspection
+CONFIGURE_ARGS=	--disable-docs --disable-introspection --with-ffi
 
 CONFLICTS=	py*-gtk-0*
 PLIST_SUB=	PYTHON_VER="${PYTHON_VER}"
 
-OPTIONS_DEFINE=	LIBFFI
-LIBFFI_DESC=	Enable libffi support
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MLIBFFI}
-LIB_DEPENDS+=	ffi:${PORTSDIR}/devel/libffi
-CONFIGURE_ARGS+=--with-ffi
-.else
-CONFIGURE_ARGS+=--without-ffi
-.endif
-
 post-install:
 	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
 		${PREFIX}/share/pygobject/2.0/codegen


More information about the svn-ports-head mailing list