Date: Tue, 08 Nov 2011 16:38:40 +1100 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/162368: [patch] net/py-miniupnpc: unbreak Message-ID: <1RNeRd-000Or6-0T@internal.tormail.net> Resent-Message-ID: <201111080610.pA86A8CC038497@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162368 >Category: ports >Synopsis: [patch] net/py-miniupnpc: unbreak >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 08 06:10:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Force python module version to be in sync with distfile. >How-To-Repeat: >Fix: --- version.diff begins here --- Index: net/py-miniupnpc/Makefile =================================================================== RCS file: /a/.csup/ports/net/py-miniupnpc/Makefile,v retrieving revision 1.3 diff -u -p -r1.3 Makefile --- net/py-miniupnpc/Makefile 7 Nov 2011 21:55:56 -0000 1.3 +++ net/py-miniupnpc/Makefile 8 Nov 2011 05:29:22 -0000 @@ -16,11 +16,14 @@ MASTERDIR= ${.CURDIR}/../miniupnpc USE_PYTHON= yes USE_PYDISTUTILS=yes -BROKEN= does not package WRKDIR= ${WRKDIRPREFIX}${MASTERDIR}/work PLIST= ${.CURDIR}/pkg-plist +post-patch: + @${REINPLACE_CMD} 's/\(version\)="[^"]*"/\1="${PORTVERSION}"/' \ + ${WRKSRC}/setup.py + .if exists(${.CURDIR}/Makefile.local) .include "${.CURDIR}/Makefile.local" .endif --- version.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RNeRd-000Or6-0T>