diff options
author | stefan <stefan@FreeBSD.org> | 2006-05-14 05:38:45 +0800 |
---|---|---|
committer | stefan <stefan@FreeBSD.org> | 2006-05-14 05:38:45 +0800 |
commit | 0ebac94ff6e2fdb71a341f7447646cf9ab9b7016 (patch) | |
tree | c942035d220bec5d10399ac0bf4b26740da3da9c /x11-toolkits/py-wxPython26 | |
parent | 2d5f0b52336099960fd68f1283b5195c7ab4c0a4 (diff) | |
download | freebsd-ports-gnome-0ebac94ff6e2fdb71a341f7447646cf9ab9b7016.tar.gz freebsd-ports-gnome-0ebac94ff6e2fdb71a341f7447646cf9ab9b7016.tar.zst freebsd-ports-gnome-0ebac94ff6e2fdb71a341f7447646cf9ab9b7016.zip |
Fix pkg-plist and unbreak.
PR: 97144
Submitted by: Neal Nelson <neal@nelson.name> (maintainer)
Approved by: arved (mentor)
Diffstat (limited to 'x11-toolkits/py-wxPython26')
-rw-r--r-- | x11-toolkits/py-wxPython26/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/py-wxPython26/pkg-plist | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/x11-toolkits/py-wxPython26/Makefile b/x11-toolkits/py-wxPython26/Makefile index 36d590e88f7f..67cdd98bb57b 100644 --- a/x11-toolkits/py-wxPython26/Makefile +++ b/x11-toolkits/py-wxPython26/Makefile @@ -19,8 +19,6 @@ COMMENT= Python bindings for the wxWidgets/GTK GUI toolkit RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl -BROKEN= Incomplete pkg-plist - WRKSRC= ${WRKDIR}/${DISTNAME}/wxPython USE_GMAKE= yes diff --git a/x11-toolkits/py-wxPython26/pkg-plist b/x11-toolkits/py-wxPython26/pkg-plist index 0e1deb424963..49566f8d23f6 100644 --- a/x11-toolkits/py-wxPython26/pkg-plist +++ b/x11-toolkits/py-wxPython26/pkg-plist @@ -824,3 +824,4 @@ @dirrm %%PYTHON_SITELIBDIR%%/%%WX_PYTHON_DIR%% @exec echo %%WX_PYTHON_DIR%% >> %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true @exec chmod 0444 %D/%%PYTHON_SITELIBDIR%%/wx.pth 2>/dev/null || true +@unexec sed -i -e /%%WX_PYTHON_DIR%%/d %D/%%PYTHON_SITELIBDIR%%/wx.pth; if [ ! -s %D/%%PYTHON_SITELIBDIR%%/wx.pth ]; then rm %D/%%PYTHON_SITELIBDIR%%/wx.pth; fi |