pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
(x11/py-qwt-qt5) DESTDIR related trial-and-error still fails
Module Name: pkgsrc-wip
Committed By: Makoto Fujiwara (CF-SX3) <makoto%ki.nu@localhost>
Pushed By: mef
Date: Sun Jun 14 00:43:39 2020 +0900
Changeset: 31c9cdf1d8abf9d4856099388bdbcd52489afa86
Modified Files:
py-qwt-qt5/Makefile
py-qwt-qt5/TODO
Log Message:
(x11/py-qwt-qt5) DESTDIR related trial-and-error still fails
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=31c9cdf1d8abf9d4856099388bdbcd52489afa86
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-qwt-qt5/Makefile | 12 ++++++++++--
py-qwt-qt5/TODO | 12 +++++++++++-
2 files changed, 21 insertions(+), 3 deletions(-)
diffs:
diff --git a/py-qwt-qt5/Makefile b/py-qwt-qt5/Makefile
index 5490cbb5f9..b15769fba9 100644
--- a/py-qwt-qt5/Makefile
+++ b/py-qwt-qt5/Makefile
@@ -18,9 +18,16 @@ BUILD_DEPENDS+= qt5-qtbase-[0-9]*:../../x11/qt5-qtbase
WRKSRC= ${WRKDIR}/PyQt-Qwt-pyqt-qwt-${VERSION}
MAKE_ENV+= PATH=${PATH}:${PREFIX}/qt5/bin
-MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
+#AKE_ENV+= INSTALL_ROOT=${DESTDIR}
USE_LANGUAGES= c++
+SUBST_CLASSES+= installed.txt
+SUBST_MESSAGE.installed.txt= Remove one extra \${DESTDIR} from list
+SUBST_FILES.installed.txt= installed.txt
+SUBST_STAGE.installed.txt= post-configure
+SUBST_SED.installed.txt= -e '/^\/usr/s,^,${DESTDIR},'
+#SUBST_SED.installed.txt= -e 's,^${DESTDIR},,'
+
do-configure:
(cd ${WRKSRC}; \
QT_SELECT=qt5 \
@@ -31,7 +38,8 @@ do-configure:
--qwt-lib=qwt \
--sip=${PREFIX}/bin/sip${PYVERSSUFFIX} \
--qmake=${PREFIX}/qt5/bin/qmake \
- --pyqt-sipdir=${PREFIX}/share/sip${PYVERSSUFFIX}/PyQt5 \
+ --pyqt-sipdir=${PREFIX}/share/sip${PYVERSSUFFIX}/PyQt5 \
+ --destdir=${DESTDIR}${PREFIX}/${PYSITELIB}/PyQt5 \
--verbose \
)
diff --git a/py-qwt-qt5/TODO b/py-qwt-qt5/TODO
index dd2cfd0174..c5ee91597e 100644
--- a/py-qwt-qt5/TODO
+++ b/py-qwt-qt5/TODO
@@ -1,5 +1,15 @@
+-- current problem --
+
+===> Installing for py37-qwt-qt5-1.02.00
+=> Generating pre-install file lists
+cd Qwt/ && ( test -e Makefile || /usr/pkg/qt5/bin/qmake -o Makefile /tmp/wip/py-qwt-qt5/work/PyQt-Qwt-pyqt-qwt-1.02.00/Qwt/Qwt.pro ) && /usr/bin/make -f Makefile install
+/usr/pkg/qt5/bin/qmake -install qinstall /tmp/wip/py-qwt-qt5/work/PyQt-Qwt-pyqt-qwt-1.02.00/Qwt/Qwt.so /tmp/wip/py-qwt-qt5/work/.destdir/usr/pkg/lib/python3.7/site-packages/PyQt5/Qwt.so
+mkdir: /usr/pkg/share/sip3.7/PyQt5/Qwt: Permission denied
+*** Error code 1
+
+
+-- Previous Problem --
-- current problem --
/usr/pkg/bin/python3.7 mk_distinfo.py /tmp/wip/py-qwt-qt5/work/.destdir/usr/pkg/lib/python3.7/site-packages/Qwt-6.1.2.dist-info installed.txt
Traceback (most recent call last):
Home |
Main Index |
Thread Index |
Old Index