pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56623 (wm/ctwm fails to build on Solaris 11.3)
The problem seems to be that config file paths are set to
CMAKE_INSTALL_FULL_SYSCONFDIR which defaults to /etc, hence the pkgsrc
Makefile cannot find those config files during post install.
I tried overriding it with:
CMAKE_ARGS+= CMAKE_INSTALL_FULL_SYSCONFDIR=${PKG_SYSCONFDIR}
but it doesn't get picked up. So either CMAKE_INSTALL_FULL_SYSCONFDIR
needs to be overridden somehow for pkgsrc, or package Makefile needs
fixes similar to this:
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/vncserver.pl ${DESTDIR}${PREFIX}/bin/vncserver
${MV} ${DESTDIR}/etc/${PREFIX}/pam.d/tigervnc ${DESTDIR}${PREFIX}/${EGDIR}
${MV} ${DESTDIR}/etc/${PREFIX}/tigervnc/vncserver-config-defaults ${DESTDIR}${PREFIX}/${EGDIR}
${MV} ${DESTDIR}/etc/${PREFIX}/tigervnc/vncserver-config-mandatory ${DESTDIR}${PREFIX}/${EGDIR}
${MV} ${DESTDIR}/etc/${PREFIX}/tigervnc/vncserver.users ${DESTDIR}${PREFIX}/${EGDIR}
# Comment out incorrect paths
#${MV} ${DESTDIR}${PREFIX}/etc/pam.d/tigervnc ${DESTDIR}${PREFIX}/${EGDIR}
#${MV} ${DESTDIR}${PREFIX}/etc/tigervnc/vncserver-config-defaults ${DESTDIR}${PREFIX}/${EGDIR}
#${MV} ${DESTDIR}${PREFIX}/etc/tigervnc/vncserver-config-mandatory ${DESTDIR}${PREFIX}/${EGDIR}
#${MV} ${DESTDIR}${PREFIX}/etc/tigervnc/vncserver.users ${DESTDIR}${PREFIX}/${EGDIR}
Home |
Main Index |
Thread Index |
Old Index