(x11/py-qwt-qt5) DESTDIR related trial-and-error still fails
This commit is contained in:
parent
b1775cf034
commit
31c9cdf1d8
|
@ -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 \
|
||||
)
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue