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 following reply was made to PR pkg/56623; it has been noted by GNATS.
From: Sad Clouds <cryintothebluesky%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: hauke%NetBSD.org@localhost, solaris-pkg-people%netbsd.org@localhost, pkg-manager%netbsd.org@localhost,
pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: pkg/56623 (wm/ctwm fails to build on Solaris 11.3)
Date: Sat, 22 Jan 2022 12:10:20 +0000
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