devel/p4d patch

jhell jhell at
Sun Aug 29 12:17:25 UTC 2010

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/

-       @${CAT} pkg-message
+       @${CAT} ${PORTSDIR}/devel/${PORTNAME}/pkg-message
        ${MKDIR} ${DESTDIR}${P4ROOT}
        ${CHOWN} p4admin:p4admin ${DESTDIR}${P4ROOT}
        ${CHMOD} 750 ${DESTDIR}${P4ROOT}




More information about the freebsd-ports mailing list