Date: Sun, 29 Aug 2010 08:17:20 -0400 From: jhell <jhell@DataIX.net> To: gordon@freebsd.org Cc: FreeBSD Ports <ports@freebsd.org> Subject: devel/p4d patch Message-ID: <4C7A4FD0.1050304@DataIX.net>
next in thread | raw e-mail | index | archive | help
Hi Gordon, I just upgraded devel/p4d port and you might find this patch interesting. This port would previously bail out trying to display the pkg-message file that it can't find without a path. On a second note. Where it displays this message ``post-install'' does not seem like the right place to display this message as it is not really noticeable during that stage. But to solve this file not being found I patched it up with the following. --- Makefile.orig 2010-08-29 08:08:25.801295898 -0400 +++ Makefile 2010-08-29 08:10:49.149776482 -0400 @@ -49,7 +49,7 @@ ${INSTALL_PROGRAM} ${_DISTDIR}/p4d ${PREFIX}/sbin/ post-install: - @${CAT} pkg-message + @${CAT} ${PORTSDIR}/devel/${PORTNAME}/pkg-message ${MKDIR} ${DESTDIR}${P4ROOT} ${CHOWN} p4admin:p4admin ${DESTDIR}${P4ROOT} ${CHMOD} 750 ${DESTDIR}${P4ROOT} Regards, -- jhell,v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C7A4FD0.1050304>