Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 15:04:05 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367946 - head/devel/py-gobject3
Message-ID:  <201409111504.s8BF45Pb081836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Thu Sep 11 15:04:04 2014
New Revision: 367946
URL: http://svnweb.freebsd.org/changeset/ports/367946
QAT: https://qat.redports.org/buildarchive/r367946/

Log:
  This port does not use ${ARCH} to rename the egg info file that it creates.
  
  This causes the pkg-plist to break on architechtures where MACHINE and
  MACHINE_ARCH to differ.  Assume that the upstream folks know what they
  are doing and create a UNAME_M variable to handle this in the pkg-plist.
  
  PR:		188856
  Reviewed by:	koobs
  Approved by:	bdrewery (mentor)

Modified:
  head/devel/py-gobject3/Makefile
  head/devel/py-gobject3/pkg-plist

Modified: head/devel/py-gobject3/Makefile
==============================================================================
--- head/devel/py-gobject3/Makefile	Thu Sep 11 15:02:32 2014	(r367945)
+++ head/devel/py-gobject3/Makefile	Thu Sep 11 15:04:04 2014	(r367946)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 #   $MCom: ports/trunk/devel/py-gobject3/Makefile 19571 2014-04-25 18:12:46Z kwm $
 
-PORTREVISION=	1
+PORTREVISION=	2
 
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 PKGNAMESUFFIX=	3
@@ -15,3 +15,6 @@ MASTERDIR=	${.CURDIR}/../../devel/pygobj
 PLIST=		${.CURDIR}/pkg-plist
 
 .include "${MASTERDIR}/Makefile"
+
+PLIST_SUB+=	UNAME_M=${UNAME_M}
+UNAME_M!=       ${UNAME} -m

Modified: head/devel/py-gobject3/pkg-plist
==============================================================================
--- head/devel/py-gobject3/pkg-plist	Thu Sep 11 15:02:32 2014	(r367945)
+++ head/devel/py-gobject3/pkg-plist	Thu Sep 11 15:04:04 2014	(r367946)
@@ -68,7 +68,7 @@ lib/libpyglib-gi-2.0-%%PYTHON_VERSION%%.
 %%PYTHON_SITELIBDIR%%/gi/types.py
 %%PYTHON_SITELIBDIR%%/gi/types.pyc
 %%PYTHON_SITELIBDIR%%/gi/types.pyo
-%%PYTHON_SITELIBDIR%%/pygobject-%%VERSION%%-py%%PYTHON_VER%%-%%OPSYS%%-%%UNAME_R%%-%%ARCH%%.egg-info
+%%PYTHON_SITELIBDIR%%/pygobject-%%VERSION%%-py%%PYTHON_VER%%-%%OPSYS%%-%%UNAME_R%%-%%UNAME_M%%.egg-info
 %%PYTHON_SITELIBDIR%%/pygtkcompat/__init__.py
 %%PYTHON_SITELIBDIR%%/pygtkcompat/__init__.pyc
 %%PYTHON_SITELIBDIR%%/pygtkcompat/__init__.pyo



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